# UI_Window_Setting_FrameSelectCell_579.luac
; fn @FrameSelectCell.lua  line 0-0 np=0 va=1 ms=2 code=18 consts=6 upvals=1 protos=4
;   K[0]='FrameSelectCell'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='OnClicked'
;   K[5]='UpdateContent'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('FrameSelectCell')] = R0
0002  GETTABUP  R0 = _ENV[K0('FrameSelectCell')]
0003  GETTABUP  R1 = _ENV[K0('FrameSelectCell')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('FrameSelectCell')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('FrameSelectCell')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('FrameSelectCell')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('OnClicked')] = R1
0014  GETTABUP  R0 = _ENV[K0('FrameSelectCell')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('UpdateContent')] = R1
0017  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-22 np=2 va=0 ms=9 code=27 consts=17 upvals=1 protos=1
  ;   K[0]='m_frameId'
  ;   K[1]='UpdateContent'
  ;   K[2]='GM'
  ;   K[3]='DataResource'
  ;   K[4]='UIPrefabConfig'
  ;   K[5]='GetConfig'
  ;   K[6]='UIPrefabConfigName'
  ;   K[7]='ResourceLoader'
  ;   K[8]='LoadPrefab'
  ;   K[9]='m_frameRootCanvasGroup'
  ;   K[10]='transform'
  ;   K[11]='V3Zero'
  ;   K[12]='EventDispatcher'
  ;   K[13]='AddListener'
  ;   K[14]='EEventType'
  ;   K[15]='UpdateProfile'
  ;   K[16]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-27), frameId(0-27), res(10-27)
  0000  SETTABLE  R0[K0('m_frameId')] = R1
  0001  SELF      R3 = R0[K1('UpdateContent')] (self)
  0002  CALL      R2 = call(R2, 0 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('GM')]
  0004  GETTABLE  R2 = R2[K3('DataResource')]
  0005  GETTABLE  R2 = R2[K4('UIPrefabConfig')]
  0006  SELF      R3 = R2[K5('GetConfig')] (self)
  0007  GETTABUP  R4 = _ENV[K6('UIPrefabConfigName')]
  0008  GETTABLE  R4 = R4[R1]
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  GETTABUP  R3 = _ENV[K2('GM')]
  0011  GETTABLE  R3 = R3[K7('ResourceLoader')]
  0012  SELF      R4 = R3[K8('LoadPrefab')] (self)
  0013  MOVE      R5 = R0
  0014  GETTABLE  R6 = R0[K9('m_frameRootCanvasGroup')]
  0015  GETTABLE  R6 = R6[K10('transform')]
  0016  GETTABUP  R7 = _ENV[K11('V3Zero')]
  0017  CLOSURE   R8 = closure proto0
  0018  CALL      R3 = call(R3, 0 args, 5 rets)
  0019  GETTABUP  R3 = _ENV[K12('EventDispatcher')]
  0020  GETTABLE  R3 = R3[K13('AddListener')]
  0021  GETTABUP  R4 = _ENV[K14('EEventType')]
  0022  GETTABLE  R4 = R4[K15('UpdateProfile')]
  0023  MOVE      R5 = R0
  0024  GETTABLE  R6 = R0[K16('UpdateContent')]
  0025  CALL      R3 = call(R3, 0 args, 3 rets)
  0026  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 9-19 np=1 va=0 ms=6 code=27 consts=14 upvals=2 protos=0
    ;   K[0]='GetLuaTable'
    ;   K[1]='m_frameView'
    ;   K[2]='Init'
    ;   K[3]='GM'
    ;   K[4]='UserProfileModel'
    ;   K[5]='IsPropertyAcquired'
    ;   K[6]='EProfilePropertyType'
    ;   K[7]='Frame'
    ;   K[8]='m_frameId'
    ;   K[9]='SetColor'
    ;   K[10]='UIUtil'
    ;   K[11]='ConvertHexColor2CSColor'
    ;   K[12]='C59E7B'
    ;   K[13]='UpdateContent'
    ;   upvals: self, _ENV
    ;   locals: go(0-27), frameView(2-27)
    0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  SETTABUP  self[K1('m_frameView')] = R1
    0003  TEST      if not R1 then   -> -131067
    0004  JMP       (jump)   -> 23
    0005  SELF      R3 = R1[K2('Init')] (self)
    0006  LOADBOOL  R4 = false
    0007  CALL      R2 = call(R2, 0 args, 2 rets)
    0008  GETTABUP  R2 = _ENV[K3('GM')]
    0009  GETTABLE  R2 = R2[K4('UserProfileModel')]
    0010  SELF      R3 = R2[K5('IsPropertyAcquired')] (self)
    0011  GETTABUP  R4 = _ENV[K6('EProfilePropertyType')]
    0012  GETTABLE  R4 = R4[K7('Frame')]
    0013  GETTABUP  R5 = self[K8('m_frameId')]
    0014  CALL      R2 = call(R2, 1 args, 3 rets)
    0015  TEST      if not R2 then   -> -131054
    0016  JMP       (jump)   -> 23
    0017  SELF      R3 = R1[K9('SetColor')] (self)
    0018  GETTABUP  R4 = _ENV[K10('UIUtil')]
    0019  GETTABLE  R4 = R4[K11('ConvertHexColor2CSColor')]
    0020  LOADK     R5 = K12 'C59E7B'
    0021  CALL      R4 = call(R4, -1 args, 1 rets)
    0022  CALL      R2 = call(R2, 0 args, -1 rets)
    0023  GETUPVAL  R2 = self
    0024  SELF      R3 = R2[K13('UpdateContent')] (self)
    0025  CALL      R2 = call(R2, 0 args, 1 rets)
    0026  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 24-26 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [OnClicked] ----------
  ; fn ?  line 28-30 np=1 va=0 ms=5 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='FrameWearWindow'
  ;   K[5]='m_frameId'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('FrameWearWindow')]
  0005  GETTABLE  R4 = R0[K5('m_frameId')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto3 [UpdateContent] ----------
  ; fn ?  line 32-38 np=1 va=0 ms=6 code=31 consts=12 upvals=1 protos=0
  ;   K[0]='m_frameId'
  ;   K[1]='GM'
  ;   K[2]='UserProfileModel'
  ;   K[3]='GetFrame'
  ;   K[4]='UIUtil'
  ;   K[5]='SetActive'
  ;   K[6]='m_checkedGo'
  ;   K[7]='m_selectedFrameGo'
  ;   K[8]='IsPropertyAcquired'
  ;   K[9]='EProfilePropertyType'
  ;   K[10]='Frame'
  ;   K[11]='m_lockGo'
  ;   upvals: _ENV
  ;   locals: self(0-31), selected(9-31), acquired(25-31)
  0000  GETTABLE  R1 = R0[K0('m_frameId')]
  0001  GETTABUP  R2 = _ENV[K1('GM')]
  0002  GETTABLE  R2 = R2[K2('UserProfileModel')]
  0003  SELF      R3 = R2[K3('GetFrame')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  EQ        if R1 eq R2   -> -130551
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  GETTABUP  R2 = _ENV[K4('UIUtil')]
  0010  GETTABLE  R2 = R2[K5('SetActive')]
  0011  GETTABLE  R3 = R0[K6('m_checkedGo')]
  0012  MOVE      R4 = R0
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  GETTABLE  R2 = R0[K7('m_selectedFrameGo')]
  0015  SELF      R3 = R2[K5('SetActive')] (self)
  0016  MOVE      R4 = R0
  0017  CALL      R2 = call(R2, 0 args, 2 rets)
  0018  GETTABUP  R2 = _ENV[K1('GM')]
  0019  GETTABLE  R2 = R2[K2('UserProfileModel')]
  0020  SELF      R3 = R2[K8('IsPropertyAcquired')] (self)
  0021  GETTABUP  R4 = _ENV[K9('EProfilePropertyType')]
  0022  GETTABLE  R4 = R4[K10('Frame')]
  0023  GETTABLE  R5 = R0[K0('m_frameId')]
  0024  CALL      R2 = call(R2, 1 args, 3 rets)
  0025  GETTABUP  R3 = _ENV[K4('UIUtil')]
  0026  GETTABLE  R3 = R3[K5('SetActive')]
  0027  GETTABLE  R4 = R0[K11('m_lockGo')]
  0028  NOT       R5 = not R0
  0029  CALL      R3 = call(R3, 0 args, 2 rets)
  0030  RETURN    return R0..R-1
