# ExtraBoardActivity_View_ExtraBoardActivityEntry_1005.luac
; fn @ExtraBoardActivityEntry.lua  line 0-0 np=0 va=1 ms=3 code=51 consts=18 upvals=1 protos=14
;   K[0]='ExtraBoardActivityEntry'
;   K[1]='setmetatable'
;   K[2]='HudPropertyButton'
;   K[3]='__index'
;   K[4]='Awake'
;   K[5]='Init'
;   K[6]='_CheckPropertyType'
;   K[7]='GetBoardModel'
;   K[8]='GetPropertyNum'
;   K[9]='_AddListeners'
;   K[10]='OnPopCachedItem'
;   K[11]='OnCacheItems'
;   K[12]='OnExtraBoardTokenChanged'
;   K[13]='_OnCloseView'
;   K[14]='UpdatePerSecond'
;   K[15]='OnBtnClicked'
;   K[16]='UpdateValueText'
;   K[17]='OnGameModeChanged'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('HudPropertyButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ExtraBoardActivityEntry')] = R0
0005  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0006  GETTABUP  R1 = _ENV[K0('ExtraBoardActivityEntry')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Awake')] = R1
0011  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('Init')] = R1
0014  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('_CheckPropertyType')] = R1
0017  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('GetBoardModel')] = R1
0020  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('GetPropertyNum')] = R1
0023  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('_AddListeners')] = R1
0026  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('OnPopCachedItem')] = R1
0029  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0030  CLOSURE   R1 = closure proto7
0031  SETTABLE  R0[K11('OnCacheItems')] = R1
0032  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0033  CLOSURE   R1 = closure proto8
0034  SETTABLE  R0[K12('OnExtraBoardTokenChanged')] = R1
0035  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0036  CLOSURE   R1 = closure proto9
0037  SETTABLE  R0[K13('_OnCloseView')] = R1
0038  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0039  CLOSURE   R1 = closure proto10
0040  SETTABLE  R0[K14('UpdatePerSecond')] = R1
0041  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0042  CLOSURE   R1 = closure proto11
0043  SETTABLE  R0[K15('OnBtnClicked')] = R1
0044  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0045  CLOSURE   R1 = closure proto12
0046  SETTABLE  R0[K16('UpdateValueText')] = R1
0047  GETTABUP  R0 = _ENV[K0('ExtraBoardActivityEntry')]
0048  CLOSURE   R1 = closure proto13
0049  SETTABLE  R0[K17('OnGameModeChanged')] = R1
0050  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 5-7 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='Awake'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R1 = R1[K1('Awake')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 9-16 np=2 va=0 ms=4 code=19 consts=10 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_activityType'
  ;   K[2]='GetType'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='GetActivityDefinition'
  ;   K[5]='m_boardModel'
  ;   K[6]='GetBoardModel'
  ;   K[7]='HudPropertyButton'
  ;   K[8]='Init'
  ;   K[9]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-19), model(0-19)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  GETTABLE  R2 = R0[K0('m_model')]
  0002  SELF      R3 = R2[K2('GetType')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SETTABLE  R0[K1('m_activityType')] = R2
  0005  GETTABLE  R2 = R0[K0('m_model')]
  0006  SELF      R3 = R2[K4('GetActivityDefinition')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  SETTABLE  R0[K3('m_activityDefinition')] = R2
  0009  SELF      R3 = R1[K6('GetBoardModel')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  SETTABLE  R0[K5('m_boardModel')] = R2
  0012  GETTABUP  R2 = _ENV[K7('HudPropertyButton')]
  0013  GETTABLE  R2 = R2[K8('Init')]
  0014  MOVE      R3 = R0
  0015  CALL      R2 = call(R2, 0 args, 1 rets)
  0016  SELF      R3 = R0[K9('UpdatePerSecond')] (self)
  0017  CALL      R2 = call(R2, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
; ---------- proto2 [_CheckPropertyType] ----------
  ; fn ?  line 18-20 np=2 va=0 ms=5 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='IsSelfItem'
  ;   locals: self(0-12), checkType(0-12)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R2 = R0[K0('m_model')]
  0004  SELF      R3 = R2[K2('IsSelfItem')] (self)
  0005  MOVE      R4 = R0
  0006  CALL      R2 = call(R2, 1 args, 2 rets)
  0007  JMP       (jump)   -> 10
  0008  LOADBOOL  R2 = false
  0009  LOADBOOL  R2 = true
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto3 [GetBoardModel] ----------
  ; fn ?  line 22-24 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetBoardModel'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K1('GetBoardModel')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto4 [GetPropertyNum] ----------
  ; fn ?  line 26-28 np=1 va=0 ms=3 code=11 consts=3 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetRedPointNum'
  ;   K[2]=0
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K1('GetRedPointNum')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  LOADK     R1 = K2 0
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto5 [_AddListeners] ----------
  ; fn ?  line 30-39 np=1 va=0 ms=6 code=40 consts=15 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='_AddListeners'
  ;   K[2]='m_activityDefinition'
  ;   K[3]=nil
  ;   K[4]='EventDispatcher'
  ;   K[5]='AddListener'
  ;   K[6]='StateChangedEvent'
  ;   K[7]='SyncToModelValue'
  ;   K[8]='EEventType'
  ;   K[9]='PopCachedItem'
  ;   K[10]='OnPopCachedItem'
  ;   K[11]='CacheItems'
  ;   K[12]='OnCacheItems'
  ;   K[13]='ExtraBoardTokenChanged'
  ;   K[14]='OnExtraBoardTokenChanged'
  ;   upvals: _ENV
  ;   locals: self(0-40)
  0000  GETTABUP  R1 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R1 = R1[K1('_AddListeners')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_activityDefinition')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 15
  0007  GETTABUP  R1 = _ENV[K4('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K5('AddListener')]
  0009  GETTABLE  R2 = R0[K2('m_activityDefinition')]
  0010  GETTABLE  R2 = R2[K6('StateChangedEvent')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K7('SyncToModelValue')]
  0013  LOADBOOL  R5 = true
  0014  CALL      R1 = call(R1, 0 args, 4 rets)
  0015  GETTABUP  R1 = _ENV[K4('EventDispatcher')]
  0016  GETTABLE  R1 = R1[K5('AddListener')]
  0017  GETTABUP  R2 = _ENV[K8('EEventType')]
  0018  GETTABLE  R2 = R2[K9('PopCachedItem')]
  0019  MOVE      R3 = R0
  0020  GETTABLE  R4 = R0[K10('OnPopCachedItem')]
  0021  LOADBOOL  R5 = true
  0022  CALL      R1 = call(R1, 0 args, 4 rets)
  0023  GETTABUP  R1 = _ENV[K4('EventDispatcher')]
  0024  GETTABLE  R1 = R1[K5('AddListener')]
  0025  GETTABUP  R2 = _ENV[K8('EEventType')]
  0026  GETTABLE  R2 = R2[K11('CacheItems')]
  0027  MOVE      R3 = R0
  0028  GETTABLE  R4 = R0[K12('OnCacheItems')]
  0029  LOADBOOL  R5 = true
  0030  CALL      R1 = call(R1, 0 args, 4 rets)
  0031  GETTABUP  R1 = _ENV[K4('EventDispatcher')]
  0032  GETTABLE  R1 = R1[K5('AddListener')]
  0033  GETTABUP  R2 = _ENV[K8('EEventType')]
  0034  GETTABLE  R2 = R2[K13('ExtraBoardTokenChanged')]
  0035  MOVE      R3 = R0
  0036  GETTABLE  R4 = R0[K14('OnExtraBoardTokenChanged')]
  0037  LOADBOOL  R5 = true
  0038  CALL      R1 = call(R1, 0 args, 4 rets)
  0039  RETURN    return R0..R-1
; ---------- proto6 [OnPopCachedItem] ----------
  ; fn ?  line 41-45 np=2 va=0 ms=5 code=11 consts=5 upvals=0 protos=0
  ;   K[0]=nil
  ;   K[1]='GameMode'
  ;   K[2]='m_boardModel'
  ;   K[3]='GetGameMode'
  ;   K[4]='SyncToModelValue'
  ;   locals: self(0-11), msg(0-11)
  0000  EQ        if R1 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 10
  0002  GETTABLE  R2 = R1[K1('GameMode')]
  0003  GETTABLE  R3 = R0[K2('m_boardModel')]
  0004  SELF      R4 = R3[K3('GetGameMode')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  EQ        if R0 eq R3   -> -130037
  0007  JMP       (jump)   -> 10
  0008  SELF      R3 = R0[K4('SyncToModelValue')] (self)
  0009  CALL      R2 = call(R2, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto7 [OnCacheItems] ----------
  ; fn ?  line 47-53 np=2 va=0 ms=5 code=22 consts=9 upvals=1 protos=0
  ;   K[0]='GameMode'
  ;   K[1]='m_boardModel'
  ;   K[2]='GetGameMode'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='IsViewExisting'
  ;   K[7]='MainWindowPrefabName'
  ;   K[8]='SyncToModelValue'
  ;   upvals: _ENV
  ;   locals: self(0-22), msg(0-22)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 21
  0002  GETTABLE  R2 = R1[K0('GameMode')]
  0003  GETTABLE  R3 = R0[K1('m_boardModel')]
  0004  SELF      R4 = R3[K2('GetGameMode')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  EQ        if R0 eq R3   -> -130037
  0007  JMP       (jump)   -> 21
  0008  GETTABLE  R2 = R0[K3('m_activityDefinition')]
  0009  TEST      if not R2 then   -> -131061
  0010  JMP       (jump)   -> 21
  0011  GETTABUP  R2 = _ENV[K4('GM')]
  0012  GETTABLE  R2 = R2[K5('UIManager')]
  0013  SELF      R3 = R2[K6('IsViewExisting')] (self)
  0014  GETTABLE  R4 = R0[K3('m_activityDefinition')]
  0015  GETTABLE  R4 = R4[K7('MainWindowPrefabName')]
  0016  CALL      R2 = call(R2, 1 args, 2 rets)
  0017  TEST      if not R2 then   -> -131053
  0018  JMP       (jump)   -> 21
  0019  SELF      R3 = R0[K8('SyncToModelValue')] (self)
  0020  CALL      R2 = call(R2, 0 args, 1 rets)
  0021  RETURN    return R0..R-1
; ---------- proto8 [OnExtraBoardTokenChanged] ----------
  ; fn ?  line 55-57 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='SyncToModelValue'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('SyncToModelValue')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto9 [_OnCloseView] ----------
  ; fn ?  line 59-65 np=2 va=0 ms=5 code=16 consts=6 upvals=1 protos=0
  ;   K[0]='name'
  ;   K[1]='UIPrefabConfigName'
  ;   K[2]='BundleRewardWindow'
  ;   K[3]='SyncToModelValue'
  ;   K[4]='HudPropertyButton'
  ;   K[5]='_OnCloseView'
  ;   upvals: _ENV
  ;   locals: self(0-16), msg(0-16)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 10
  0002  GETTABLE  R2 = R1[K0('name')]
  0003  GETTABUP  R3 = _ENV[K1('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K2('BundleRewardWindow')]
  0005  EQ        if R0 eq R3   -> -130038
  0006  JMP       (jump)   -> 10
  0007  SELF      R3 = R0[K3('SyncToModelValue')] (self)
  0008  CALL      R2 = call(R2, 0 args, 1 rets)
  0009  JMP       (jump)   -> 15
  0010  GETTABUP  R2 = _ENV[K4('HudPropertyButton')]
  0011  GETTABLE  R2 = R2[K5('_OnCloseView')]
  0012  MOVE      R3 = R0
  0013  MOVE      R4 = R0
  0014  CALL      R2 = call(R2, 0 args, 2 rets)
  0015  RETURN    return R0..R-1
; ---------- proto10 [UpdatePerSecond] ----------
  ; fn ?  line 67-73 np=1 va=0 ms=8 code=27 consts=11 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetNextStateTime'
  ;   K[3]='GM'
  ;   K[4]='GameModel'
  ;   K[5]='GetServerTime'
  ;   K[6]='m_countDownText'
  ;   K[7]='text'
  ;   K[8]='TimeUtil'
  ;   K[9]='ParseTimeDescription'
  ;   K[10]=2
  ;   upvals: _ENV
  ;   locals: self(0-27), delta(17-27)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K2('GetNextStateTime')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  EQ        if R0 eq K1(nil)   -> -130295
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  GETTABLE  R1 = R0[K0('m_model')]
  0010  SELF      R2 = R1[K2('GetNextStateTime')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  GETTABUP  R2 = _ENV[K3('GM')]
  0013  GETTABLE  R2 = R2[K4('GameModel')]
  0014  SELF      R3 = R2[K5('GetServerTime')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  SUB       R1 = R2 sub R1
  0017  GETTABLE  R2 = R0[K6('m_countDownText')]
  0018  GETTABUP  R3 = _ENV[K8('TimeUtil')]
  0019  GETTABLE  R3 = R3[K9('ParseTimeDescription')]
  0020  MOVE      R4 = R0
  0021  LOADK     R5 = K10 2
  0022  LOADBOOL  R6 = false
  0023  LOADBOOL  R7 = false
  0024  CALL      R3 = call(R3, 1 args, 4 rets)
  0025  SETTABLE  R2[K7('text')] = R3
  0026  RETURN    return R0..R-1
; ---------- proto11 [OnBtnClicked] ----------
  ; fn ?  line 75-81 np=1 va=0 ms=6 code=25 consts=11 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='HasWindowOpenedOnce'
  ;   K[2]='ActivityState'
  ;   K[3]='Started'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='OpenView'
  ;   K[7]='m_activityDefinition'
  ;   K[8]='ReadyWindowPrefabName'
  ;   K[9]='m_activityType'
  ;   K[10]='MainWindowPrefabName'
  ;   upvals: _ENV
  ;   locals: self(0-25)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('HasWindowOpenedOnce')] (self)
  0002  GETTABUP  R3 = _ENV[K2('ActivityState')]
  0003  GETTABLE  R3 = R3[K3('Started')]
  0004  CALL      R1 = call(R1, 1 args, 2 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 16
  0007  GETTABUP  R1 = _ENV[K4('GM')]
  0008  GETTABLE  R1 = R1[K5('UIManager')]
  0009  SELF      R2 = R1[K6('OpenView')] (self)
  0010  GETTABLE  R3 = R0[K7('m_activityDefinition')]
  0011  GETTABLE  R3 = R3[K8('ReadyWindowPrefabName')]
  0012  GETTABLE  R4 = R0[K9('m_activityType')]
  0013  LOADBOOL  R5 = true
  0014  CALL      R1 = call(R1, 0 args, 4 rets)
  0015  JMP       (jump)   -> 24
  0016  GETTABUP  R1 = _ENV[K4('GM')]
  0017  GETTABLE  R1 = R1[K5('UIManager')]
  0018  SELF      R2 = R1[K6('OpenView')] (self)
  0019  GETTABLE  R3 = R0[K7('m_activityDefinition')]
  0020  GETTABLE  R3 = R3[K10('MainWindowPrefabName')]
  0021  GETTABLE  R4 = R0[K9('m_activityType')]
  0022  LOADBOOL  R5 = true
  0023  CALL      R1 = call(R1, 0 args, 4 rets)
  0024  RETURN    return R0..R-1
; ---------- proto12 [UpdateValueText] ----------
  ; fn ?  line 83-88 np=1 va=0 ms=4 code=20 consts=10 upvals=1 protos=0
  ;   K[0]='m_exclamationText'
  ;   K[1]='text'
  ;   K[2]='math'
  ;   K[3]='floor'
  ;   K[4]='m_value'
  ;   K[5]=0.5
  ;   K[6]='UIUtil'
  ;   K[7]='SetActive'
  ;   K[8]='m_exclamationGo'
  ;   K[9]=0
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  GETTABLE  R1 = R0[K0('m_exclamationText')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 10
  0003  GETTABLE  R1 = R0[K0('m_exclamationText')]
  0004  GETTABUP  R2 = _ENV[K2('math')]
  0005  GETTABLE  R2 = R2[K3('floor')]
  0006  GETTABLE  R3 = R0[K4('m_value')]
  0007  ADD       R3 = K5(0.5) add R3
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  SETTABLE  R1[K1('text')] = R2
  0010  GETTABUP  R1 = _ENV[K6('UIUtil')]
  0011  GETTABLE  R1 = R1[K7('SetActive')]
  0012  GETTABLE  R2 = R0[K8('m_exclamationGo')]
  0013  GETTABLE  R3 = R0[K4('m_value')]
  0014  LT        if R1 lt R3   -> 4627
  0015  JMP       (jump)   -> 17
  0016  LOADBOOL  R3 = false
  0017  LOADBOOL  R3 = true
  0018  CALL      R1 = call(R1, 0 args, 2 rets)
  0019  RETURN    return R0..R-1
; ---------- proto13 [OnGameModeChanged] ----------
  ; fn ?  line 90-94 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='OnGameModeChanged'
  ;   K[2]='SyncToModelValue'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R1 = R1[K1('OnGameModeChanged')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('SyncToModelValue')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
