# ExtraBoardActivity_View_ExtraBoardExclamation_1035.luac
; fn @ExtraBoardExclamation.lua  line 0-0 np=0 va=1 ms=2 code=18 consts=6 upvals=1 protos=4
;   K[0]='ExtraBoardExclamation'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnExtraBoardTokenChanged'
;   K[4]='_UpdateData'
;   K[5]='OnDestroy'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ExtraBoardExclamation')] = R0
0002  GETTABUP  R0 = _ENV[K0('ExtraBoardExclamation')]
0003  GETTABUP  R1 = _ENV[K0('ExtraBoardExclamation')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ExtraBoardExclamation')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('ExtraBoardExclamation')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnExtraBoardTokenChanged')] = R1
0011  GETTABUP  R0 = _ENV[K0('ExtraBoardExclamation')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('_UpdateData')] = R1
0014  GETTABUP  R0 = _ENV[K0('ExtraBoardExclamation')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('OnDestroy')] = R1
0017  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-12 np=2 va=0 ms=8 code=26 consts=15 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='IsTokenMode'
  ;   K[2]='SpriteUtil'
  ;   K[3]='SetImage'
  ;   K[4]='m_iconImg'
  ;   K[5]='GM'
  ;   K[6]='ItemDataModel'
  ;   K[7]='GetSpriteName'
  ;   K[8]='GetCommonPropertyType'
  ;   K[9]='_UpdateData'
  ;   K[10]='EventDispatcher'
  ;   K[11]='AddListener'
  ;   K[12]='EEventType'
  ;   K[13]='ExtraBoardTokenChanged'
  ;   K[14]='OnExtraBoardTokenChanged'
  ;   upvals: _ENV
  ;   locals: self(0-26), model(0-26)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SELF      R3 = R1[K1('IsTokenMode')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABUP  R2 = _ENV[K2('SpriteUtil')]
  0007  GETTABLE  R2 = R2[K3('SetImage')]
  0008  GETTABLE  R3 = R0[K4('m_iconImg')]
  0009  GETTABUP  R4 = _ENV[K5('GM')]
  0010  GETTABLE  R4 = R4[K6('ItemDataModel')]
  0011  SELF      R5 = R4[K7('GetSpriteName')] (self)
  0012  SELF      R7 = R1[K8('GetCommonPropertyType')] (self)
  0013  CALL      R6 = call(R6, -1 args, 1 rets)
  0014  CALL      R4 = call(R4, -1 args, -1 rets)
  0015  CALL      R2 = call(R2, 0 args, -1 rets)
  0016  SELF      R3 = R0[K9('_UpdateData')] (self)
  0017  CALL      R2 = call(R2, 0 args, 1 rets)
  0018  GETTABUP  R2 = _ENV[K10('EventDispatcher')]
  0019  GETTABLE  R2 = R2[K11('AddListener')]
  0020  GETTABUP  R3 = _ENV[K12('EEventType')]
  0021  GETTABLE  R3 = R3[K13('ExtraBoardTokenChanged')]
  0022  MOVE      R4 = R0
  0023  GETTABLE  R5 = R0[K14('OnExtraBoardTokenChanged')]
  0024  CALL      R2 = call(R2, 0 args, 3 rets)
  0025  RETURN    return R0..R-1
; ---------- proto1 [OnExtraBoardTokenChanged] ----------
  ; fn ?  line 14-16 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_UpdateData'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_UpdateData')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto2 [_UpdateData] ----------
  ; fn ?  line 18-20 np=1 va=0 ms=4 code=6 consts=4 upvals=0 protos=0
  ;   K[0]='m_numText'
  ;   K[1]='text'
  ;   K[2]='m_model'
  ;   K[3]='GetActivityTokenNumber'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_numText')]
  0001  GETTABLE  R2 = R0[K2('m_model')]
  0002  SELF      R3 = R2[K3('GetActivityTokenNumber')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SETTABLE  R1[K1('text')] = R2
  0005  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 22-24 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
