# UI_Window_Setting_FrameDetailWindow_585.luac
; fn @FrameDetailWindow.lua  line 0-0 np=0 va=1 ms=3 code=29 consts=12 upvals=1 protos=4
;   K[0]='FrameDetailWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='Dark'
;   K[5]='BaseWindow'
;   K[6]='__index'
;   K[7]='BeforeOpenCheck'
;   K[8]='Init'
;   K[9]='Close'
;   K[10]='FrameTitleView'
;   K[11]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EWindowMaskAlpha')]
0003  GETTABLE  R2 = R2[K4('Dark')]
0004  SETTABLE  R1[K2('windowMaskAlpha')] = R2
0005  GETTABUP  R2 = _ENV[K5('BaseWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('FrameDetailWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('FrameDetailWindow')]
0009  GETTABUP  R1 = _ENV[K0('FrameDetailWindow')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  GETTABUP  R0 = _ENV[K0('FrameDetailWindow')]
0012  CLOSURE   R1 = closure proto0
0013  SETTABLE  R0[K7('BeforeOpenCheck')] = R1
0014  GETTABUP  R0 = _ENV[K0('FrameDetailWindow')]
0015  CLOSURE   R1 = closure proto1
0016  SETTABLE  R0[K8('Init')] = R1
0017  GETTABUP  R0 = _ENV[K0('FrameDetailWindow')]
0018  CLOSURE   R1 = closure proto2
0019  SETTABLE  R0[K9('Close')] = R1
0020  NEWTABLE  R0 = {} (0 items)
0021  SETTABUP  _ENV[K10('FrameTitleView')] = R0
0022  GETTABUP  R0 = _ENV[K10('FrameTitleView')]
0023  GETTABUP  R1 = _ENV[K10('FrameTitleView')]
0024  SETTABLE  R0[K6('__index')] = R1
0025  GETTABUP  R0 = _ENV[K10('FrameTitleView')]
0026  CLOSURE   R1 = closure proto3
0027  SETTABLE  R0[K11('Init')] = R1
0028  RETURN    return R0..R-1
; ---------- proto0 [BeforeOpenCheck] ----------
  ; fn ?  line 13-18 np=2 va=0 ms=4 code=11 consts=2 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   upvals: _ENV
  ;   locals: self(0-11), frameId(0-11)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('IsNilOrEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  LOADBOOL  R2 = false
  0007  RETURN    return R2..R1
  0008  LOADBOOL  R2 = true
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 23-41 np=4 va=0 ms=12 code=44 consts=26 upvals=1 protos=1
  ;   K[0]='m_frameId'
  ;   K[1]='m_bFromWearWindow'
  ;   K[2]='m_frameTitle'
  ;   K[3]='Init'
  ;   K[4]='reward'
  ;   K[5]=nil
  ;   K[6]='act'
  ;   K[7]='profile'
  ;   K[8]='LogWindowAction'
  ;   K[9]='EBIType'
  ;   K[10]='UIActionType'
  ;   K[11]='Open'
  ;   K[12]='EBIReferType'
  ;   K[13]='UserClick'
  ;   K[14]='GM'
  ;   K[15]='DataResource'
  ;   K[16]='UIPrefabConfig'
  ;   K[17]='GetConfig'
  ;   K[18]='string'
  ;   K[19]='format'
  ;   K[20]='%s_transform'
  ;   K[21]='UIPrefabConfigName'
  ;   K[22]='ResourceLoader'
  ;   K[23]='LoadPrefab'
  ;   K[24]='m_transformAnimationViewRoot'
  ;   K[25]='V3Zero'
  ;   upvals: _ENV
  ;   locals: self(0-44), frameId(0-44), bFromWearWindow(0-44), model(0-44), ext(7-44), res(35-44)
  0000  SETTABLE  R0[K0('m_frameId')] = R1
  0001  SETTABLE  R0[K1('m_bFromWearWindow')] = R2
  0002  GETTABLE  R4 = R0[K2('m_frameTitle')]
  0003  SELF      R5 = R4[K3('Init')] (self)
  0004  MOVE      R6 = R0
  0005  CALL      R4 = call(R4, 0 args, 2 rets)
  0006  LOADK     R4 = K4 'reward'
  0007  EQ        if R1 eq K5(nil)   -> -129266
  0008  JMP       (jump)   -> 11
  0009  LOADK     R4 = K6 'act'
  0010  JMP       (jump)   -> 14
  0011  TEST      if not R2 then   -> -131059
  0012  JMP       (jump)   -> 14
  0013  LOADK     R4 = K7 'profile'
  0014  SELF      R6 = R0[K8('LogWindowAction')] (self)
  0015  GETTABUP  R7 = _ENV[K9('EBIType')]
  0016  GETTABLE  R7 = R7[K10('UIActionType')]
  0017  GETTABLE  R7 = R7[K11('Open')]
  0018  NEWTABLE  R8 = {} (1 items)
  0019  GETTABUP  R9 = _ENV[K12('EBIReferType')]
  0020  GETTABLE  R9 = R9[K13('UserClick')]
  0021  SETLIST   setlist R8[B=1,C=1]
  0022  MOVE      R9 = R0
  0023  CALL      R5 = call(R5, 0 args, 4 rets)
  0024  GETTABUP  R5 = _ENV[K14('GM')]
  0025  GETTABLE  R5 = R5[K15('DataResource')]
  0026  GETTABLE  R5 = R5[K16('UIPrefabConfig')]
  0027  SELF      R6 = R5[K17('GetConfig')] (self)
  0028  GETTABUP  R7 = _ENV[K18('string')]
  0029  GETTABLE  R7 = R7[K19('format')]
  0030  LOADK     R8 = K20 '%s_transform'
  0031  GETTABUP  R9 = _ENV[K21('UIPrefabConfigName')]
  0032  GETTABLE  R9 = R9[R1]
  0033  CALL      R7 = call(R7, -1 args, 2 rets)
  0034  CALL      R5 = call(R5, 1 args, -1 rets)
  0035  GETTABUP  R6 = _ENV[K14('GM')]
  0036  GETTABLE  R6 = R6[K22('ResourceLoader')]
  0037  SELF      R7 = R6[K23('LoadPrefab')] (self)
  0038  MOVE      R8 = R0
  0039  GETTABLE  R9 = R0[K24('m_transformAnimationViewRoot')]
  0040  GETTABUP  R10 = _ENV[K25('V3Zero')]
  0041  CLOSURE   R11 = closure proto0
  0042  CALL      R6 = call(R6, 0 args, 5 rets)
  0043  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 38-40 np=1 va=0 ms=4 code=6 consts=2 upvals=1 protos=0
    ;   K[0]='GetLuaTable'
    ;   K[1]='Init'
    ;   upvals: frameId
    ;   locals: go(0-6)
    0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  SELF      R2 = R1[K1('Init')] (self)
    0003  GETUPVAL  R3 = frameId
    0004  CALL      R1 = call(R1, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
; ---------- proto2 [Close] ----------
  ; fn ?  line 43-50 np=1 va=0 ms=5 code=13 consts=5 upvals=1 protos=1
  ;   K[0]='BaseWindow'
  ;   K[1]='Close'
  ;   K[2]='m_bFromWearWindow'
  ;   K[3]='DelayExecuteFuncInView'
  ;   K[4]=0.2
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('BaseWindow')]
  0001  GETTABLE  R1 = R1[K1('Close')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_bFromWearWindow')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 12
  0007  GETTABUP  R1 = _ENV[K3('DelayExecuteFuncInView')]
  0008  CLOSURE   R2 = closure proto0
  0009  LOADK     R3 = K4 0.2
  0010  MOVE      R4 = R0
  0011  CALL      R1 = call(R1, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 46-48 np=0 va=0 ms=4 code=8 consts=6 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='OpenView'
    ;   K[3]='UIPrefabConfigName'
    ;   K[4]='FrameWearWindow'
    ;   K[5]='m_frameId'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('OpenView')] (self)
    0003  GETTABUP  R2 = _ENV[K3('UIPrefabConfigName')]
    0004  GETTABLE  R2 = R2[K4('FrameWearWindow')]
    0005  GETTABUP  R3 = self[K5('m_frameId')]
    0006  CALL      R0 = call(R0, 0 args, 3 rets)
    0007  RETURN    return R0..R-1
; ---------- proto3 [Init] ----------
  ; fn ?  line 56-66 np=2 va=0 ms=9 code=50 consts=18 upvals=1 protos=0
  ;   K[0]='m_titleText'
  ;   K[1]='text'
  ;   K[2]='GM'
  ;   K[3]='GameTextModel'
  ;   K[4]='GetText'
  ;   K[5]='_name'
  ;   K[6]='m_descText'
  ;   K[7]='gameObject'
  ;   K[8]='SetActive'
  ;   K[9]='FrameDecoActivityModel'
  ;   K[10]='GetActiveModel'
  ;   K[11]='UserProfileModel'
  ;   K[12]='IsPropertyAcquired'
  ;   K[13]='EProfilePropertyType'
  ;   K[14]='Frame'
  ;   K[15]='GetType'
  ;   K[16]='_title'
  ;   K[17]='frame_how_to_get'
  ;   upvals: _ENV
  ;   locals: self(0-50), frameId(0-50), ongoingFrameModel(17-50), frameTitle(36-49)
  0000  GETTABLE  R2 = R0[K0('m_titleText')]
  0001  GETTABUP  R3 = _ENV[K2('GM')]
  0002  GETTABLE  R3 = R3[K3('GameTextModel')]
  0003  SELF      R4 = R3[K4('GetText')] (self)
  0004  MOVE      R5 = R0
  0005  LOADK     R6 = K5 '_name'
  0006  CONCAT    R5 = concat(R5..R5)
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  SETTABLE  R2[K1('text')] = R3
  0009  GETTABLE  R2 = R0[K6('m_descText')]
  0010  GETTABLE  R2 = R2[K7('gameObject')]
  0011  SELF      R3 = R2[K8('SetActive')] (self)
  0012  LOADBOOL  R4 = false
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  GETTABUP  R2 = _ENV[K9('FrameDecoActivityModel')]
  0015  GETTABLE  R2 = R2[K10('GetActiveModel')]
  0016  CALL      R2 = call(R2, 1 args, 0 rets)
  0017  GETTABUP  R3 = _ENV[K2('GM')]
  0018  GETTABLE  R3 = R3[K11('UserProfileModel')]
  0019  SELF      R4 = R3[K12('IsPropertyAcquired')] (self)
  0020  GETTABUP  R5 = _ENV[K13('EProfilePropertyType')]
  0021  GETTABLE  R5 = R5[K14('Frame')]
  0022  MOVE      R6 = R0
  0023  CALL      R3 = call(R3, 1 args, 3 rets)
  0024  TEST      if not R3 then   -> -131045
  0025  JMP       (jump)   -> 49
  0026  TEST      if not R2 then   -> -131044
  0027  JMP       (jump)   -> 49
  0028  GETTABUP  R3 = _ENV[K2('GM')]
  0029  GETTABLE  R3 = R3[K3('GameTextModel')]
  0030  SELF      R4 = R3[K4('GetText')] (self)
  0031  SELF      R6 = R2[K15('GetType')] (self)
  0032  CALL      R5 = call(R5, 1 args, 1 rets)
  0033  LOADK     R6 = K16 '_title'
  0034  CONCAT    R5 = concat(R5..R5)
  0035  CALL      R3 = call(R3, 1 args, 2 rets)
  0036  GETTABLE  R4 = R0[K6('m_descText')]
  0037  GETTABUP  R5 = _ENV[K2('GM')]
  0038  GETTABLE  R5 = R5[K3('GameTextModel')]
  0039  SELF      R6 = R5[K4('GetText')] (self)
  0040  LOADK     R7 = K17 'frame_how_to_get'
  0041  MOVE      R8 = R0
  0042  CALL      R5 = call(R5, 1 args, 3 rets)
  0043  SETTABLE  R4[K1('text')] = R5
  0044  GETTABLE  R4 = R0[K6('m_descText')]
  0045  GETTABLE  R4 = R4[K7('gameObject')]
  0046  SELF      R5 = R4[K8('SetActive')] (self)
  0047  LOADBOOL  R6 = true
  0048  CALL      R4 = call(R4, 0 args, 2 rets)
  0049  RETURN    return R0..R-1
