# Model_Reward_RewardModel_189.luac
; fn @RewardModel.lua  line 0-0 np=0 va=1 ms=2 code=64 consts=31 upvals=1 protos=15
;   K[0]='RewardModel'
;   K[1]='__index'
;   K[2]='ELocalRewardKey'
;   K[3]='AccountBind'
;   K[4]='account_bind'
;   K[5]='ERewardStatus'
;   K[6]='NotReceived'
;   K[7]=0
;   K[8]='HasReceived'
;   K[9]=1
;   K[10]='ERewardRespStatus'
;   K[11]='Success'
;   K[12]='RespFail'
;   K[13]=2
;   K[14]='Expired'
;   K[15]=3
;   K[16]='Init'
;   K[17]='Destroy'
;   K[18]='OnLoginFinished'
;   K[19]='HasReceivedServerReward'
;   K[20]='MarkServerRewardReceived'
;   K[21]='ReceiveServerReward'
;   K[22]='_GetToken'
;   K[23]='_ClearToken'
;   K[24]='_LoadCachedTokens'
;   K[25]='_SaveTokens'
;   K[26]='GetServerRewardInfoMap'
;   K[27]='FromSyncData'
;   K[28]='GetData'
;   K[29]='MarkReceiveLocalReward'
;   K[30]='HasReceivedLocalReward'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('RewardModel')] = R0
0002  GETTABUP  R0 = _ENV[K0('RewardModel')]
0003  GETTABUP  R1 = _ENV[K0('RewardModel')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  NEWTABLE  R0 = {} (0 items)
0006  SETTABLE  R0[K3('AccountBind')] = K4('account_bind')
0007  SETTABUP  _ENV[K2('ELocalRewardKey')] = R0
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K6('NotReceived')] = K7(0)
0010  SETTABLE  R0[K8('HasReceived')] = K9(1)
0011  SETTABUP  _ENV[K5('ERewardStatus')] = R0
0012  NEWTABLE  R0 = {} (0 items)
0013  SETTABLE  R0[K11('Success')] = K7(0)
0014  SETTABLE  R0[K12('RespFail')] = K9(1)
0015  SETTABLE  R0[K8('HasReceived')] = K13(2)
0016  SETTABLE  R0[K14('Expired')] = K15(3)
0017  SETTABUP  _ENV[K10('ERewardRespStatus')] = R0
0018  GETTABUP  R0 = _ENV[K0('RewardModel')]
0019  CLOSURE   R1 = closure proto0
0020  SETTABLE  R0[K16('Init')] = R1
0021  GETTABUP  R0 = _ENV[K0('RewardModel')]
0022  CLOSURE   R1 = closure proto1
0023  SETTABLE  R0[K17('Destroy')] = R1
0024  GETTABUP  R0 = _ENV[K0('RewardModel')]
0025  CLOSURE   R1 = closure proto2
0026  SETTABLE  R0[K18('OnLoginFinished')] = R1
0027  GETTABUP  R0 = _ENV[K0('RewardModel')]
0028  CLOSURE   R1 = closure proto3
0029  SETTABLE  R0[K19('HasReceivedServerReward')] = R1
0030  GETTABUP  R0 = _ENV[K0('RewardModel')]
0031  CLOSURE   R1 = closure proto4
0032  SETTABLE  R0[K20('MarkServerRewardReceived')] = R1
0033  GETTABUP  R0 = _ENV[K0('RewardModel')]
0034  CLOSURE   R1 = closure proto5
0035  SETTABLE  R0[K21('ReceiveServerReward')] = R1
0036  GETTABUP  R0 = _ENV[K0('RewardModel')]
0037  CLOSURE   R1 = closure proto6
0038  SETTABLE  R0[K22('_GetToken')] = R1
0039  GETTABUP  R0 = _ENV[K0('RewardModel')]
0040  CLOSURE   R1 = closure proto7
0041  SETTABLE  R0[K23('_ClearToken')] = R1
0042  GETTABUP  R0 = _ENV[K0('RewardModel')]
0043  CLOSURE   R1 = closure proto8
0044  SETTABLE  R0[K24('_LoadCachedTokens')] = R1
0045  GETTABUP  R0 = _ENV[K0('RewardModel')]
0046  CLOSURE   R1 = closure proto9
0047  SETTABLE  R0[K25('_SaveTokens')] = R1
0048  GETTABUP  R0 = _ENV[K0('RewardModel')]
0049  CLOSURE   R1 = closure proto10
0050  SETTABLE  R0[K26('GetServerRewardInfoMap')] = R1
0051  GETTABUP  R0 = _ENV[K0('RewardModel')]
0052  CLOSURE   R1 = closure proto11
0053  SETTABLE  R0[K27('FromSyncData')] = R1
0054  GETTABUP  R0 = _ENV[K0('RewardModel')]
0055  CLOSURE   R1 = closure proto12
0056  SETTABLE  R0[K28('GetData')] = R1
0057  GETTABUP  R0 = _ENV[K0('RewardModel')]
0058  CLOSURE   R1 = closure proto13
0059  SETTABLE  R0[K29('MarkReceiveLocalReward')] = R1
0060  GETTABUP  R0 = _ENV[K0('RewardModel')]
0061  CLOSURE   R1 = closure proto14
0062  SETTABLE  R0[K30('HasReceivedLocalReward')] = R1
0063  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 29-35 np=1 va=0 ms=5 code=17 consts=12 upvals=1 protos=0
  ;   K[0]='m_localRewardsDbTable'
  ;   K[1]='GM'
  ;   K[2]='DBTableManager'
  ;   K[3]='GetTable'
  ;   K[4]='EDBTableConfigs'
  ;   K[5]='LocalRewards'
  ;   K[6]='_LoadCachedTokens'
  ;   K[7]='EventDispatcher'
  ;   K[8]='AddListener'
  ;   K[9]='EEventType'
  ;   K[10]='LoginFinished'
  ;   K[11]='OnLoginFinished'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K1('GM')]
  0001  GETTABLE  R1 = R1[K2('DBTableManager')]
  0002  SELF      R2 = R1[K3('GetTable')] (self)
  0003  GETTABUP  R3 = _ENV[K4('EDBTableConfigs')]
  0004  GETTABLE  R3 = R3[K5('LocalRewards')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  SETTABLE  R0[K0('m_localRewardsDbTable')] = R1
  0007  SELF      R2 = R0[K6('_LoadCachedTokens')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  GETTABUP  R1 = _ENV[K7('EventDispatcher')]
  0010  GETTABLE  R1 = R1[K8('AddListener')]
  0011  GETTABUP  R2 = _ENV[K9('EEventType')]
  0012  GETTABLE  R2 = R2[K10('LoginFinished')]
  0013  MOVE      R3 = R0
  0014  GETTABLE  R4 = R0[K11('OnLoginFinished')]
  0015  CALL      R1 = call(R1, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 37-39 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 [OnLoginFinished] ----------
  ; fn ?  line 48-65 np=2 va=0 ms=11 code=38 consts=12 upvals=1 protos=0
  ;   K[0]='bSuccess'
  ;   K[1]='tbResp'
  ;   K[2]='rewards'
  ;   K[3]='m_mapServerRewardInfo'
  ;   K[4]=1
  ;   K[5]='content'
  ;   K[6]='json'
  ;   K[7]='decode'
  ;   K[8]='key'
  ;   K[9]='GM'
  ;   K[10]='NoticeModel'
  ;   K[11]='UpdateData'
  ;   upvals: _ENV
  ;   locals: self(0-38), msg(0-38), tbLoginResp(8-38), arrRewards(9-38), (for index)(16-33), (for limit)(16-33), (for step)(16-33), i(17-32)
  0000  GETTABLE  R2 = R1[K0('bSuccess')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R2 = R1[K1('tbResp')]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  NEWTABLE  R2 = {} (0 items)
  0008  GETTABLE  R3 = R2[K2('rewards')]
  0009  TEST      if not R3 then   -> -131061
  0010  JMP       (jump)   -> 33
  0011  NEWTABLE  R4 = {} (0 items)
  0012  SETTABLE  R0[K3('m_mapServerRewardInfo')] = R4
  0013  LOADK     R4 = K4 1
  0014  LEN       R5 = len R0
  0015  LOADK     R6 = K4 1
  0016  FORPREP   forprep R4(sBx=15)   -> 32
  0017  GETTABLE  R8 = R3[R7]
  0018  GETTABUP  R9 = _ENV[K6('json')]
  0019  GETTABLE  R9 = R9[K7('decode')]
  0020  GETTABLE  R10 = R3[R7]
  0021  GETTABLE  R10 = R10[K5('content')]
  0022  CALL      R9 = call(R9, 1 args, 1 rets)
  0023  TEST      if not R9 then   -> -131046
  0024  JMP       (jump)   -> 26
  0025  NEWTABLE  R9 = {} (0 items)
  0026  SETTABLE  R8[K5('content')] = R9
  0027  GETTABLE  R8 = R0[K3('m_mapServerRewardInfo')]
  0028  GETTABLE  R9 = R3[R7]
  0029  GETTABLE  R9 = R9[K8('key')]
  0030  GETTABLE  R10 = R3[R7]
  0031  SETTABLE  R8[R9] = R10
  0032  FORLOOP   forloop R4(sBx=-16)   -> 17
  0033  GETTABUP  R4 = _ENV[K9('GM')]
  0034  GETTABLE  R4 = R4[K10('NoticeModel')]
  0035  SELF      R5 = R4[K11('UpdateData')] (self)
  0036  CALL      R4 = call(R4, 0 args, 1 rets)
  0037  RETURN    return R0..R-1
; ---------- proto3 [HasReceivedServerReward] ----------
  ; fn ?  line 68-78 np=2 va=0 ms=4 code=23 consts=4 upvals=1 protos=0
  ;   K[0]='m_mapServerRewardInfo'
  ;   K[1]='status'
  ;   K[2]='ERewardStatus'
  ;   K[3]='HasReceived'
  ;   upvals: _ENV
  ;   locals: self(0-23), key(0-23)
  0000  GETTABLE  R2 = R0[K0('m_mapServerRewardInfo')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 6
  0003  LOADBOOL  R2 = true
  0004  RETURN    return R2..R1
  0005  JMP       (jump)   -> 22
  0006  GETTABLE  R2 = R0[K0('m_mapServerRewardInfo')]
  0007  GETTABLE  R2 = R2[R1]
  0008  TEST      if not R2 then   -> -131062
  0009  JMP       (jump)   -> 20
  0010  GETTABLE  R2 = R0[K0('m_mapServerRewardInfo')]
  0011  GETTABLE  R2 = R2[R1]
  0012  GETTABLE  R2 = R2[K1('status')]
  0013  GETTABUP  R3 = _ENV[K2('ERewardStatus')]
  0014  GETTABLE  R3 = R3[K3('HasReceived')]
  0015  EQ        if R0 eq R3   -> -130028
  0016  JMP       (jump)   -> 20
  0017  LOADBOOL  R2 = true
  0018  RETURN    return R2..R1
  0019  JMP       (jump)   -> 22
  0020  LOADBOOL  R2 = false
  0021  RETURN    return R2..R1
  0022  RETURN    return R0..R-1
; ---------- proto4 [MarkServerRewardReceived] ----------
  ; fn ?  line 80-93 np=2 va=0 ms=10 code=27 consts=9 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='Split'
  ;   K[2]=','
  ;   K[3]=1
  ;   K[4]='m_mapServerRewardInfo'
  ;   K[5]='key'
  ;   K[6]='status'
  ;   K[7]='ERewardStatus'
  ;   K[8]='HasReceived'
  ;   upvals: _ENV
  ;   locals: self(0-27), key(0-27), arrKeys(5-27), info(6-27), (for index)(9-26), (for limit)(9-26), (for step)(9-26), i(10-25)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('Split')]
  0002  MOVE      R3 = R0
  0003  LOADK     R4 = K2 ','
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  LOADNIL   R3..R3 = nil
  0006  LOADK     R4 = K3 1
  0007  LEN       R5 = len R0
  0008  LOADK     R6 = K3 1
  0009  FORPREP   forprep R4(sBx=15)   -> 25
  0010  GETTABLE  R8 = R0[K4('m_mapServerRewardInfo')]
  0011  GETTABLE  R9 = R2[R7]
  0012  GETTABLE  R3 = R8[R9]
  0013  TEST      if not R3 then   -> -131056
  0014  JMP       (jump)   -> 19
  0015  NEWTABLE  R8 = {} (0 items)
  0016  GETTABLE  R9 = R2[R7]
  0017  SETTABLE  R8[K5('key')] = R9
  0018  MOVE      R3 = R0
  0019  GETTABUP  R8 = _ENV[K7('ERewardStatus')]
  0020  GETTABLE  R8 = R8[K8('HasReceived')]
  0021  SETTABLE  R3[K6('status')] = R8
  0022  GETTABLE  R8 = R0[K4('m_mapServerRewardInfo')]
  0023  GETTABLE  R9 = R2[R7]
  0024  SETTABLE  R8[R9] = R3
  0025  FORLOOP   forloop R4(sBx=-16)   -> 10
  0026  RETURN    return R0..R-1
; ---------- proto5 [ReceiveServerReward] ----------
  ; fn ?  line 98-124 np=4 va=0 ms=9 code=10 consts=3 upvals=1 protos=1
  ;   K[0]='ApiMessage'
  ;   K[1]='ReceiveRewards'
  ;   K[2]='_GetToken'
  ;   upvals: _ENV
  ;   locals: self(0-10), key(0-10), bCheckExist(0-10), callback(0-10)
  0000  GETTABUP  R4 = _ENV[K0('ApiMessage')]
  0001  GETTABLE  R4 = R4[K1('ReceiveRewards')]
  0002  MOVE      R5 = R0
  0003  SELF      R7 = R0[K2('_GetToken')] (self)
  0004  MOVE      R8 = R0
  0005  CALL      R6 = call(R6, 1 args, 2 rets)
  0006  MOVE      R7 = R0
  0007  CLOSURE   R8 = closure proto0
  0008  CALL      R4 = call(R4, 0 args, 4 rets)
  0009  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 100-123 np=2 va=0 ms=6 code=47 consts=11 upvals=4 protos=0
    ;   K[0]='_ClearToken'
    ;   K[1]='rcode'
    ;   K[2]=0
    ;   K[3]='MarkServerRewardReceived'
    ;   K[4]='ERewardRespStatus'
    ;   K[5]='Success'
    ;   K[6]=1
    ;   K[7]='HasReceived'
    ;   K[8]=2
    ;   K[9]='Expired'
    ;   K[10]='RespFail'
    ;   upvals: self, key, _ENV, callback
    ;   locals: bSuccess(0-47), resp(0-47), eRewardRespStatus(1-47)
    0000  LOADNIL   R2..R2 = nil
    0001  TEST      if not R0 then   -> -131069
    0002  JMP       (jump)   -> 38
    0003  TEST      if not R1 then   -> -131067
    0004  JMP       (jump)   -> 38
    0005  GETUPVAL  R3 = self
    0006  SELF      R4 = R3[K0('_ClearToken')] (self)
    0007  GETUPVAL  R5 = self
    0008  CALL      R3 = call(R3, 0 args, 2 rets)
    0009  GETTABLE  R3 = R1[K1('rcode')]
    0010  EQ        if R0 eq K2(0)   -> -129266
    0011  JMP       (jump)   -> 19
    0012  GETUPVAL  R3 = self
    0013  SELF      R4 = R3[K3('MarkServerRewardReceived')] (self)
    0014  GETUPVAL  R5 = self
    0015  CALL      R3 = call(R3, 0 args, 2 rets)
    0016  GETTABUP  R3 = _ENV[K4('ERewardRespStatus')]
    0017  GETTABLE  R2 = R3[K5('Success')]
    0018  JMP       (jump)   -> 40
    0019  GETTABLE  R3 = R1[K1('rcode')]
    0020  EQ        if R0 eq K6(1)   -> -129252
    0021  JMP       (jump)   -> 25
    0022  GETTABUP  R3 = _ENV[K4('ERewardRespStatus')]
    0023  GETTABLE  R2 = R3[K7('HasReceived')]
    0024  JMP       (jump)   -> 40
    0025  GETTABLE  R3 = R1[K1('rcode')]
    0026  EQ        if R0 eq K8(2)   -> -129244
    0027  JMP       (jump)   -> 31
    0028  GETTABUP  R3 = _ENV[K4('ERewardRespStatus')]
    0029  GETTABLE  R2 = R3[K9('Expired')]
    0030  JMP       (jump)   -> 40
    0031  GETUPVAL  R3 = self
    0032  SELF      R4 = R3[K3('MarkServerRewardReceived')] (self)
    0033  GETUPVAL  R5 = self
    0034  CALL      R3 = call(R3, 0 args, 2 rets)
    0035  GETTABUP  R3 = _ENV[K4('ERewardRespStatus')]
    0036  GETTABLE  R2 = R3[K5('Success')]
    0037  JMP       (jump)   -> 40
    0038  GETTABUP  R3 = _ENV[K4('ERewardRespStatus')]
    0039  GETTABLE  R2 = R3[K10('RespFail')]
    0040  GETUPVAL  R3 = self
    0041  TEST      if not R3 then   -> -131029
    0042  JMP       (jump)   -> 46
    0043  GETUPVAL  R3 = self
    0044  MOVE      R4 = R0
    0045  CALL      R3 = call(R3, 0 args, 1 rets)
    0046  RETURN    return R0..R-1
; ---------- proto6 [_GetToken] ----------
  ; fn ?  line 127-137 np=2 va=0 ms=6 code=21 consts=7 upvals=1 protos=0
  ;   K[0]='m_mapTokens'
  ;   K[1]='GM'
  ;   K[2]='UserModel'
  ;   K[3]='GetInstallUuid'
  ;   K[4]='GameModel'
  ;   K[5]='GetServerTime'
  ;   K[6]='_SaveTokens'
  ;   upvals: _ENV
  ;   locals: self(0-21), key(0-21), token(2-21)
  0000  GETTABLE  R2 = R0[K0('m_mapTokens')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R2..R1
  0005  GETTABUP  R3 = _ENV[K1('GM')]
  0006  GETTABLE  R3 = R3[K2('UserModel')]
  0007  SELF      R4 = R3[K3('GetInstallUuid')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  GETTABUP  R4 = _ENV[K1('GM')]
  0010  GETTABLE  R4 = R4[K4('GameModel')]
  0011  SELF      R5 = R4[K5('GetServerTime')] (self)
  0012  CALL      R4 = call(R4, 1 args, 1 rets)
  0013  MOVE      R5 = R0
  0014  CONCAT    R2 = concat(R2..R3)
  0015  GETTABLE  R3 = R0[K0('m_mapTokens')]
  0016  SETTABLE  R3[R1] = R2
  0017  SELF      R4 = R0[K6('_SaveTokens')] (self)
  0018  CALL      R3 = call(R3, 0 args, 1 rets)
  0019  RETURN    return R2..R1
  0020  RETURN    return R0..R-1
; ---------- proto7 [_ClearToken] ----------
  ; fn ?  line 139-142 np=2 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapTokens'
  ;   K[1]=nil
  ;   K[2]='_SaveTokens'
  ;   locals: self(0-5), key(0-5)
  0000  GETTABLE  R2 = R0[K0('m_mapTokens')]
  0001  SETTABLE  R2[R1] = K1(nil)
  0002  SELF      R3 = R0[K2('_SaveTokens')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto8 [_LoadCachedTokens] ----------
  ; fn ?  line 144-150 np=1 va=0 ms=4 code=19 consts=7 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='GetString'
  ;   K[2]='EPlayerPrefKey'
  ;   K[3]='RewardTokenMap'
  ;   K[4]='m_mapTokens'
  ;   K[5]='json'
  ;   K[6]='decode'
  ;   upvals: _ENV
  ;   locals: self(0-19), str(6-19)
  0000  GETTABUP  R1 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R1 = R1[K1('GetString')]
  0002  GETTABUP  R2 = _ENV[K2('EPlayerPrefKey')]
  0003  GETTABLE  R2 = R2[K3('RewardTokenMap')]
  0004  LOADNIL   R3..R3 = nil
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 13
  0008  GETTABUP  R2 = _ENV[K5('json')]
  0009  GETTABLE  R2 = R2[K6('decode')]
  0010  MOVE      R3 = R0
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  SETTABLE  R0[K4('m_mapTokens')] = R2
  0013  GETTABLE  R2 = R0[K4('m_mapTokens')]
  0014  TEST      if not R2 then   -> -131055
  0015  JMP       (jump)   -> 17
  0016  NEWTABLE  R2 = {} (0 items)
  0017  SETTABLE  R0[K4('m_mapTokens')] = R2
  0018  RETURN    return R0..R-1
; ---------- proto9 [_SaveTokens] ----------
  ; fn ?  line 152-154 np=1 va=0 ms=5 code=10 consts=7 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='SetString'
  ;   K[2]='EPlayerPrefKey'
  ;   K[3]='RewardTokenMap'
  ;   K[4]='json'
  ;   K[5]='encode'
  ;   K[6]='m_mapTokens'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABUP  R1 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R1 = R1[K1('SetString')]
  0002  GETTABUP  R2 = _ENV[K2('EPlayerPrefKey')]
  0003  GETTABLE  R2 = R2[K3('RewardTokenMap')]
  0004  GETTABUP  R3 = _ENV[K4('json')]
  0005  GETTABLE  R3 = R3[K5('encode')]
  0006  GETTABLE  R4 = R0[K6('m_mapTokens')]
  0007  CALL      R3 = call(R3, -1 args, 1 rets)
  0008  CALL      R1 = call(R1, 0 args, -1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto10 [GetServerRewardInfoMap] ----------
  ; fn ?  line 157-159 np=1 va=0 ms=2 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapServerRewardInfo'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_mapServerRewardInfo')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  NEWTABLE  R1 = {} (0 items)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto11 [FromSyncData] ----------
  ; fn ?  line 163-165 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_localRewardsDbTable'
  ;   K[1]='FromArr'
  ;   locals: self(0-5), dataArr(0-5)
  0000  GETTABLE  R2 = R0[K0('m_localRewardsDbTable')]
  0001  SELF      R3 = R2[K1('FromArr')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto12 [GetData] ----------
  ; fn ?  line 167-169 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_localRewardsDbTable'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_localRewardsDbTable')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto13 [MarkReceiveLocalReward] ----------
  ; fn ?  line 171-179 np=2 va=0 ms=7 code=24 consts=9 upvals=1 protos=0
  ;   K[0]='HasReceivedLocalReward'
  ;   K[1]='Log'
  ;   K[2]='Error'
  ;   K[3]='之前已经领取过本地奖励了：'
  ;   K[4]='tostring'
  ;   K[5]='m_localRewardsDbTable'
  ;   K[6]='Set'
  ;   K[7]='DB_VALUE_KEY'
  ;   K[8]='1'
  ;   upvals: _ENV
  ;   locals: self(0-24), key(0-24)
  0000  SELF      R3 = R0[K0('HasReceivedLocalReward')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 15
  0005  GETTABUP  R2 = _ENV[K1('Log')]
  0006  GETTABLE  R2 = R2[K2('Error')]
  0007  LOADK     R3 = K3 '之前已经领取过本地奖励了：'
  0008  GETTABUP  R4 = _ENV[K4('tostring')]
  0009  MOVE      R5 = R0
  0010  CALL      R4 = call(R4, 1 args, 1 rets)
  0011  CONCAT    R3 = concat(R3..R3)
  0012  CALL      R2 = call(R2, 0 args, 1 rets)
  0013  LOADBOOL  R2 = false
  0014  RETURN    return R2..R1
  0015  GETTABLE  R2 = R0[K5('m_localRewardsDbTable')]
  0016  SELF      R3 = R2[K6('Set')] (self)
  0017  MOVE      R4 = R0
  0018  GETTABUP  R5 = _ENV[K7('DB_VALUE_KEY')]
  0019  LOADK     R6 = K8 '1'
  0020  CALL      R2 = call(R2, 0 args, 4 rets)
  0021  LOADBOOL  R2 = true
  0022  RETURN    return R2..R1
  0023  RETURN    return R0..R-1
; ---------- proto14 [HasReceivedLocalReward] ----------
  ; fn ?  line 181-183 np=2 va=0 ms=6 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='m_localRewardsDbTable'
  ;   K[1]='GetValue'
  ;   K[2]='DB_VALUE_KEY'
  ;   K[3]='1'
  ;   upvals: _ENV
  ;   locals: self(0-11), key(0-11)
  0000  GETTABLE  R2 = R0[K0('m_localRewardsDbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  MOVE      R4 = R0
  0003  GETTABUP  R5 = _ENV[K2('DB_VALUE_KEY')]
  0004  CALL      R2 = call(R2, 1 args, 3 rets)
  0005  EQ        if R1 eq K3('1')   -> -129782
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R2 = false
  0008  LOADBOOL  R2 = true
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
