# ReturnUser_Model_ReturnUserModel_927.luac
; fn @ReturnUserModel.lua  line 0-0 np=0 va=1 ms=4 code=76 consts=33 upvals=1 protos=21
;   K[0]='ReturnUserModel'
;   K[1]='__index'
;   K[2]='DB_VALUE_KEY'
;   K[3]='ExpiredTime'
;   K[4]='expiredTime'
;   K[5]='ReturnReward'
;   K[6]='returnReward'
;   K[7]='RewardExpiredTime'
;   K[8]='rewardexpiredTime'
;   K[9]='RewardLeaveDay'
;   K[10]='rewardLeaveDay'
;   K[11]='ForceRefreshOrder'
;   K[12]='Init'
;   K[13]='Destroy'
;   K[14]='OnEnterMainScene'
;   K[15]='OnLoginFinished'
;   K[16]='_LoadReturnUserReward'
;   K[17]='IsOpen'
;   K[18]='IsInReturnRewardTime'
;   K[19]='GetData'
;   K[20]='FromSyncData'
;   K[21]='GetExpiredTime'
;   K[22]='SaveExpiredTime'
;   K[23]='HasForceRefreshOrderFlag'
;   K[24]='SaveForceRefreshOrderFlag'
;   K[25]='GetRewardExpiredTime'
;   K[26]='GetRewardLeaveDay'
;   K[27]='SaveRewardExpiredTime'
;   K[28]='TryGetReturnReward'
;   K[29]='GetReturnRewardFlag'
;   K[30]='SaveReturnReward'
;   K[31]='SetReturnRewardGot'
;   K[32]='TryForceRefreshOrder'
;   upvals: _ENV
;   locals: DBColumnValue(6-76), DBKey(12-76)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ReturnUserModel')] = R0
0002  GETTABUP  R0 = _ENV[K0('ReturnUserModel')]
0003  GETTABUP  R1 = _ENV[K0('ReturnUserModel')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K2('DB_VALUE_KEY')]
0006  NEWTABLE  R1 = {} (0 items)
0007  SETTABLE  R1[K3('ExpiredTime')] = K4('expiredTime')
0008  SETTABLE  R1[K5('ReturnReward')] = K6('returnReward')
0009  SETTABLE  R1[K7('RewardExpiredTime')] = K8('rewardexpiredTime')
0010  SETTABLE  R1[K9('RewardLeaveDay')] = K10('rewardLeaveDay')
0011  SETTABLE  R1[K11('ForceRefreshOrder')] = K11('ForceRefreshOrder')
0012  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0013  CLOSURE   R3 = closure proto0
0014  SETTABLE  R2[K12('Init')] = R3
0015  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0016  CLOSURE   R3 = closure proto1
0017  SETTABLE  R2[K13('Destroy')] = R3
0018  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0019  CLOSURE   R3 = closure proto2
0020  SETTABLE  R2[K14('OnEnterMainScene')] = R3
0021  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0022  CLOSURE   R3 = closure proto3
0023  SETTABLE  R2[K15('OnLoginFinished')] = R3
0024  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0025  CLOSURE   R3 = closure proto4
0026  SETTABLE  R2[K16('_LoadReturnUserReward')] = R3
0027  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0028  CLOSURE   R3 = closure proto5
0029  SETTABLE  R2[K17('IsOpen')] = R3
0030  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0031  CLOSURE   R3 = closure proto6
0032  SETTABLE  R2[K18('IsInReturnRewardTime')] = R3
0033  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0034  CLOSURE   R3 = closure proto7
0035  SETTABLE  R2[K19('GetData')] = R3
0036  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0037  CLOSURE   R3 = closure proto8
0038  SETTABLE  R2[K20('FromSyncData')] = R3
0039  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0040  CLOSURE   R3 = closure proto9
0041  SETTABLE  R2[K21('GetExpiredTime')] = R3
0042  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0043  CLOSURE   R3 = closure proto10
0044  SETTABLE  R2[K22('SaveExpiredTime')] = R3
0045  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0046  CLOSURE   R3 = closure proto11
0047  SETTABLE  R2[K23('HasForceRefreshOrderFlag')] = R3
0048  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0049  CLOSURE   R3 = closure proto12
0050  SETTABLE  R2[K24('SaveForceRefreshOrderFlag')] = R3
0051  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0052  CLOSURE   R3 = closure proto13
0053  SETTABLE  R2[K25('GetRewardExpiredTime')] = R3
0054  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0055  CLOSURE   R3 = closure proto14
0056  SETTABLE  R2[K26('GetRewardLeaveDay')] = R3
0057  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0058  CLOSURE   R3 = closure proto15
0059  SETTABLE  R2[K27('SaveRewardExpiredTime')] = R3
0060  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0061  CLOSURE   R3 = closure proto16
0062  SETTABLE  R2[K28('TryGetReturnReward')] = R3
0063  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0064  CLOSURE   R3 = closure proto17
0065  SETTABLE  R2[K29('GetReturnRewardFlag')] = R3
0066  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0067  CLOSURE   R3 = closure proto18
0068  SETTABLE  R2[K30('SaveReturnReward')] = R3
0069  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0070  CLOSURE   R3 = closure proto19
0071  SETTABLE  R2[K31('SetReturnRewardGot')] = R3
0072  GETTABUP  R2 = _ENV[K0('ReturnUserModel')]
0073  CLOSURE   R3 = closure proto20
0074  SETTABLE  R2[K32('TryForceRefreshOrder')] = R3
0075  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 13-17 np=1 va=0 ms=5 code=22 consts=13 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GM'
  ;   K[2]='DBTableManager'
  ;   K[3]='GetTable'
  ;   K[4]='EDBTableConfigs'
  ;   K[5]='ReturnUser'
  ;   K[6]='EventDispatcher'
  ;   K[7]='AddListener'
  ;   K[8]='EEventType'
  ;   K[9]='EnterMainScene'
  ;   K[10]='OnEnterMainScene'
  ;   K[11]='LoginFinished'
  ;   K[12]='OnLoginFinished'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  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('ReturnUser')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  SETTABLE  R0[K0('m_dbTable')] = R1
  0007  GETTABUP  R1 = _ENV[K6('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K7('AddListener')]
  0009  GETTABUP  R2 = _ENV[K8('EEventType')]
  0010  GETTABLE  R2 = R2[K9('EnterMainScene')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K10('OnEnterMainScene')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  GETTABUP  R1 = _ENV[K6('EventDispatcher')]
  0015  GETTABLE  R1 = R1[K7('AddListener')]
  0016  GETTABUP  R2 = _ENV[K8('EEventType')]
  0017  GETTABLE  R2 = R2[K11('LoginFinished')]
  0018  MOVE      R3 = R0
  0019  GETTABLE  R4 = R0[K12('OnLoginFinished')]
  0020  CALL      R1 = call(R1, 0 args, 3 rets)
  0021  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 19-21 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 [OnEnterMainScene] ----------
  ; fn ?  line 23-26 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='TryForceRefreshOrder'
  ;   K[1]='m_bEnterMainScene'
  ;   K[2]=true
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('TryForceRefreshOrder')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SETTABLE  R0[K1('m_bEnterMainScene')] = K2(true)
  0003  RETURN    return R0..R-1
; ---------- proto3 [OnLoginFinished] ----------
  ; fn ?  line 28-61 np=2 va=0 ms=8 code=47 consts=15 upvals=2 protos=0
  ;   K[0]='bSuccess'
  ;   K[1]='tbResp'
  ;   K[2]='_LoadReturnUserReward'
  ;   K[3]='return_expired_time'
  ;   K[4]='m_llExpiredTime'
  ;   K[5]='IsOpen'
  ;   K[6]='m_dbTable'
  ;   K[7]='Remove'
  ;   K[8]='ExpiredTime'
  ;   K[9]='ForceRefreshOrder'
  ;   K[10]='tonumber'
  ;   K[11]='GetExpiredTime'
  ;   K[12]='SaveExpiredTime'
  ;   K[13]='m_bEnterMainScene'
  ;   K[14]='TryForceRefreshOrder'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-47), msg(0-47), tbLoginResp(8-47), expiredTime(12-47), savedExpiredTime(32-47)
  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  SELF      R4 = R0[K2('_LoadReturnUserReward')] (self)
  0009  MOVE      R5 = R0
  0010  CALL      R3 = call(R3, 0 args, 2 rets)
  0011  GETTABLE  R3 = R2[K3('return_expired_time')]
  0012  SETTABLE  R0[K4('m_llExpiredTime')] = R3
  0013  SELF      R5 = R0[K5('IsOpen')] (self)
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  TEST      if not R4 then   -> -131055
  0016  JMP       (jump)   -> 19
  0017  TEST      if not R3 then   -> -131052
  0018  JMP       (jump)   -> 28
  0019  GETTABLE  R4 = R0[K6('m_dbTable')]
  0020  SELF      R5 = R4[K7('Remove')] (self)
  0021  GETTABUP  R6 = DBKey[K8('ExpiredTime')]
  0022  CALL      R4 = call(R4, 0 args, 2 rets)
  0023  GETTABLE  R4 = R0[K6('m_dbTable')]
  0024  SELF      R5 = R4[K7('Remove')] (self)
  0025  GETTABUP  R6 = DBKey[K9('ForceRefreshOrder')]
  0026  CALL      R4 = call(R4, 0 args, 2 rets)
  0027  RETURN    return R0..R-1
  0028  GETTABUP  R4 = _ENV[K10('tonumber')]
  0029  SELF      R6 = R0[K11('GetExpiredTime')] (self)
  0030  CALL      R5 = call(R5, -1 args, 1 rets)
  0031  CALL      R4 = call(R4, 1 args, -1 rets)
  0032  EQ        if R1 eq R3   -> -128987
  0033  JMP       (jump)   -> 38
  0034  GETTABLE  R5 = R0[K6('m_dbTable')]
  0035  SELF      R6 = R5[K7('Remove')] (self)
  0036  GETTABUP  R7 = DBKey[K9('ForceRefreshOrder')]
  0037  CALL      R5 = call(R5, 0 args, 2 rets)
  0038  SELF      R6 = R0[K12('SaveExpiredTime')] (self)
  0039  MOVE      R7 = R0
  0040  CALL      R5 = call(R5, 0 args, 2 rets)
  0041  GETTABLE  R5 = R0[K13('m_bEnterMainScene')]
  0042  TEST      if not R5 then   -> -131028
  0043  JMP       (jump)   -> 46
  0044  SELF      R6 = R0[K14('TryForceRefreshOrder')] (self)
  0045  CALL      R5 = call(R5, 0 args, 1 rets)
  0046  RETURN    return R0..R-1
; ---------- proto4 [_LoadReturnUserReward] ----------
  ; fn ?  line 64-80 np=2 va=0 ms=9 code=20 consts=6 upvals=0 protos=0
  ;   K[0]='return_expired_time'
  ;   K[1]='lost_days'
  ;   K[2]=nil
  ;   K[3]='GetRewardExpiredTime'
  ;   K[4]='SaveRewardExpiredTime'
  ;   K[5]='SaveReturnReward'
  ;   locals: self(0-20), tbLoginResp(0-20), expiredTime(1-20), nLeaveTimeDay(2-20), endTime(9-20)
  0000  GETTABLE  R2 = R1[K0('return_expired_time')]
  0001  GETTABLE  R3 = R1[K1('lost_days')]
  0002  EQ        if R1 eq K2(nil)   -> -129786
  0003  JMP       (jump)   -> 6
  0004  EQ        if R0 eq K2(nil)   -> -129272
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R5 = R0[K3('GetRewardExpiredTime')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  EQ        if R0 eq R2   -> -129011
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  SELF      R6 = R0[K4('SaveRewardExpiredTime')] (self)
  0013  MOVE      R7 = R0
  0014  MOVE      R8 = R0
  0015  CALL      R5 = call(R5, 0 args, 3 rets)
  0016  SELF      R6 = R0[K5('SaveReturnReward')] (self)
  0017  MOVE      R7 = R0
  0018  CALL      R5 = call(R5, 0 args, 2 rets)
  0019  RETURN    return R0..R-1
; ---------- proto5 [IsOpen] ----------
  ; fn ?  line 82-84 np=1 va=0 ms=3 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ConfigModel'
  ;   K[2]='IsReturnUserRewardOpen'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('ConfigModel')]
  0002  SELF      R2 = R1[K2('IsReturnUserRewardOpen')] (self)
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto6 [IsInReturnRewardTime] ----------
  ; fn ?  line 86-102 np=1 va=0 ms=4 code=23 consts=5 upvals=1 protos=0
  ;   K[0]='IsOpen'
  ;   K[1]='GetExpiredTime'
  ;   K[2]='GM'
  ;   K[3]='GameModel'
  ;   K[4]='GetServerTime'
  ;   upvals: _ENV
  ;   locals: self(0-23), endTime(8-23)
  0000  SELF      R2 = R0[K0('IsOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('GetExpiredTime')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R2 = false
  0011  RETURN    return R2..R1
  0012  GETTABUP  R2 = _ENV[K2('GM')]
  0013  GETTABLE  R2 = R2[K3('GameModel')]
  0014  SELF      R3 = R2[K4('GetServerTime')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  LE        if R0 le R2   -> -130540
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R2 = false
  0019  RETURN    return R2..R1
  0020  LOADBOOL  R2 = true
  0021  RETURN    return R2..R1
  0022  RETURN    return R0..R-1
; ---------- proto7 [GetData] ----------
  ; fn ?  line 104-106 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto8 [FromSyncData] ----------
  ; fn ?  line 115-135 np=2 va=0 ms=12 code=42 consts=12 upvals=2 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='StringUtil'
  ;   K[2]='Split'
  ;   K[3]=','
  ;   K[4]=nil
  ;   K[5]=1
  ;   K[6]=2
  ;   K[7]='RewardExpiredTime'
  ;   K[8]='tonumber'
  ;   K[9]='GetRewardExpiredTime'
  ;   K[10]='m_dbTable'
  ;   K[11]='FromArr'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-42), dataArray(0-42), bFind(1-42), (for generator)(4-35), (for state)(4-35), (for control)(4-35), _(5-33), str(5-33), datas(10-33), llDownLoadExpiredTime(26-33)
  0000  LOADBOOL  R2 = false
  0001  GETTABUP  R3 = _ENV[K0('ipairs')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 33
  0005  GETTABUP  R8 = _ENV[K1('StringUtil')]
  0006  GETTABLE  R8 = R8[K2('Split')]
  0007  MOVE      R9 = R0
  0008  LOADK     R10 = K3 ','
  0009  CALL      R8 = call(R8, 1 args, 2 rets)
  0010  EQ        if R1 eq K4(nil)   -> -126704
  0011  JMP       (jump)   -> 33
  0012  GETTABLE  R9 = R8[K5(1)]
  0013  EQ        if R1 eq K4(nil)   -> -126189
  0014  JMP       (jump)   -> 33
  0015  GETTABLE  R9 = R8[K6(2)]
  0016  EQ        if R1 eq K4(nil)   -> -126186
  0017  JMP       (jump)   -> 33
  0018  GETTABLE  R9 = R8[K5(1)]
  0019  GETTABUP  R10 = DBKey[K7('RewardExpiredTime')]
  0020  EQ        if R0 eq R10   -> -126432
  0021  JMP       (jump)   -> 33
  0022  LOADBOOL  R2 = true
  0023  GETTABUP  R9 = _ENV[K8('tonumber')]
  0024  GETTABLE  R10 = R8[K6(2)]
  0025  CALL      R9 = call(R9, 1 args, 1 rets)
  0026  EQ        if R1 eq K4(nil)   -> -126176
  0027  JMP       (jump)   -> 33
  0028  SELF      R11 = R0[K9('GetRewardExpiredTime')] (self)
  0029  CALL      R10 = call(R10, 1 args, 1 rets)
  0030  LT        if R0 lt R10   -> -126422
  0031  JMP       (jump)   -> 33
  0032  RETURN    return R0..R-1
  0033  TFORCALL  tforcall R3
  0034  TFORLOOP  tforloop R5(sBx=-30)   -> 5
  0035  TEST      if not R2 then   -> -131035
  0036  JMP       (jump)   -> 41
  0037  GETTABLE  R3 = R0[K10('m_dbTable')]
  0038  SELF      R4 = R3[K11('FromArr')] (self)
  0039  MOVE      R5 = R0
  0040  CALL      R3 = call(R3, 0 args, 2 rets)
  0041  RETURN    return R0..R-1
; ---------- proto9 [GetExpiredTime] ----------
  ; fn ?  line 137-139 np=1 va=0 ms=6 code=9 consts=4 upvals=3 protos=0
  ;   K[0]='tonumber'
  ;   K[1]='m_dbTable'
  ;   K[2]='GetValue'
  ;   K[3]='ExpiredTime'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('tonumber')]
  0001  GETTABLE  R2 = R0[K1('m_dbTable')]
  0002  SELF      R3 = R2[K2('GetValue')] (self)
  0003  GETTABUP  R4 = DBKey[K3('ExpiredTime')]
  0004  GETUPVAL  R5 = _ENV
  0005  CALL      R2 = call(R2, -1 args, 3 rets)
  0006  TAILCALL  tailcall(R1, 0)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto10 [SaveExpiredTime] ----------
  ; fn ?  line 141-143 np=2 va=0 ms=8 code=10 consts=4 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='ExpiredTime'
  ;   K[3]='tostring'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-10), time(0-10)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('ExpiredTime')]
  0003  GETUPVAL  R5 = DBKey
  0004  GETTABUP  R6 = _ENV[K3('tostring')]
  0005  MOVE      R7 = R0
  0006  CALL      R6 = call(R6, -1 args, 1 rets)
  0007  TAILCALL  tailcall(R2, 0)
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto11 [HasForceRefreshOrderFlag] ----------
  ; fn ?  line 145-147 np=1 va=0 ms=6 code=11 consts=5 upvals=3 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   K[2]='m_dbTable'
  ;   K[3]='GetValue'
  ;   K[4]='ForceRefreshOrder'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R1 = R1[K1('IsNilOrEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_dbTable')]
  0003  SELF      R3 = R2[K3('GetValue')] (self)
  0004  GETTABUP  R4 = DBKey[K4('ForceRefreshOrder')]
  0005  GETUPVAL  R5 = _ENV
  0006  CALL      R2 = call(R2, -1 args, 3 rets)
  0007  CALL      R1 = call(R1, 1 args, -1 rets)
  0008  NOT       R1 = not R0
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto12 [SaveForceRefreshOrderFlag] ----------
  ; fn ?  line 149-151 np=1 va=0 ms=6 code=8 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='ForceRefreshOrder'
  ;   K[3]='1'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('ForceRefreshOrder')]
  0003  GETUPVAL  R4 = DBKey
  0004  LOADK     R5 = K3 '1'
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto13 [GetRewardExpiredTime] ----------
  ; fn ?  line 153-155 np=1 va=0 ms=6 code=9 consts=4 upvals=3 protos=0
  ;   K[0]='tonumber'
  ;   K[1]='m_dbTable'
  ;   K[2]='GetValue'
  ;   K[3]='RewardExpiredTime'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('tonumber')]
  0001  GETTABLE  R2 = R0[K1('m_dbTable')]
  0002  SELF      R3 = R2[K2('GetValue')] (self)
  0003  GETTABUP  R4 = DBKey[K3('RewardExpiredTime')]
  0004  GETUPVAL  R5 = _ENV
  0005  CALL      R2 = call(R2, -1 args, 3 rets)
  0006  TAILCALL  tailcall(R1, 0)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto14 [GetRewardLeaveDay] ----------
  ; fn ?  line 157-159 np=1 va=0 ms=6 code=9 consts=4 upvals=3 protos=0
  ;   K[0]='tonumber'
  ;   K[1]='m_dbTable'
  ;   K[2]='GetValue'
  ;   K[3]='RewardLeaveDay'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('tonumber')]
  0001  GETTABLE  R2 = R0[K1('m_dbTable')]
  0002  SELF      R3 = R2[K2('GetValue')] (self)
  0003  GETTABUP  R4 = DBKey[K3('RewardLeaveDay')]
  0004  GETUPVAL  R5 = _ENV
  0005  CALL      R2 = call(R2, -1 args, 3 rets)
  0006  TAILCALL  tailcall(R1, 0)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto15 [SaveRewardExpiredTime] ----------
  ; fn ?  line 161-164 np=3 va=0 ms=9 code=17 consts=5 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='RewardExpiredTime'
  ;   K[3]='tostring'
  ;   K[4]='RewardLeaveDay'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-17), time(0-17), nLeaveTimeDay(0-17)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  GETTABUP  R5 = DBKey[K2('RewardExpiredTime')]
  0003  GETUPVAL  R6 = DBKey
  0004  GETTABUP  R7 = _ENV[K3('tostring')]
  0005  MOVE      R8 = R0
  0006  CALL      R7 = call(R7, -1 args, 1 rets)
  0007  CALL      R3 = call(R3, 0 args, -1 rets)
  0008  GETTABLE  R3 = R0[K0('m_dbTable')]
  0009  SELF      R4 = R3[K1('Set')] (self)
  0010  GETTABUP  R5 = DBKey[K4('RewardLeaveDay')]
  0011  GETUPVAL  R6 = DBKey
  0012  GETTABUP  R7 = _ENV[K3('tostring')]
  0013  MOVE      R8 = R0
  0014  CALL      R7 = call(R7, -1 args, 1 rets)
  0015  CALL      R3 = call(R3, 0 args, -1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto16 [TryGetReturnReward] ----------
  ; fn ?  line 169-216 np=1 va=0 ms=13 code=82 consts=37 upvals=3 protos=0
  ;   K[0]='GetRewardExpiredTime'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='SetReturnRewardGot'
  ;   K[5]='ConfigModel'
  ;   K[6]='GetServerConfig'
  ;   K[7]='ServerConfigKey'
  ;   K[8]='ReturnUserRewards'
  ;   K[9]=nil
  ;   K[10]=1
  ;   K[11]='rewards'
  ;   K[12]='Table'
  ;   K[13]='IsEmpty'
  ;   K[14]='Log'
  ;   K[15]='Error'
  ;   K[16]='回归奖励为空'
  ;   K[17]='m_dbTable'
  ;   K[18]='GetValue'
  ;   K[19]='ReturnReward'
  ;   K[20]=0
  ;   K[21]='tonumber'
  ;   K[22]='BIManager'
  ;   K[23]='LogAction'
  ;   K[24]='EBIType'
  ;   K[25]='ReturnUserGetReward'
  ;   K[26]='GetRewardLeaveDay'
  ;   K[27]='RewardApi'
  ;   K[28]='AcquireRewardsLogic'
  ;   K[29]='EPropertySource'
  ;   K[30]='Give'
  ;   K[31]='ERewardScene'
  ;   K[32]='Other'
  ;   K[33]='EGameMode'
  ;   K[34]='Board'
  ;   K[35]='CacheItemType'
  ;   K[36]='Stack'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-82), endTime(2-82), config(20-82), rewards(25-82), strTime(44-82), llTime(45-82)
  0000  SELF      R2 = R0[K0('GetRewardExpiredTime')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R2 = _ENV[K1('GM')]
  0006  GETTABLE  R2 = R2[K2('GameModel')]
  0007  SELF      R3 = R2[K3('GetServerTime')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  LT        if R0 lt R2   -> -130547
  0010  JMP       (jump)   -> 14
  0011  SELF      R3 = R0[K4('SetReturnRewardGot')] (self)
  0012  CALL      R2 = call(R2, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
  0014  GETTABUP  R2 = _ENV[K1('GM')]
  0015  GETTABLE  R2 = R2[K5('ConfigModel')]
  0016  SELF      R3 = R2[K6('GetServerConfig')] (self)
  0017  GETTABUP  R4 = _ENV[K7('ServerConfigKey')]
  0018  GETTABLE  R4 = R4[K8('ReturnUserRewards')]
  0019  CALL      R2 = call(R2, 1 args, 2 rets)
  0020  EQ        if R0 eq K9(nil)   -> -129761
  0021  JMP       (jump)   -> 23
  0022  RETURN    return R0..R-1
  0023  GETTABLE  R3 = R2[K10(1)]
  0024  GETTABLE  R3 = R3[K11('rewards')]
  0025  EQ        if R0 eq K9(nil)   -> -129244
  0026  JMP       (jump)   -> 28
  0027  RETURN    return R0..R-1
  0028  GETTABUP  R4 = _ENV[K12('Table')]
  0029  GETTABLE  R4 = R4[K13('IsEmpty')]
  0030  MOVE      R5 = R0
  0031  CALL      R4 = call(R4, 1 args, 1 rets)
  0032  TEST      if not R4 then   -> -131038
  0033  JMP       (jump)   -> 39
  0034  GETTABUP  R4 = _ENV[K14('Log')]
  0035  GETTABLE  R4 = R4[K15('Error')]
  0036  LOADK     R5 = K16 '回归奖励为空'
  0037  CALL      R4 = call(R4, 0 args, 1 rets)
  0038  RETURN    return R0..R-1
  0039  GETTABLE  R4 = R0[K17('m_dbTable')]
  0040  SELF      R5 = R4[K18('GetValue')] (self)
  0041  GETTABUP  R6 = DBKey[K19('ReturnReward')]
  0042  GETUPVAL  R7 = _ENV
  0043  CALL      R4 = call(R4, 1 args, 3 rets)
  0044  LOADK     R5 = K20 0
  0045  EQ        if R1 eq K9(nil)   -> -128712
  0046  JMP       (jump)   -> 51
  0047  GETTABUP  R6 = _ENV[K21('tonumber')]
  0048  MOVE      R7 = R0
  0049  CALL      R6 = call(R6, 1 args, 1 rets)
  0050  MOVE      R5 = R0
  0051  SELF      R7 = R0[K0('GetRewardExpiredTime')] (self)
  0052  CALL      R6 = call(R6, 1 args, 1 rets)
  0053  EQ        if R1 eq R6   -> -128451
  0054  JMP       (jump)   -> 56
  0055  RETURN    return R0..R-1
  0056  SELF      R7 = R0[K4('SetReturnRewardGot')] (self)
  0057  CALL      R6 = call(R6, 0 args, 1 rets)
  0058  GETTABUP  R6 = _ENV[K1('GM')]
  0059  GETTABLE  R6 = R6[K22('BIManager')]
  0060  SELF      R7 = R6[K23('LogAction')] (self)
  0061  GETTABUP  R8 = _ENV[K24('EBIType')]
  0062  GETTABLE  R8 = R8[K25('ReturnUserGetReward')]
  0063  SELF      R10 = R0[K26('GetRewardLeaveDay')] (self)
  0064  CALL      R9 = call(R9, -1 args, 1 rets)
  0065  CALL      R6 = call(R6, 0 args, -1 rets)
  0066  GETTABUP  R6 = _ENV[K27('RewardApi')]
  0067  GETTABLE  R6 = R6[K28('AcquireRewardsLogic')]
  0068  MOVE      R7 = R0
  0069  GETTABUP  R8 = _ENV[K29('EPropertySource')]
  0070  GETTABLE  R8 = R8[K30('Give')]
  0071  GETTABUP  R9 = _ENV[K24('EBIType')]
  0072  GETTABLE  R9 = R9[K25('ReturnUserGetReward')]
  0073  GETTABUP  R10 = _ENV[K31('ERewardScene')]
  0074  GETTABLE  R10 = R10[K32('Other')]
  0075  GETTABUP  R11 = _ENV[K33('EGameMode')]
  0076  GETTABLE  R11 = R11[K34('Board')]
  0077  GETTABUP  R12 = _ENV[K35('CacheItemType')]
  0078  GETTABLE  R12 = R12[K36('Stack')]
  0079  CALL      R6 = call(R6, 0 args, 6 rets)
  0080  RETURN    return R3..R2
  0081  RETURN    return R0..R-1
; ---------- proto17 [GetReturnRewardFlag] ----------
  ; fn ?  line 219-221 np=1 va=0 ms=5 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='ReturnReward'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('ReturnReward')]
  0003  GETUPVAL  R4 = DBKey
  0004  TAILCALL  tailcall(R1, 0)
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto18 [SaveReturnReward] ----------
  ; fn ?  line 223-225 np=2 va=0 ms=8 code=10 consts=4 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='ReturnReward'
  ;   K[3]='tostring'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-10), erpiredTime(0-10)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('ReturnReward')]
  0003  GETUPVAL  R5 = DBKey
  0004  GETTABUP  R6 = _ENV[K3('tostring')]
  0005  MOVE      R7 = R0
  0006  CALL      R6 = call(R6, -1 args, 1 rets)
  0007  TAILCALL  tailcall(R2, 0)
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto19 [SetReturnRewardGot] ----------
  ; fn ?  line 227-229 np=1 va=0 ms=6 code=8 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='ReturnReward'
  ;   K[3]='0'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('ReturnReward')]
  0003  GETUPVAL  R4 = DBKey
  0004  LOADK     R5 = K3 '0'
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto20 [TryForceRefreshOrder] ----------
  ; fn ?  line 231-237 np=1 va=0 ms=3 code=19 consts=7 upvals=1 protos=0
  ;   K[0]='IsOpen'
  ;   K[1]='IsInReturnRewardTime'
  ;   K[2]='HasForceRefreshOrderFlag'
  ;   K[3]='SaveForceRefreshOrderFlag'
  ;   K[4]='GM'
  ;   K[5]='MainBoardModel'
  ;   K[6]='GetOrderModel'
  ;   upvals: _ENV
  ;   locals: self(0-19), orderModel(18-18)
  0000  SELF      R2 = R0[K0('IsOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 18
  0004  SELF      R2 = R0[K1('IsInReturnRewardTime')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 18
  0008  SELF      R2 = R0[K2('HasForceRefreshOrderFlag')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 18
  0012  SELF      R2 = R0[K3('SaveForceRefreshOrderFlag')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  GETTABUP  R1 = _ENV[K4('GM')]
  0015  GETTABLE  R1 = R1[K5('MainBoardModel')]
  0016  SELF      R2 = R1[K6('GetOrderModel')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  RETURN    return R0..R-1
