# Model_Sync_SyncModel_93.luac
; fn @SyncModel.lua  line 0-0 np=0 va=1 ms=6 code=154 consts=67 upvals=1 protos=46
;   K[0]='SyncModel'
;   K[1]='__index'
;   K[2]='ESyncState'
;   K[3]='Idle'
;   K[4]=1
;   K[5]='Uploading'
;   K[6]=2
;   K[7]='Downloading'
;   K[8]=3
;   K[9]='VersionError'
;   K[10]=5
;   K[11]=300
;   K[12]=30
;   K[13]='Init'
;   K[14]='Destroy'
;   K[15]='ApplicationWillEnterForeground'
;   K[16]='SyncDataWhenLoading'
;   K[17]='OnSceneViewLoaded'
;   K[18]='RegisterModel'
;   K[19]='RegisterModels'
;   K[20]='UnregisterModels'
;   K[21]='ChangeSyncState'
;   K[22]='_UnScheduleNextUpload'
;   K[23]='_ScheduleNextUpload'
;   K[24]='_UpdateCheckUploadDelay'
;   K[25]='OnLoginFinished'
;   K[26]='SyncModel'
;   K[27]='_GetUploadDataTableArray'
;   K[28]='ShouldUploadData'
;   K[29]='_GetDataToUpload'
;   K[30]='CheckUpload'
;   K[31]='ShouldUpload'
;   K[32]='CanUpload'
;   K[33]='UploadData'
;   K[34]='IsSendingUploadRequest'
;   K[35]='_PackReq'
;   K[36]='_OnUploadFinished'
;   K[37]='ShouldDownload'
;   K[38]='ClearDataUploadRecord'
;   K[39]='_MarkUploaded'
;   K[40]='GetLastSyncTime'
;   K[41]='SetLastSyncTime'
;   K[42]='SyncModel'
;   K[43]='SetDataInconsistent'
;   K[44]='SyncModel'
;   K[45]='IsDataInconsistent'
;   K[46]='_SetDataCracked'
;   K[47]='_ClearDataCrackedTag'
;   K[48]='_IsDataCracked'
;   K[49]='_CheckDataCracked'
;   K[50]='_NeedForceSync'
;   K[51]='_SaveNeedForceSync'
;   K[52]='SyncModel'
;   K[53]='DownloadData'
;   K[54]='SyncModel'
;   K[55]='OnDownloadDataSuccess'
;   K[56]='SyncModel'
;   K[57]='_OpenConflictWindow'
;   K[58]='_UseLocalData'
;   K[59]='_UseServerData'
;   K[60]='SyncModel'
;   K[61]='ClearAllData'
;   K[62]='SyncModel'
;   K[63]='_NeedResetSyncKey'
;   K[64]='_SetSyncKey'
;   K[65]='_ClearResetSyncKey'
;   K[66]='_GetResetSyncKeyPlayerPrefsKey'
;   upvals: _ENV
;   locals: CHECK_UPLOAD_DELAY_NORMAL(12-154), CHECK_UPLOAD_DELAY_OFTEN(13-154), CHECK_UPLOAD_DELAY_OFTEN_STEP(14-154), arrDiscardSyncKey(15-154)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('SyncModel')] = R0
0002  GETTABUP  R0 = _ENV[K0('SyncModel')]
0003  GETTABUP  R1 = _ENV[K0('SyncModel')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  NEWTABLE  R0 = {} (0 items)
0006  SETTABLE  R0[K3('Idle')] = K4(1)
0007  SETTABLE  R0[K5('Uploading')] = K6(2)
0008  SETTABLE  R0[K7('Downloading')] = K8(3)
0009  SETTABLE  R0[K9('VersionError')] = K10(5)
0010  SETTABUP  _ENV[K2('ESyncState')] = R0
0011  LOADK     R0 = K11 300
0012  LOADK     R1 = K12 30
0013  LOADK     R2 = K12 30
0014  NEWTABLE  R3 = {} (0 items)
0015  GETTABUP  R4 = _ENV[K0('SyncModel')]
0016  CLOSURE   R5 = closure proto0
0017  SETTABLE  R4[K13('Init')] = R5
0018  GETTABUP  R4 = _ENV[K0('SyncModel')]
0019  CLOSURE   R5 = closure proto1
0020  SETTABLE  R4[K14('Destroy')] = R5
0021  GETTABUP  R4 = _ENV[K0('SyncModel')]
0022  CLOSURE   R5 = closure proto2
0023  SETTABLE  R4[K15('ApplicationWillEnterForeground')] = R5
0024  GETTABUP  R4 = _ENV[K0('SyncModel')]
0025  CLOSURE   R5 = closure proto3
0026  SETTABLE  R4[K16('SyncDataWhenLoading')] = R5
0027  GETTABUP  R4 = _ENV[K0('SyncModel')]
0028  CLOSURE   R5 = closure proto4
0029  SETTABLE  R4[K17('OnSceneViewLoaded')] = R5
0030  GETTABUP  R4 = _ENV[K0('SyncModel')]
0031  CLOSURE   R5 = closure proto5
0032  SETTABLE  R4[K18('RegisterModel')] = R5
0033  GETTABUP  R4 = _ENV[K0('SyncModel')]
0034  CLOSURE   R5 = closure proto6
0035  SETTABLE  R4[K19('RegisterModels')] = R5
0036  GETTABUP  R4 = _ENV[K0('SyncModel')]
0037  CLOSURE   R5 = closure proto7
0038  SETTABLE  R4[K20('UnregisterModels')] = R5
0039  GETTABUP  R4 = _ENV[K0('SyncModel')]
0040  CLOSURE   R5 = closure proto8
0041  SETTABLE  R4[K21('ChangeSyncState')] = R5
0042  GETTABUP  R4 = _ENV[K0('SyncModel')]
0043  CLOSURE   R5 = closure proto9
0044  SETTABLE  R4[K22('_UnScheduleNextUpload')] = R5
0045  GETTABUP  R4 = _ENV[K0('SyncModel')]
0046  CLOSURE   R5 = closure proto10
0047  SETTABLE  R4[K23('_ScheduleNextUpload')] = R5
0048  GETTABUP  R4 = _ENV[K0('SyncModel')]
0049  CLOSURE   R5 = closure proto11
0050  SETTABLE  R4[K24('_UpdateCheckUploadDelay')] = R5
0051  GETTABUP  R4 = _ENV[K0('SyncModel')]
0052  CLOSURE   R5 = closure proto12
0053  SETTABLE  R4[K25('OnLoginFinished')] = R5
0054  GETTABUP  R4 = _ENV[K26('SyncModel')]
0055  CLOSURE   R5 = closure proto13
0056  SETTABLE  R4[K27('_GetUploadDataTableArray')] = R5
0057  GETTABUP  R4 = _ENV[K26('SyncModel')]
0058  CLOSURE   R5 = closure proto14
0059  SETTABLE  R4[K28('ShouldUploadData')] = R5
0060  GETTABUP  R4 = _ENV[K26('SyncModel')]
0061  CLOSURE   R5 = closure proto15
0062  SETTABLE  R4[K29('_GetDataToUpload')] = R5
0063  GETTABUP  R4 = _ENV[K26('SyncModel')]
0064  CLOSURE   R5 = closure proto16
0065  SETTABLE  R4[K30('CheckUpload')] = R5
0066  GETTABUP  R4 = _ENV[K26('SyncModel')]
0067  CLOSURE   R5 = closure proto17
0068  SETTABLE  R4[K31('ShouldUpload')] = R5
0069  GETTABUP  R4 = _ENV[K26('SyncModel')]
0070  CLOSURE   R5 = closure proto18
0071  SETTABLE  R4[K32('CanUpload')] = R5
0072  GETTABUP  R4 = _ENV[K26('SyncModel')]
0073  CLOSURE   R5 = closure proto19
0074  SETTABLE  R4[K33('UploadData')] = R5
0075  GETTABUP  R4 = _ENV[K26('SyncModel')]
0076  CLOSURE   R5 = closure proto20
0077  SETTABLE  R4[K34('IsSendingUploadRequest')] = R5
0078  GETTABUP  R4 = _ENV[K26('SyncModel')]
0079  CLOSURE   R5 = closure proto21
0080  SETTABLE  R4[K35('_PackReq')] = R5
0081  GETTABUP  R4 = _ENV[K26('SyncModel')]
0082  CLOSURE   R5 = closure proto22
0083  SETTABLE  R4[K36('_OnUploadFinished')] = R5
0084  GETTABUP  R4 = _ENV[K26('SyncModel')]
0085  CLOSURE   R5 = closure proto23
0086  SETTABLE  R4[K37('ShouldDownload')] = R5
0087  GETTABUP  R4 = _ENV[K26('SyncModel')]
0088  CLOSURE   R5 = closure proto24
0089  SETTABLE  R4[K38('ClearDataUploadRecord')] = R5
0090  GETTABUP  R4 = _ENV[K26('SyncModel')]
0091  CLOSURE   R5 = closure proto25
0092  SETTABLE  R4[K39('_MarkUploaded')] = R5
0093  GETTABUP  R4 = _ENV[K26('SyncModel')]
0094  CLOSURE   R5 = closure proto26
0095  SETTABLE  R4[K40('GetLastSyncTime')] = R5
0096  GETTABUP  R4 = _ENV[K26('SyncModel')]
0097  CLOSURE   R5 = closure proto27
0098  SETTABLE  R4[K41('SetLastSyncTime')] = R5
0099  GETTABUP  R4 = _ENV[K42('SyncModel')]
0100  CLOSURE   R5 = closure proto28
0101  SETTABLE  R4[K43('SetDataInconsistent')] = R5
0102  GETTABUP  R4 = _ENV[K44('SyncModel')]
0103  CLOSURE   R5 = closure proto29
0104  SETTABLE  R4[K45('IsDataInconsistent')] = R5
0105  GETTABUP  R4 = _ENV[K44('SyncModel')]
0106  CLOSURE   R5 = closure proto30
0107  SETTABLE  R4[K46('_SetDataCracked')] = R5
0108  GETTABUP  R4 = _ENV[K44('SyncModel')]
0109  CLOSURE   R5 = closure proto31
0110  SETTABLE  R4[K47('_ClearDataCrackedTag')] = R5
0111  GETTABUP  R4 = _ENV[K44('SyncModel')]
0112  CLOSURE   R5 = closure proto32
0113  SETTABLE  R4[K48('_IsDataCracked')] = R5
0114  GETTABUP  R4 = _ENV[K44('SyncModel')]
0115  CLOSURE   R5 = closure proto33
0116  SETTABLE  R4[K49('_CheckDataCracked')] = R5
0117  GETTABUP  R4 = _ENV[K44('SyncModel')]
0118  CLOSURE   R5 = closure proto34
0119  SETTABLE  R4[K50('_NeedForceSync')] = R5
0120  GETTABUP  R4 = _ENV[K44('SyncModel')]
0121  CLOSURE   R5 = closure proto35
0122  SETTABLE  R4[K51('_SaveNeedForceSync')] = R5
0123  GETTABUP  R4 = _ENV[K52('SyncModel')]
0124  CLOSURE   R5 = closure proto36
0125  SETTABLE  R4[K53('DownloadData')] = R5
0126  GETTABUP  R4 = _ENV[K54('SyncModel')]
0127  CLOSURE   R5 = closure proto37
0128  SETTABLE  R4[K55('OnDownloadDataSuccess')] = R5
0129  GETTABUP  R4 = _ENV[K56('SyncModel')]
0130  CLOSURE   R5 = closure proto38
0131  SETTABLE  R4[K57('_OpenConflictWindow')] = R5
0132  GETTABUP  R4 = _ENV[K56('SyncModel')]
0133  CLOSURE   R5 = closure proto39
0134  SETTABLE  R4[K58('_UseLocalData')] = R5
0135  GETTABUP  R4 = _ENV[K56('SyncModel')]
0136  CLOSURE   R5 = closure proto40
0137  SETTABLE  R4[K59('_UseServerData')] = R5
0138  GETTABUP  R4 = _ENV[K60('SyncModel')]
0139  CLOSURE   R5 = closure proto41
0140  SETTABLE  R4[K61('ClearAllData')] = R5
0141  GETTABUP  R4 = _ENV[K62('SyncModel')]
0142  CLOSURE   R5 = closure proto42
0143  SETTABLE  R4[K63('_NeedResetSyncKey')] = R5
0144  GETTABUP  R4 = _ENV[K62('SyncModel')]
0145  CLOSURE   R5 = closure proto43
0146  SETTABLE  R4[K64('_SetSyncKey')] = R5
0147  GETTABUP  R4 = _ENV[K62('SyncModel')]
0148  CLOSURE   R5 = closure proto44
0149  SETTABLE  R4[K65('_ClearResetSyncKey')] = R5
0150  GETTABUP  R4 = _ENV[K62('SyncModel')]
0151  CLOSURE   R5 = closure proto45
0152  SETTABLE  R4[K66('_GetResetSyncKeyPlayerPrefsKey')] = R5
0153  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 21-38 np=1 va=0 ms=5 code=29 consts=16 upvals=2 protos=1
  ;   K[0]='RegisterModels'
  ;   K[1]='m_funcAutoCheckUpload'
  ;   K[2]='ChangeSyncState'
  ;   K[3]='ESyncState'
  ;   K[4]='Idle'
  ;   K[5]='_ScheduleNextUpload'
  ;   K[6]='EventDispatcher'
  ;   K[7]='AddListener'
  ;   K[8]='EEventType'
  ;   K[9]='LoginFinished'
  ;   K[10]='OnLoginFinished'
  ;   K[11]='_CheckDataCracked'
  ;   K[12]='_SetDataCracked'
  ;   K[13]='GM'
  ;   K[14]='GameModel'
  ;   K[15]='ResetSilentLoginInfo'
  ;   upvals: _ENV, CHECK_UPLOAD_DELAY_OFTEN
  ;   locals: self(0-29), cracked(20-29)
  0000  SELF      R2 = R0[K0('RegisterModels')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  CLOSURE   R1 = closure proto0
  0003  SETTABLE  R0[K1('m_funcAutoCheckUpload')] = R1
  0004  SELF      R2 = R0[K2('ChangeSyncState')] (self)
  0005  GETTABUP  R3 = _ENV[K3('ESyncState')]
  0006  GETTABLE  R3 = R3[K4('Idle')]
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  SELF      R2 = R0[K5('_ScheduleNextUpload')] (self)
  0009  GETUPVAL  R3 = _ENV
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  GETTABUP  R1 = _ENV[K6('EventDispatcher')]
  0012  GETTABLE  R1 = R1[K7('AddListener')]
  0013  GETTABUP  R2 = _ENV[K8('EEventType')]
  0014  GETTABLE  R2 = R2[K9('LoginFinished')]
  0015  MOVE      R3 = R0
  0016  GETTABLE  R4 = R0[K10('OnLoginFinished')]
  0017  CALL      R1 = call(R1, 0 args, 3 rets)
  0018  SELF      R2 = R0[K11('_CheckDataCracked')] (self)
  0019  CALL      R1 = call(R1, 1 args, 1 rets)
  0020  TEST      if not R1 then   -> -131050
  0021  JMP       (jump)   -> 28
  0022  SELF      R3 = R0[K12('_SetDataCracked')] (self)
  0023  CALL      R2 = call(R2, 0 args, 1 rets)
  0024  GETTABUP  R2 = _ENV[K13('GM')]
  0025  GETTABLE  R2 = R2[K14('GameModel')]
  0026  SELF      R3 = R2[K15('ResetSilentLoginInfo')] (self)
  0027  CALL      R2 = call(R2, 0 args, 1 rets)
  0028  RETURN    return R0..R-1
  ; ---------- proto0 [m_funcAutoCheckUpload] ----------
    ; fn ?  line 24-26 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='CheckUpload'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CheckUpload')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 40-44 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='UnregisterModels'
  ;   K[1]='EventDispatcher'
  ;   K[2]='RemoveTarget'
  ;   K[3]='Scheduler'
  ;   K[4]='UnscheduleTarget'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  SELF      R2 = R0[K0('UnregisterModels')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('EventDispatcher')]
  0003  GETTABLE  R1 = R1[K2('RemoveTarget')]
  0004  MOVE      R2 = R0
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  GETTABUP  R1 = _ENV[K3('Scheduler')]
  0007  GETTABLE  R1 = R1[K4('UnscheduleTarget')]
  0008  MOVE      R2 = R0
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto2 [ApplicationWillEnterForeground] ----------
  ; fn ?  line 46-48 np=1 va=0 ms=4 code=4 consts=1 upvals=1 protos=0
  ;   K[0]='_ScheduleNextUpload'
  ;   upvals: CHECK_UPLOAD_DELAY_OFTEN
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('_ScheduleNextUpload')] (self)
  0001  GETUPVAL  R3 = CHECK_UPLOAD_DELAY_OFTEN
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto3 [SyncDataWhenLoading] ----------
  ; fn ?  line 50-63 np=2 va=0 ms=7 code=29 consts=4 upvals=0 protos=1
  ;   K[0]='ShouldDownload'
  ;   K[1]='DownloadData'
  ;   K[2]='ShouldUpload'
  ;   K[3]='UploadData'
  ;   locals: self(0-29), callbackFunc(0-29)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 4
  0002  CLOSURE   R2 = closure proto0
  0003  MOVE      R1 = R0
  0004  SELF      R3 = R0[K0('ShouldDownload')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 13
  0008  SELF      R3 = R0[K1('DownloadData')] (self)
  0009  MOVE      R4 = R0
  0010  LOADBOOL  R5 = true
  0011  CALL      R2 = call(R2, 0 args, 3 rets)
  0012  JMP       (jump)   -> 28
  0013  SELF      R3 = R0[K2('ShouldUpload')] (self)
  0014  CALL      R2 = call(R2, 1 args, 1 rets)
  0015  TEST      if not R2 then   -> -131055
  0016  JMP       (jump)   -> 25
  0017  MOVE      R2 = R0
  0018  LOADBOOL  R3 = true
  0019  CALL      R2 = call(R2, 0 args, 1 rets)
  0020  SELF      R3 = R0[K3('UploadData')] (self)
  0021  LOADNIL   R4..R4 = nil
  0022  LOADBOOL  R6 = false
  0023  CALL      R2 = call(R2, 0 args, 4 rets)
  0024  JMP       (jump)   -> 28
  0025  MOVE      R2 = R0
  0026  LOADBOOL  R3 = true
  0027  CALL      R2 = call(R2, 0 args, 1 rets)
  0028  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 51-51 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
    0000  RETURN    return R0..R-1
; ---------- proto4 [OnSceneViewLoaded] ----------
  ; fn ?  line 65-70 np=1 va=0 ms=4 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_downloadedServerData'
  ;   K[1]=nil
  ;   K[2]='_OpenConflictWindow'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_downloadedServerData')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  SELF      R2 = R0[K2('_OpenConflictWindow')] (self)
  0004  GETTABLE  R3 = R0[K0('m_downloadedServerData')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  SETTABLE  R0[K0('m_downloadedServerData')] = K1(nil)
  0007  RETURN    return R0..R-1
; ---------- proto5 [RegisterModel] ----------
  ; fn ?  line 72-77 np=4 va=0 ms=7 code=26 consts=10 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Assert'
  ;   K[2]='SyncModel:RegisterModel 1'
  ;   K[3]='GetData'
  ;   K[4]='FromSyncData'
  ;   K[5]='SyncModel:RegisterModel 2'
  ;   K[6]=nil
  ;   K[7]='m_mapRegisteredModels'
  ;   K[8]='name'
  ;   K[9]='bCanTriggerUpload'
  ;   upvals: _ENV
  ;   locals: self(0-26), model(0-26), serverFieldName(0-26), bCanTriggerUpload(0-26)
  0000  GETTABUP  R4 = _ENV[K0('Log')]
  0001  GETTABLE  R4 = R4[K1('Assert')]
  0002  TESTSET   if R0 then R5   -> -130556
  0003  JMP       (jump)   -> 5
  0004  MOVE      R5 = R0
  0005  LOADK     R6 = K2 'SyncModel:RegisterModel 1'
  0006  CALL      R4 = call(R4, 0 args, 2 rets)
  0007  GETTABUP  R4 = _ENV[K0('Log')]
  0008  GETTABLE  R4 = R4[K1('Assert')]
  0009  GETTABLE  R5 = R1[K3('GetData')]
  0010  TEST      if not R5 then   -> -131060
  0011  JMP       (jump)   -> 13
  0012  GETTABLE  R5 = R1[K4('FromSyncData')]
  0013  LOADK     R6 = K5 'SyncModel:RegisterModel 2'
  0014  CALL      R4 = call(R4, 0 args, 2 rets)
  0015  EQ        if R0 eq K6(nil)   -> -129257
  0016  JMP       (jump)   -> 20
  0017  LOADBOOL  R4 = true
  0018  TESTSET   if R1 then R3   -> -129003
  0019  JMP       (jump)   -> 20
  0020  GETTABLE  R4 = R0[K7('m_mapRegisteredModels')]
  0021  NEWTABLE  R5 = {} (0 items)
  0022  SETTABLE  R5[K8('name')] = R2
  0023  SETTABLE  R5[K9('bCanTriggerUpload')] = R3
  0024  SETTABLE  R4[R1] = R5
  0025  RETURN    return R0..R-1
; ---------- proto6 [RegisterModels] ----------
  ; fn ?  line 79-91 np=1 va=0 ms=6 code=55 consts=23 upvals=1 protos=0
  ;   K[0]='m_mapRegisteredModels'
  ;   K[1]='RegisterModel'
  ;   K[2]='GM'
  ;   K[3]='EnergyModel'
  ;   K[4]='energy'
  ;   K[5]='ItemDataModel'
  ;   K[6]='itemUnlock'
  ;   K[7]='ShopModel'
  ;   K[8]='shop'
  ;   K[9]='TutorialModel'
  ;   K[10]='tutorial'
  ;   K[11]='MiscModel'
  ;   K[12]='misc'
  ;   K[13]='UserProfileModel'
  ;   K[14]='profile'
  ;   K[15]='ReturnUserModel'
  ;   K[16]='return_user'
  ;   K[17]='RewardModel'
  ;   K[18]='local_rewards'
  ;   K[19]='BIManager'
  ;   K[20]='bi_sync'
  ;   K[21]='NoticeModel'
  ;   K[22]='notice'
  ;   upvals: _ENV
  ;   locals: self(0-55)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapRegisteredModels')] = R1
  0002  SELF      R2 = R0[K1('RegisterModel')] (self)
  0003  GETTABUP  R3 = _ENV[K2('GM')]
  0004  GETTABLE  R3 = R3[K3('EnergyModel')]
  0005  LOADK     R4 = K4 'energy'
  0006  LOADBOOL  R5 = false
  0007  CALL      R1 = call(R1, 0 args, 4 rets)
  0008  SELF      R2 = R0[K1('RegisterModel')] (self)
  0009  GETTABUP  R3 = _ENV[K2('GM')]
  0010  GETTABLE  R3 = R3[K5('ItemDataModel')]
  0011  LOADK     R4 = K6 'itemUnlock'
  0012  CALL      R1 = call(R1, 0 args, 3 rets)
  0013  SELF      R2 = R0[K1('RegisterModel')] (self)
  0014  GETTABUP  R3 = _ENV[K2('GM')]
  0015  GETTABLE  R3 = R3[K7('ShopModel')]
  0016  LOADK     R4 = K8 'shop'
  0017  CALL      R1 = call(R1, 0 args, 3 rets)
  0018  SELF      R2 = R0[K1('RegisterModel')] (self)
  0019  GETTABUP  R3 = _ENV[K2('GM')]
  0020  GETTABLE  R3 = R3[K9('TutorialModel')]
  0021  LOADK     R4 = K10 'tutorial'
  0022  CALL      R1 = call(R1, 0 args, 3 rets)
  0023  SELF      R2 = R0[K1('RegisterModel')] (self)
  0024  GETTABUP  R3 = _ENV[K2('GM')]
  0025  GETTABLE  R3 = R3[K11('MiscModel')]
  0026  LOADK     R4 = K12 'misc'
  0027  CALL      R1 = call(R1, 0 args, 3 rets)
  0028  SELF      R2 = R0[K1('RegisterModel')] (self)
  0029  GETTABUP  R3 = _ENV[K2('GM')]
  0030  GETTABLE  R3 = R3[K13('UserProfileModel')]
  0031  LOADK     R4 = K14 'profile'
  0032  CALL      R1 = call(R1, 0 args, 3 rets)
  0033  SELF      R2 = R0[K1('RegisterModel')] (self)
  0034  GETTABUP  R3 = _ENV[K2('GM')]
  0035  GETTABLE  R3 = R3[K15('ReturnUserModel')]
  0036  LOADK     R4 = K16 'return_user'
  0037  CALL      R1 = call(R1, 0 args, 3 rets)
  0038  SELF      R2 = R0[K1('RegisterModel')] (self)
  0039  GETTABUP  R3 = _ENV[K2('GM')]
  0040  GETTABLE  R3 = R3[K17('RewardModel')]
  0041  LOADK     R4 = K18 'local_rewards'
  0042  CALL      R1 = call(R1, 0 args, 3 rets)
  0043  SELF      R2 = R0[K1('RegisterModel')] (self)
  0044  GETTABUP  R3 = _ENV[K2('GM')]
  0045  GETTABLE  R3 = R3[K19('BIManager')]
  0046  LOADK     R4 = K20 'bi_sync'
  0047  LOADBOOL  R5 = false
  0048  CALL      R1 = call(R1, 0 args, 4 rets)
  0049  SELF      R2 = R0[K1('RegisterModel')] (self)
  0050  GETTABUP  R3 = _ENV[K2('GM')]
  0051  GETTABLE  R3 = R3[K21('NoticeModel')]
  0052  LOADK     R4 = K22 'notice'
  0053  CALL      R1 = call(R1, 0 args, 3 rets)
  0054  RETURN    return R0..R-1
; ---------- proto7 [UnregisterModels] ----------
  ; fn ?  line 93-95 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapRegisteredModels'
  ;   locals: self(0-3)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapRegisteredModels')] = R1
  0002  RETURN    return R0..R-1
; ---------- proto8 [ChangeSyncState] ----------
  ; fn ?  line 97-100 np=2 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='eSyncState'
  ;   K[1]='EventDispatcher'
  ;   K[2]='DispatchEvent'
  ;   K[3]='EEventType'
  ;   K[4]='SyncStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-7), eSyncState(0-7)
  0000  SETTABLE  R0[K0('eSyncState')] = R1
  0001  GETTABUP  R2 = _ENV[K1('EventDispatcher')]
  0002  GETTABLE  R2 = R2[K2('DispatchEvent')]
  0003  GETTABUP  R3 = _ENV[K3('EEventType')]
  0004  GETTABLE  R3 = R3[K4('SyncStateChanged')]
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto9 [_UnScheduleNextUpload] ----------
  ; fn ?  line 102-107 np=1 va=0 ms=4 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='m_funcAutoCheckUpload'
  ;   K[1]='Scheduler'
  ;   K[2]='Unschedule'
  ;   K[3]='Log'
  ;   K[4]='Info'
  ;   K[5]='SyncModel unschedule next upload'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_funcAutoCheckUpload')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 12
  0003  GETTABUP  R1 = _ENV[K1('Scheduler')]
  0004  GETTABLE  R1 = R1[K2('Unschedule')]
  0005  GETTABLE  R2 = R0[K0('m_funcAutoCheckUpload')]
  0006  MOVE      R3 = R0
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  GETTABUP  R1 = _ENV[K3('Log')]
  0009  GETTABLE  R1 = R1[K4('Info')]
  0010  LOADK     R2 = K5 'SyncModel unschedule next upload'
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto10 [_ScheduleNextUpload] ----------
  ; fn ?  line 109-114 np=2 va=0 ms=7 code=17 consts=9 upvals=1 protos=0
  ;   K[0]='_UnScheduleNextUpload'
  ;   K[1]='m_checkUploadDelay'
  ;   K[2]='Scheduler'
  ;   K[3]='Schedule'
  ;   K[4]='m_funcAutoCheckUpload'
  ;   K[5]=1
  ;   K[6]='Log'
  ;   K[7]='Info'
  ;   K[8]='SyncModel schedule next upload, delay:'
  ;   upvals: _ENV
  ;   locals: self(0-17), delay(0-17)
  0000  SELF      R3 = R0[K0('_UnScheduleNextUpload')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  SETTABLE  R0[K1('m_checkUploadDelay')] = R1
  0003  GETTABUP  R2 = _ENV[K2('Scheduler')]
  0004  GETTABLE  R2 = R2[K3('Schedule')]
  0005  GETTABLE  R3 = R0[K4('m_funcAutoCheckUpload')]
  0006  MOVE      R4 = R0
  0007  MOVE      R5 = R0
  0008  LOADK     R6 = K5 1
  0009  CALL      R2 = call(R2, 0 args, 4 rets)
  0010  GETTABUP  R2 = _ENV[K6('Log')]
  0011  GETTABLE  R2 = R2[K7('Info')]
  0012  LOADK     R3 = K8 'SyncModel schedule next upload, delay:'
  0013  MOVE      R4 = R0
  0014  CONCAT    R3 = concat(R3..R3)
  0015  CALL      R2 = call(R2, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto11 [_UpdateCheckUploadDelay] ----------
  ; fn ?  line 116-130 np=2 va=0 ms=6 code=47 consts=8 upvals=4 protos=0
  ;   K[0]='GM'
  ;   K[1]='DBTableManager'
  ;   K[2]='HasSaveFailed'
  ;   K[3]='_ScheduleNextUpload'
  ;   K[4]='m_bUploadSucceed'
  ;   K[5]=true
  ;   K[6]='m_checkUploadDelay'
  ;   K[7]=false
  ;   upvals: _ENV, CHECK_UPLOAD_DELAY_OFTEN, CHECK_UPLOAD_DELAY_NORMAL, CHECK_UPLOAD_DELAY_OFTEN_STEP
  ;   locals: self(0-47), bUploadSuccess(0-47)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('DBTableManager')]
  0002  SELF      R3 = R2[K2('HasSaveFailed')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 10
  0006  SELF      R3 = R0[K3('_ScheduleNextUpload')] (self)
  0007  GETUPVAL  R4 = _ENV
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  JMP       (jump)   -> 46
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 17
  0012  SELF      R3 = R0[K3('_ScheduleNextUpload')] (self)
  0013  GETUPVAL  R4 = _ENV
  0014  CALL      R2 = call(R2, 0 args, 2 rets)
  0015  SETTABLE  R0[K4('m_bUploadSucceed')] = K5(true)
  0016  JMP       (jump)   -> 46
  0017  GETTABLE  R2 = R0[K6('m_checkUploadDelay')]
  0018  GETUPVAL  R3 = _ENV
  0019  EQ        if R0 eq R3   -> -130024
  0020  JMP       (jump)   -> 29
  0021  GETTABLE  R2 = R0[K4('m_bUploadSucceed')]
  0022  EQ        if R0 eq K5(true)   -> -129763
  0023  JMP       (jump)   -> 29
  0024  SELF      R3 = R0[K3('_ScheduleNextUpload')] (self)
  0025  GETUPVAL  R4 = _ENV
  0026  CALL      R2 = call(R2, 0 args, 2 rets)
  0027  SETTABLE  R0[K4('m_bUploadSucceed')] = K7(false)
  0028  JMP       (jump)   -> 46
  0029  GETTABLE  R2 = R0[K6('m_checkUploadDelay')]
  0030  GETUPVAL  R3 = _ENV
  0031  LE        if R0 le R2   -> -129501
  0032  JMP       (jump)   -> 43
  0033  GETTABLE  R2 = R0[K6('m_checkUploadDelay')]
  0034  GETUPVAL  R3 = _ENV
  0035  LT        if R0 lt R3   -> -130008
  0036  JMP       (jump)   -> 43
  0037  SELF      R3 = R0[K3('_ScheduleNextUpload')] (self)
  0038  GETTABLE  R4 = R0[K6('m_checkUploadDelay')]
  0039  GETUPVAL  R5 = _ENV
  0040  ADD       R4 = R5 add R4
  0041  CALL      R2 = call(R2, 0 args, 2 rets)
  0042  JMP       (jump)   -> 46
  0043  SELF      R3 = R0[K3('_ScheduleNextUpload')] (self)
  0044  GETUPVAL  R4 = _ENV
  0045  CALL      R2 = call(R2, 0 args, 2 rets)
  0046  RETURN    return R0..R-1
; ---------- proto12 [OnLoginFinished] ----------
  ; fn ?  line 132-211 np=2 va=0 ms=18 code=187 consts=53 upvals=1 protos=0
  ;   K[0]='bSuccess'
  ;   K[1]='m_bEverLoginSuccess'
  ;   K[2]=true
  ;   K[3]='tbResp'
  ;   K[4]='tonumber'
  ;   K[5]='last_sync_time'
  ;   K[6]=0
  ;   K[7]='GM'
  ;   K[8]='UserModel'
  ;   K[9]='newUser'
  ;   K[10]=false
  ;   K[11]='_NeedForceSync'
  ;   K[12]='force_sync'
  ;   K[13]=1
  ;   K[14]='_SaveNeedForceSync'
  ;   K[15]='DownloadData'
  ;   K[16]='UIManager'
  ;   K[17]='IsViewExisting'
  ;   K[18]='UIPrefabConfigName'
  ;   K[19]='DataConflictWindow'
  ;   K[20]='BIManager'
  ;   K[21]='LogProject'
  ;   K[22]='EBIType'
  ;   K[23]='SyncModel'
  ;   K[24]='SyncModelAction'
  ;   K[25]='LoginConflictExist'
  ;   K[26]='_ClearDataCrackedTag'
  ;   K[27]='SetDataInconsistent'
  ;   K[28]='ClearDataUploadRecord'
  ;   K[29]='UploadData'
  ;   K[30]='_IsDataCracked'
  ;   K[31]='LogErrorInfo'
  ;   K[32]='DataCracked'
  ;   K[33]='cracked on login'
  ;   K[34]='GetLastSyncTime'
  ;   K[35]='tostring'
  ;   K[36]='LoginSyncTimeDiffer'
  ;   K[37]=' local: '
  ;   K[38]=' server: '
  ;   K[39]='installation_id'
  ;   K[40]='GetInstallUuid'
  ;   K[41]='update_device_model'
  ;   K[42]='DeviceInfo'
  ;   K[43]='GetDeviceModel'
  ;   K[44]=''
  ;   K[45]='LoginDeviceIdDiffer'
  ;   K[46]='LoginDeviceModelDiffer'
  ;   K[47]='math'
  ;   K[48]='max'
  ;   K[49]='Log'
  ;   K[50]='Info'
  ;   K[51]='SyncModel OnLoginFinished same syncTime'
  ;   K[52]='CheckUpload'
  ;   upvals: _ENV
  ;   locals: self(0-187), msg(0-187), tbResp(9-187), serverSyncTime(15-187), localSyncTime(85-187), serverDeviceId(108-176), localDeviceId(112-176), serverDeviceModel(113-176), localDeviceModel(116-176)
  0000  GETTABLE  R2 = R1[K0('bSuccess')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K1('m_bEverLoginSuccess')] = K2(true)
  0005  GETTABLE  R2 = R1[K3('tbResp')]
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  NEWTABLE  R2 = {} (0 items)
  0009  GETTABUP  R3 = _ENV[K4('tonumber')]
  0010  GETTABLE  R4 = R2[K5('last_sync_time')]
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  TEST      if not R3 then   -> -131057
  0013  JMP       (jump)   -> 15
  0014  LOADK     R3 = K6 0
  0015  EQ        if R1 eq K6(0)   -> -129257
  0016  JMP       (jump)   -> 20
  0017  GETTABUP  R4 = _ENV[K7('GM')]
  0018  GETTABLE  R4 = R4[K8('UserModel')]
  0019  SETTABLE  R4[K9('newUser')] = K10(false)
  0020  SELF      R5 = R0[K11('_NeedForceSync')] (self)
  0021  CALL      R4 = call(R4, 1 args, 1 rets)
  0022  TEST      if not R4 then   -> -131047
  0023  JMP       (jump)   -> 27
  0024  GETTABLE  R4 = R2[K12('force_sync')]
  0025  EQ        if R0 eq K13(1)   -> -128728
  0026  JMP       (jump)   -> 36
  0027  SELF      R5 = R0[K14('_SaveNeedForceSync')] (self)
  0028  LOADBOOL  R6 = true
  0029  CALL      R4 = call(R4, 0 args, 2 rets)
  0030  SELF      R5 = R0[K15('DownloadData')] (self)
  0031  LOADNIL   R6..R6 = nil
  0032  LOADBOOL  R7 = false
  0033  LOADBOOL  R8 = true
  0034  CALL      R4 = call(R4, 0 args, 4 rets)
  0035  RETURN    return R0..R-1
  0036  GETTABUP  R4 = _ENV[K7('GM')]
  0037  GETTABLE  R4 = R4[K16('UIManager')]
  0038  SELF      R5 = R4[K17('IsViewExisting')] (self)
  0039  GETTABUP  R6 = _ENV[K18('UIPrefabConfigName')]
  0040  GETTABLE  R6 = R6[K19('DataConflictWindow')]
  0041  CALL      R4 = call(R4, 1 args, 2 rets)
  0042  TEST      if not R4 then   -> -131028
  0043  JMP       (jump)   -> 54
  0044  GETTABUP  R4 = _ENV[K7('GM')]
  0045  GETTABLE  R4 = R4[K20('BIManager')]
  0046  SELF      R5 = R4[K21('LogProject')] (self)
  0047  GETTABUP  R6 = _ENV[K22('EBIType')]
  0048  GETTABLE  R6 = R6[K23('SyncModel')]
  0049  GETTABUP  R7 = _ENV[K22('EBIType')]
  0050  GETTABLE  R7 = R7[K24('SyncModelAction')]
  0051  GETTABLE  R7 = R7[K25('LoginConflictExist')]
  0052  CALL      R4 = call(R4, 0 args, 3 rets)
  0053  RETURN    return R0..R-1
  0054  EQ        if R0 eq K6(0)   -> -129218
  0055  JMP       (jump)   -> 66
  0056  SELF      R5 = R0[K26('_ClearDataCrackedTag')] (self)
  0057  CALL      R4 = call(R4, 0 args, 1 rets)
  0058  SELF      R5 = R0[K27('SetDataInconsistent')] (self)
  0059  LOADBOOL  R6 = false
  0060  CALL      R4 = call(R4, 0 args, 2 rets)
  0061  SELF      R5 = R0[K28('ClearDataUploadRecord')] (self)
  0062  CALL      R4 = call(R4, 0 args, 1 rets)
  0063  SELF      R5 = R0[K29('UploadData')] (self)
  0064  CALL      R4 = call(R4, 0 args, 1 rets)
  0065  RETURN    return R0..R-1
  0066  SELF      R5 = R0[K30('_IsDataCracked')] (self)
  0067  CALL      R4 = call(R4, 1 args, 1 rets)
  0068  TEST      if not R4 then   -> -131002
  0069  JMP       (jump)   -> 83
  0070  SELF      R5 = R0[K15('DownloadData')] (self)
  0071  LOADNIL   R6..R6 = nil
  0072  LOADBOOL  R7 = false
  0073  LOADBOOL  R8 = true
  0074  CALL      R4 = call(R4, 0 args, 4 rets)
  0075  GETTABUP  R4 = _ENV[K7('GM')]
  0076  GETTABLE  R4 = R4[K20('BIManager')]
  0077  SELF      R5 = R4[K31('LogErrorInfo')] (self)
  0078  GETTABUP  R6 = _ENV[K22('EBIType')]
  0079  GETTABLE  R6 = R6[K32('DataCracked')]
  0080  LOADK     R7 = K33 'cracked on login'
  0081  CALL      R4 = call(R4, 0 args, 3 rets)
  0082  RETURN    return R0..R-1
  0083  SELF      R5 = R0[K34('GetLastSyncTime')] (self)
  0084  CALL      R4 = call(R4, 1 args, 1 rets)
  0085  EQ        if R1 eq R4   -> -129445
  0086  JMP       (jump)   -> 177
  0087  GETTABUP  R5 = _ENV[K7('GM')]
  0088  GETTABLE  R5 = R5[K20('BIManager')]
  0089  SELF      R6 = R5[K21('LogProject')] (self)
  0090  GETTABUP  R7 = _ENV[K22('EBIType')]
  0091  GETTABLE  R7 = R7[K23('SyncModel')]
  0092  GETTABUP  R8 = _ENV[K35('tostring')]
  0093  GETTABUP  R9 = _ENV[K22('EBIType')]
  0094  GETTABLE  R9 = R9[K24('SyncModelAction')]
  0095  GETTABLE  R9 = R9[K36('LoginSyncTimeDiffer')]
  0096  CALL      R8 = call(R8, 1 args, 1 rets)
  0097  LOADK     R9 = K37 ' local: '
  0098  GETTABUP  R10 = _ENV[K35('tostring')]
  0099  MOVE      R11 = R0
  0100  CALL      R10 = call(R10, 1 args, 1 rets)
  0101  LOADK     R11 = K38 ' server: '
  0102  GETTABUP  R12 = _ENV[K35('tostring')]
  0103  MOVE      R13 = R0
  0104  CALL      R12 = call(R12, 1 args, 1 rets)
  0105  CONCAT    R8 = concat(R8..R8)
  0106  CALL      R5 = call(R5, 0 args, 3 rets)
  0107  GETTABLE  R5 = R2[K39('installation_id')]
  0108  GETTABUP  R6 = _ENV[K7('GM')]
  0109  GETTABLE  R6 = R6[K8('UserModel')]
  0110  SELF      R7 = R6[K40('GetInstallUuid')] (self)
  0111  CALL      R6 = call(R6, 1 args, 1 rets)
  0112  GETTABLE  R7 = R2[K41('update_device_model')]
  0113  GETTABUP  R8 = _ENV[K42('DeviceInfo')]
  0114  GETTABLE  R8 = R8[K43('GetDeviceModel')]
  0115  CALL      R8 = call(R8, 1 args, 0 rets)
  0116  EQ        if R0 eq R6   -> -128388
  0117  JMP       (jump)   -> 122
  0118  EQ        if R1 eq K44('')   -> -127068
  0119  JMP       (jump)   -> 168
  0120  EQ        if R1 eq R8   -> -127358
  0121  JMP       (jump)   -> 168
  0122  EQ        if R1 eq R6   -> -128382
  0123  JMP       (jump)   -> 145
  0124  GETTABUP  R9 = _ENV[K7('GM')]
  0125  GETTABLE  R9 = R9[K20('BIManager')]
  0126  SELF      R10 = R9[K21('LogProject')] (self)
  0127  GETTABUP  R11 = _ENV[K22('EBIType')]
  0128  GETTABLE  R11 = R11[K23('SyncModel')]
  0129  GETTABUP  R12 = _ENV[K35('tostring')]
  0130  GETTABUP  R13 = _ENV[K22('EBIType')]
  0131  GETTABLE  R13 = R13[K24('SyncModelAction')]
  0132  GETTABLE  R13 = R13[K45('LoginDeviceIdDiffer')]
  0133  CALL      R12 = call(R12, 1 args, 1 rets)
  0134  LOADK     R13 = K37 ' local: '
  0135  GETTABUP  R14 = _ENV[K35('tostring')]
  0136  MOVE      R15 = R0
  0137  CALL      R14 = call(R14, 1 args, 1 rets)
  0138  LOADK     R15 = K38 ' server: '
  0139  GETTABUP  R16 = _ENV[K35('tostring')]
  0140  MOVE      R17 = R0
  0141  CALL      R16 = call(R16, 1 args, 1 rets)
  0142  CONCAT    R12 = concat(R12..R12)
  0143  CALL      R9 = call(R9, 0 args, 3 rets)
  0144  JMP       (jump)   -> 165
  0145  GETTABUP  R9 = _ENV[K7('GM')]
  0146  GETTABLE  R9 = R9[K20('BIManager')]
  0147  SELF      R10 = R9[K21('LogProject')] (self)
  0148  GETTABUP  R11 = _ENV[K22('EBIType')]
  0149  GETTABLE  R11 = R11[K23('SyncModel')]
  0150  GETTABUP  R12 = _ENV[K35('tostring')]
  0151  GETTABUP  R13 = _ENV[K22('EBIType')]
  0152  GETTABLE  R13 = R13[K24('SyncModelAction')]
  0153  GETTABLE  R13 = R13[K46('LoginDeviceModelDiffer')]
  0154  CALL      R12 = call(R12, 1 args, 1 rets)
  0155  LOADK     R13 = K37 ' local: '
  0156  GETTABUP  R14 = _ENV[K35('tostring')]
  0157  MOVE      R15 = R0
  0158  CALL      R14 = call(R14, 1 args, 1 rets)
  0159  LOADK     R15 = K38 ' server: '
  0160  GETTABUP  R16 = _ENV[K35('tostring')]
  0161  MOVE      R17 = R0
  0162  CALL      R16 = call(R16, 1 args, 1 rets)
  0163  CONCAT    R12 = concat(R12..R12)
  0164  CALL      R9 = call(R9, 0 args, 3 rets)
  0165  SELF      R10 = R0[K15('DownloadData')] (self)
  0166  CALL      R9 = call(R9, 0 args, 1 rets)
  0167  JMP       (jump)   -> 186
  0168  SELF      R10 = R0[K29('UploadData')] (self)
  0169  LOADNIL   R11..R11 = nil
  0170  GETTABUP  R12 = _ENV[K47('math')]
  0171  GETTABLE  R12 = R12[K48('max')]
  0172  MOVE      R13 = R0
  0173  MOVE      R14 = R0
  0174  CALL      R12 = call(R12, -1 args, 2 rets)
  0175  CALL      R9 = call(R9, 0 args, -1 rets)
  0176  JMP       (jump)   -> 186
  0177  GETTABUP  R5 = _ENV[K49('Log')]
  0178  GETTABLE  R5 = R5[K50('Info')]
  0179  LOADK     R6 = K51 'SyncModel OnLoginFinished same syncTime'
  0180  CALL      R5 = call(R5, 0 args, 1 rets)
  0181  SELF      R6 = R0[K27('SetDataInconsistent')] (self)
  0182  LOADBOOL  R7 = false
  0183  CALL      R5 = call(R5, 0 args, 2 rets)
  0184  SELF      R6 = R0[K52('CheckUpload')] (self)
  0185  CALL      R5 = call(R5, 0 args, 1 rets)
  0186  RETURN    return R0..R-1
; ---------- proto13 [_GetUploadDataTableArray] ----------
  ; fn ?  line 215-243 np=2 va=0 ms=17 code=73 consts=25 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UserModel'
  ;   K[2]='GetData'
  ;   K[3]='MainBoardModel'
  ;   K[4]='GetItemData'
  ;   K[5]='GetItemLayerData'
  ;   K[6]='GetItemCacheData'
  ;   K[7]='GetItemStoreData'
  ;   K[8]='GetOrderMetaData'
  ;   K[9]='GetOrderData'
  ;   K[10]='ShopModel'
  ;   K[11]='GetShopItemDB'
  ;   K[12]='ActivityManager'
  ;   K[13]='GetGeneralData'
  ;   K[14]='BundleManager'
  ;   K[15]='GetBundleDataTable'
  ;   K[16]='GetBundleMetaDataTable'
  ;   K[17]='TaskManager'
  ;   K[18]='GetMetaData'
  ;   K[19]='GetFinishedTaskData'
  ;   K[20]='pairs'
  ;   K[21]='m_mapRegisteredModels'
  ;   K[22]='bCanTriggerUpload'
  ;   K[23]='table'
  ;   K[24]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-73), checkingIfShouldUpload(0-73), arrDataTable(54-73), (for generator)(57-71), (for state)(57-71), (for control)(57-71), model(58-69), params(58-69)
  0000  NEWTABLE  R2 = {} (12 items)
  0001  GETTABUP  R3 = _ENV[K0('GM')]
  0002  GETTABLE  R3 = R3[K1('UserModel')]
  0003  SELF      R4 = R3[K2('GetData')] (self)
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  GETTABUP  R4 = _ENV[K0('GM')]
  0006  GETTABLE  R4 = R4[K3('MainBoardModel')]
  0007  SELF      R5 = R4[K4('GetItemData')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  GETTABUP  R5 = _ENV[K0('GM')]
  0010  GETTABLE  R5 = R5[K3('MainBoardModel')]
  0011  SELF      R6 = R5[K5('GetItemLayerData')] (self)
  0012  CALL      R5 = call(R5, 1 args, 1 rets)
  0013  GETTABUP  R6 = _ENV[K0('GM')]
  0014  GETTABLE  R6 = R6[K3('MainBoardModel')]
  0015  SELF      R7 = R6[K6('GetItemCacheData')] (self)
  0016  CALL      R6 = call(R6, 1 args, 1 rets)
  0017  GETTABUP  R7 = _ENV[K0('GM')]
  0018  GETTABLE  R7 = R7[K3('MainBoardModel')]
  0019  SELF      R8 = R7[K7('GetItemStoreData')] (self)
  0020  CALL      R7 = call(R7, 1 args, 1 rets)
  0021  GETTABUP  R8 = _ENV[K0('GM')]
  0022  GETTABLE  R8 = R8[K3('MainBoardModel')]
  0023  SELF      R9 = R8[K8('GetOrderMetaData')] (self)
  0024  CALL      R8 = call(R8, 1 args, 1 rets)
  0025  GETTABUP  R9 = _ENV[K0('GM')]
  0026  GETTABLE  R9 = R9[K3('MainBoardModel')]
  0027  SELF      R10 = R9[K9('GetOrderData')] (self)
  0028  CALL      R9 = call(R9, 1 args, 1 rets)
  0029  GETTABUP  R10 = _ENV[K0('GM')]
  0030  GETTABLE  R10 = R10[K10('ShopModel')]
  0031  SELF      R11 = R10[K11('GetShopItemDB')] (self)
  0032  CALL      R10 = call(R10, 1 args, 1 rets)
  0033  GETTABUP  R11 = _ENV[K0('GM')]
  0034  GETTABLE  R11 = R11[K12('ActivityManager')]
  0035  SELF      R12 = R11[K13('GetGeneralData')] (self)
  0036  CALL      R11 = call(R11, 1 args, 1 rets)
  0037  GETTABUP  R12 = _ENV[K0('GM')]
  0038  GETTABLE  R12 = R12[K14('BundleManager')]
  0039  SELF      R13 = R12[K15('GetBundleDataTable')] (self)
  0040  CALL      R12 = call(R12, 1 args, 1 rets)
  0041  GETTABUP  R13 = _ENV[K0('GM')]
  0042  GETTABLE  R13 = R13[K14('BundleManager')]
  0043  SELF      R14 = R13[K16('GetBundleMetaDataTable')] (self)
  0044  CALL      R13 = call(R13, 1 args, 1 rets)
  0045  GETTABUP  R14 = _ENV[K0('GM')]
  0046  GETTABLE  R14 = R14[K17('TaskManager')]
  0047  SELF      R15 = R14[K18('GetMetaData')] (self)
  0048  CALL      R14 = call(R14, 1 args, 1 rets)
  0049  GETTABUP  R15 = _ENV[K0('GM')]
  0050  GETTABLE  R15 = R15[K17('TaskManager')]
  0051  SELF      R16 = R15[K19('GetFinishedTaskData')] (self)
  0052  CALL      R15 = call(R15, -1 args, 1 rets)
  0053  SETLIST   setlist R2[B=1,C=0]
  0054  GETTABUP  R3 = _ENV[K20('pairs')]
  0055  GETTABLE  R4 = R0[K21('m_mapRegisteredModels')]
  0056  CALL      R3 = call(R3, 3 args, 1 rets)
  0057  JMP       (jump)   -> 69
  0058  TEST      if not R1 then   -> -131012
  0059  JMP       (jump)   -> 63
  0060  GETTABLE  R8 = R7[K22('bCanTriggerUpload')]
  0061  TEST      if not R8 then   -> -131009
  0062  JMP       (jump)   -> 69
  0063  GETTABUP  R8 = _ENV[K23('table')]
  0064  GETTABLE  R8 = R8[K24('insert')]
  0065  MOVE      R9 = R0
  0066  SELF      R11 = R6[K2('GetData')] (self)
  0067  CALL      R10 = call(R10, -1 args, 1 rets)
  0068  CALL      R8 = call(R8, 0 args, -1 rets)
  0069  TFORCALL  tforcall R3
  0070  TFORLOOP  tforloop R5(sBx=-13)   -> 58
  0071  RETURN    return R2..R1
  0072  RETURN    return R0..R-1
; ---------- proto14 [ShouldUploadData] ----------
  ; fn ?  line 245-252 np=2 va=0 ms=5 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Assert'
  ;   K[2]='SyncModel:ShouldUploadData'
  ;   K[3]='IsModified'
  ;   upvals: _ENV
  ;   locals: self(0-13), dbTable(0-13)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 9
  0002  GETTABUP  R2 = _ENV[K0('Log')]
  0003  GETTABLE  R2 = R2[K1('Assert')]
  0004  LOADBOOL  R3 = false
  0005  LOADK     R4 = K2 'SyncModel:ShouldUploadData'
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  LOADBOOL  R2 = false
  0008  RETURN    return R2..R1
  0009  SELF      R3 = R1[K3('IsModified')] (self)
  0010  TAILCALL  tailcall(R2, 0)
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto15 [_GetDataToUpload] ----------
  ; fn ?  line 254-261 np=2 va=0 ms=5 code=14 consts=3 upvals=0 protos=0
  ;   K[0]='ShouldUploadData'
  ;   K[1]='SetUploading'
  ;   K[2]='ToUploadArr'
  ;   locals: self(0-14), dbTable(0-14)
  0000  SELF      R3 = R0[K0('ShouldUploadData')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 11
  0005  SELF      R3 = R1[K1('SetUploading')] (self)
  0006  CALL      R2 = call(R2, 0 args, 1 rets)
  0007  SELF      R3 = R1[K2('ToUploadArr')] (self)
  0008  TAILCALL  tailcall(R2, 0)
  0009  RETURN    return R2..R1
  0010  JMP       (jump)   -> 13
  0011  NEWTABLE  R2 = {} (0 items)
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
; ---------- proto16 [CheckUpload] ----------
  ; fn ?  line 265-279 np=4 va=0 ms=9 code=35 consts=14 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Info'
  ;   K[2]='SyncModel checkUpload'
  ;   K[3]='ShouldUpload'
  ;   K[4]='m_bIsSendingUploadRequest'
  ;   K[5]='m_needUploadAgain'
  ;   K[6]=true
  ;   K[7]='GM'
  ;   K[8]='BIManager'
  ;   K[9]='LogProject'
  ;   K[10]='EBIProjectType'
  ;   K[11]='UploadAgain'
  ;   K[12]='UploadData'
  ;   K[13]='_UpdateCheckUploadDelay'
  ;   upvals: _ENV
  ;   locals: self(0-35), canBeSkipped(0-35), callback(0-35), ignoreUploading(0-35)
  0000  GETTABUP  R4 = _ENV[K0('Log')]
  0001  GETTABLE  R4 = R4[K1('Info')]
  0002  LOADK     R5 = K2 'SyncModel checkUpload'
  0003  CALL      R4 = call(R4, 0 args, 1 rets)
  0004  SELF      R5 = R0[K3('ShouldUpload')] (self)
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  TEST      if not R4 then   -> -131064
  0007  JMP       (jump)   -> 29
  0008  TEST      if not R3 then   -> -131062
  0009  JMP       (jump)   -> 21
  0010  GETTABLE  R4 = R0[K4('m_bIsSendingUploadRequest')]
  0011  TEST      if not R4 then   -> -131059
  0012  JMP       (jump)   -> 21
  0013  SETTABLE  R0[K5('m_needUploadAgain')] = K6(true)
  0014  GETTABUP  R4 = _ENV[K7('GM')]
  0015  GETTABLE  R4 = R4[K8('BIManager')]
  0016  SELF      R5 = R4[K9('LogProject')] (self)
  0017  GETTABUP  R6 = _ENV[K10('EBIProjectType')]
  0018  GETTABLE  R6 = R6[K11('UploadAgain')]
  0019  CALL      R4 = call(R4, 0 args, 2 rets)
  0020  JMP       (jump)   -> 32
  0021  SELF      R5 = R0[K12('UploadData')] (self)
  0022  MOVE      R6 = R0
  0023  LOADNIL   R7..R7 = nil
  0024  MOVE      R8 = R0
  0025  CALL      R4 = call(R4, 0 args, 4 rets)
  0026  LOADBOOL  R4 = true
  0027  RETURN    return R4..R3
  0028  JMP       (jump)   -> 32
  0029  SELF      R5 = R0[K13('_UpdateCheckUploadDelay')] (self)
  0030  LOADBOOL  R6 = true
  0031  CALL      R4 = call(R4, 0 args, 2 rets)
  0032  LOADBOOL  R4 = false
  0033  RETURN    return R4..R3
  0034  RETURN    return R0..R-1
; ---------- proto17 [ShouldUpload] ----------
  ; fn ?  line 281-301 np=1 va=0 ms=10 code=43 consts=13 upvals=1 protos=0
  ;   K[0]='m_uploadSkippedInLoadingLayer'
  ;   K[1]='GM'
  ;   K[2]='DBTableManager'
  ;   K[3]='FlushTables'
  ;   K[4]='IsNewUser'
  ;   K[5]='_GetUploadDataTableArray'
  ;   K[6]=1
  ;   K[7]='ShouldUploadData'
  ;   K[8]='Log'
  ;   K[9]='Info'
  ;   K[10]='SyncModel ShouldUpload because of '
  ;   K[11]='tostring'
  ;   K[12]='tableName'
  ;   upvals: _ENV
  ;   locals: self(0-43), arrDataTable(19-43), (for index)(22-40), (for limit)(22-40), (for step)(22-40), i(23-39)
  0000  GETTABLE  R1 = R0[K0('m_uploadSkippedInLoadingLayer')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 5
  0003  LOADBOOL  R1 = true
  0004  RETURN    return R1..R0
  0005  GETTABUP  R1 = _ENV[K1('GM')]
  0006  GETTABLE  R1 = R1[K2('DBTableManager')]
  0007  SELF      R2 = R1[K3('FlushTables')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  GETTABUP  R1 = _ENV[K1('GM')]
  0010  SELF      R2 = R1[K4('IsNewUser')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R1 = false
  0015  RETURN    return R1..R0
  0016  SELF      R2 = R0[K5('_GetUploadDataTableArray')] (self)
  0017  LOADBOOL  R3 = true
  0018  CALL      R1 = call(R1, 1 args, 2 rets)
  0019  LOADK     R2 = K6 1
  0020  LEN       R3 = len R0
  0021  LOADK     R4 = K6 1
  0022  FORPREP   forprep R2(sBx=16)   -> 39
  0023  SELF      R7 = R0[K7('ShouldUploadData')] (self)
  0024  GETTABLE  R8 = R1[R5]
  0025  CALL      R6 = call(R6, 1 args, 2 rets)
  0026  TEST      if not R6 then   -> -131044
  0027  JMP       (jump)   -> 39
  0028  GETTABUP  R6 = _ENV[K8('Log')]
  0029  GETTABLE  R6 = R6[K9('Info')]
  0030  LOADK     R7 = K10 'SyncModel ShouldUpload because of '
  0031  GETTABUP  R8 = _ENV[K11('tostring')]
  0032  GETTABLE  R9 = R1[R5]
  0033  GETTABLE  R9 = R9[K12('tableName')]
  0034  CALL      R8 = call(R8, 1 args, 1 rets)
  0035  CONCAT    R7 = concat(R7..R7)
  0036  CALL      R6 = call(R6, 0 args, 1 rets)
  0037  LOADBOOL  R6 = true
  0038  RETURN    return R6..R5
  0039  FORLOOP   forloop R2(sBx=-17)   -> 23
  0040  LOADBOOL  R2 = false
  0041  RETURN    return R2..R1
  0042  RETURN    return R0..R-1
; ---------- proto18 [CanUpload] ----------
  ; fn ?  line 303-350 np=1 va=0 ms=3 code=96 consts=23 upvals=1 protos=0
  ;   K[0]='m_bEverLoginSuccess'
  ;   K[1]='Log'
  ;   K[2]='Info'
  ;   K[3]='SyncModel never login'
  ;   K[4]='IsDataInconsistent'
  ;   K[5]='SyncModel DataInconsistent'
  ;   K[6]='_IsDataCracked'
  ;   K[7]='SyncModel data cracked'
  ;   K[8]='GM'
  ;   K[9]='destroying'
  ;   K[10]='SyncModel destroying'
  ;   K[11]='eSyncState'
  ;   K[12]='ESyncState'
  ;   K[13]='Uploading'
  ;   K[14]='SyncModel already uploading'
  ;   K[15]='Downloading'
  ;   K[16]='SyncModel can not upload when downloading'
  ;   K[17]='VersionError'
  ;   K[18]='SyncModel can not upload when version error'
  ;   K[19]='ShouldDownload'
  ;   K[20]='SyncModel no local data'
  ;   K[21]='IsNewUser'
  ;   K[22]='SyncModel can not upload in new-user state'
  ;   upvals: _ENV
  ;   locals: self(0-96)
  0000  GETTABLE  R1 = R0[K0('m_bEverLoginSuccess')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 9
  0003  GETTABUP  R1 = _ENV[K1('Log')]
  0004  GETTABLE  R1 = R1[K2('Info')]
  0005  LOADK     R2 = K3 'SyncModel never login'
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  LOADBOOL  R1 = false
  0008  RETURN    return R1..R0
  0009  SELF      R2 = R0[K4('IsDataInconsistent')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 19
  0013  GETTABUP  R1 = _ENV[K1('Log')]
  0014  GETTABLE  R1 = R1[K2('Info')]
  0015  LOADK     R2 = K5 'SyncModel DataInconsistent'
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  LOADBOOL  R1 = false
  0018  RETURN    return R1..R0
  0019  SELF      R2 = R0[K6('_IsDataCracked')] (self)
  0020  CALL      R1 = call(R1, 1 args, 1 rets)
  0021  TEST      if not R1 then   -> -131049
  0022  JMP       (jump)   -> 29
  0023  GETTABUP  R1 = _ENV[K1('Log')]
  0024  GETTABLE  R1 = R1[K2('Info')]
  0025  LOADK     R2 = K7 'SyncModel data cracked'
  0026  CALL      R1 = call(R1, 0 args, 1 rets)
  0027  LOADBOOL  R1 = false
  0028  RETURN    return R1..R0
  0029  GETTABUP  R1 = _ENV[K8('GM')]
  0030  GETTABLE  R1 = R1[K9('destroying')]
  0031  TEST      if not R1 then   -> -131039
  0032  JMP       (jump)   -> 39
  0033  GETTABUP  R1 = _ENV[K1('Log')]
  0034  GETTABLE  R1 = R1[K2('Info')]
  0035  LOADK     R2 = K10 'SyncModel destroying'
  0036  CALL      R1 = call(R1, 0 args, 1 rets)
  0037  LOADBOOL  R1 = false
  0038  RETURN    return R1..R0
  0039  GETTABLE  R1 = R0[K11('eSyncState')]
  0040  GETTABUP  R2 = _ENV[K12('ESyncState')]
  0041  GETTABLE  R2 = R2[K13('Uploading')]
  0042  EQ        if R0 eq R2   -> -130514
  0043  JMP       (jump)   -> 50
  0044  GETTABUP  R1 = _ENV[K1('Log')]
  0045  GETTABLE  R1 = R1[K2('Info')]
  0046  LOADK     R2 = K14 'SyncModel already uploading'
  0047  CALL      R1 = call(R1, 0 args, 1 rets)
  0048  LOADBOOL  R1 = false
  0049  RETURN    return R1..R0
  0050  GETTABLE  R1 = R0[K11('eSyncState')]
  0051  GETTABUP  R2 = _ENV[K12('ESyncState')]
  0052  GETTABLE  R2 = R2[K15('Downloading')]
  0053  EQ        if R0 eq R2   -> -130503
  0054  JMP       (jump)   -> 61
  0055  GETTABUP  R1 = _ENV[K1('Log')]
  0056  GETTABLE  R1 = R1[K2('Info')]
  0057  LOADK     R2 = K16 'SyncModel can not upload when downloading'
  0058  CALL      R1 = call(R1, 0 args, 1 rets)
  0059  LOADBOOL  R1 = false
  0060  RETURN    return R1..R0
  0061  GETTABLE  R1 = R0[K11('eSyncState')]
  0062  GETTABUP  R2 = _ENV[K12('ESyncState')]
  0063  GETTABLE  R2 = R2[K17('VersionError')]
  0064  EQ        if R0 eq R2   -> -130492
  0065  JMP       (jump)   -> 72
  0066  GETTABUP  R1 = _ENV[K1('Log')]
  0067  GETTABLE  R1 = R1[K2('Info')]
  0068  LOADK     R2 = K18 'SyncModel can not upload when version error'
  0069  CALL      R1 = call(R1, 0 args, 1 rets)
  0070  LOADBOOL  R1 = false
  0071  RETURN    return R1..R0
  0072  SELF      R2 = R0[K19('ShouldDownload')] (self)
  0073  CALL      R1 = call(R1, 1 args, 1 rets)
  0074  TEST      if not R1 then   -> -130996
  0075  JMP       (jump)   -> 82
  0076  GETTABUP  R1 = _ENV[K1('Log')]
  0077  GETTABLE  R1 = R1[K2('Info')]
  0078  LOADK     R2 = K20 'SyncModel no local data'
  0079  CALL      R1 = call(R1, 0 args, 1 rets)
  0080  LOADBOOL  R1 = false
  0081  RETURN    return R1..R0
  0082  GETTABUP  R1 = _ENV[K8('GM')]
  0083  SELF      R2 = R1[K21('IsNewUser')] (self)
  0084  CALL      R1 = call(R1, 1 args, 1 rets)
  0085  TEST      if not R1 then   -> -130985
  0086  JMP       (jump)   -> 93
  0087  GETTABUP  R1 = _ENV[K1('Log')]
  0088  GETTABLE  R1 = R1[K2('Info')]
  0089  LOADK     R2 = K22 'SyncModel can not upload in new-user state'
  0090  CALL      R1 = call(R1, 0 args, 1 rets)
  0091  LOADBOOL  R1 = false
  0092  RETURN    return R1..R0
  0093  LOADBOOL  R1 = true
  0094  RETURN    return R1..R0
  0095  RETURN    return R0..R-1
; ---------- proto19 [UploadData] ----------
  ; fn ?  line 352-476 np=4 va=0 ms=22 code=360 consts=129 upvals=2 protos=2
  ;   K[0]=false
  ;   K[1]='GM'
  ;   K[2]='SceneManager'
  ;   K[3]='GetGameMode'
  ;   K[4]='EGameMode'
  ;   K[5]='Loading'
  ;   K[6]='ShouldDownload'
  ;   K[7]='m_uploadSkippedInLoadingLayer'
  ;   K[8]=true
  ;   K[9]='m_syncTimeWhenSkipUpload'
  ;   K[10]='_UpdateCheckUploadDelay'
  ;   K[11]=nil
  ;   K[12]='CanUpload'
  ;   K[13]='DBTableManager'
  ;   K[14]='SaveAllImmediately'
  ;   K[15]='MainBoardModel'
  ;   K[16]='GetOrderModel'
  ;   K[17]='GetOrderGroupInfo'
  ;   K[18]='userId'
  ;   K[19]='UserModel'
  ;   K[20]='GetUserId'
  ;   K[21]='version'
  ;   K[22]='GameConfig'
  ;   K[23]='GetCurrentVersion'
  ;   K[24]='syncTime'
  ;   K[25]='GetLastSyncTime'
  ;   K[26]='currentTask'
  ;   K[27]='TaskManager'
  ;   K[28]='GetOngoingTasksString'
  ;   K[29]='currentChapter'
  ;   K[30]='GetOngoingChapterId'
  ;   K[31]='installation_id'
  ;   K[32]='GetInstallUuid'
  ;   K[33]='device_model'
  ;   K[34]='DeviceInfo'
  ;   K[35]='GetDeviceModel'
  ;   K[36]='orderChapterId'
  ;   K[37]='orderGroupId'
  ;   K[38]=1
  ;   K[39]='user'
  ;   K[40]='gold'
  ;   K[41]='PropertyDataManager'
  ;   K[42]='PropertyToSyncData'
  ;   K[43]='EPropertyType'
  ;   K[44]='Gold'
  ;   K[45]='gem'
  ;   K[46]='Gem'
  ;   K[47]='skipprop'
  ;   K[48]='SkipProp'
  ;   K[49]='level'
  ;   K[50]='tostring'
  ;   K[51]='LevelModel'
  ;   K[52]='GetCurrentLevel'
  ;   K[53]='exp'
  ;   K[54]='Experience'
  ;   K[55]='progress'
  ;   K[56]='GetTaskProgress'
  ;   K[57]='energy'
  ;   K[58]='Energy'
  ;   K[59]='day'
  ;   K[60]='GetCurOrderDay'
  ;   K[61]='GetData'
  ;   K[62]='SetUploading'
  ;   K[63]='_PackReq'
  ;   K[64]='item'
  ;   K[65]='GetItemData'
  ;   K[66]='board'
  ;   K[67]='GetItemLayerData'
  ;   K[68]='cacheItem'
  ;   K[69]='GetItemCacheData'
  ;   K[70]='inventory'
  ;   K[71]='GetItemStoreData'
  ;   K[72]='orderMeta'
  ;   K[73]='GetOrderMetaData'
  ;   K[74]='orders'
  ;   K[75]='GetOrderData'
  ;   K[76]='shopItem'
  ;   K[77]='ShopModel'
  ;   K[78]='GetShopItemDB'
  ;   K[79]='slot'
  ;   K[80]=''
  ;   K[81]='ad_status'
  ;   K[82]='mainTaskMeta'
  ;   K[83]='GetMetaData'
  ;   K[84]='mainTask'
  ;   K[85]='GetFinishedTaskData'
  ;   K[86]='activity_data'
  ;   K[87]='ActivityManager'
  ;   K[88]='GetGeneralData'
  ;   K[89]='bundle'
  ;   K[90]='BundleManager'
  ;   K[91]='GetBundleDataTable'
  ;   K[92]='bundle_meta'
  ;   K[93]='GetBundleMetaDataTable'
  ;   K[94]='pairs'
  ;   K[95]='m_mapRegisteredModels'
  ;   K[96]='name'
  ;   K[97]='ipairs'
  ;   K[98]='_NeedResetSyncKey'
  ;   K[99]='_ClearResetSyncKey'
  ;   K[100]='Table'
  ;   K[101]='Empty'
  ;   K[102]='syncList'
  ;   K[103]='icon'
  ;   K[104]='UserProfileModel'
  ;   K[105]='GetAvatar'
  ;   K[106]='GetName'
  ;   K[107]='badge'
  ;   K[108]='GetBadge'
  ;   K[109]='badge_count'
  ;   K[110]='GetBadgeCount'
  ;   K[111]='frame'
  ;   K[112]='GetFrame'
  ;   K[113]='frame_count'
  ;   K[114]='GetFrameCount'
  ;   K[115]='_UnScheduleNextUpload'
  ;   K[116]='ChangeSyncState'
  ;   K[117]='ESyncState'
  ;   K[118]='Uploading'
  ;   K[119]='NetTimeStamp'
  ;   K[120]='Create'
  ;   K[121]='EBIType'
  ;   K[122]='NetworkCheckAction'
  ;   K[123]='StartSyncUploadData'
  ;   K[124]='BIManager'
  ;   K[125]='LogNet'
  ;   K[126]='m_bIsSendingUploadRequest'
  ;   K[127]='ApiMessage'
  ;   K[128]='UploadData'
  ;   upvals: _ENV, arrDiscardSyncKey
  ;   locals: self(0-360), callbackFunc(0-360), syncTime(0-360), canBeSkipped(0-360), orderModel(57-360), orderCId(59-360), orderGId(59-360), tbReq(95-360), syncList(96-360), userTable(157-360), (for generator)(272-282), (for state)(272-282), (for control)(272-282), model(273-280), params(273-280), (for generator)(285-302), (for state)(285-302), (for control)(285-302), _(286-300), discardKey(286-300), startTime(345-360), callback(353-360)
  0000  EQ        if R0 eq K0(false)   -> -129278
  0001  JMP       (jump)   -> 3
  0002  LOADBOOL  R3 = false
  0003  LOADBOOL  R3 = true
  0004  GETTABUP  R4 = _ENV[K1('GM')]
  0005  GETTABLE  R4 = R4[K2('SceneManager')]
  0006  SELF      R5 = R4[K3('GetGameMode')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  GETTABUP  R5 = _ENV[K4('EGameMode')]
  0009  GETTABLE  R5 = R5[K5('Loading')]
  0010  EQ        if R0 eq R5   -> -129007
  0011  JMP       (jump)   -> 24
  0012  TEST      if not R3 then   -> -131058
  0013  JMP       (jump)   -> 24
  0014  SELF      R5 = R0[K6('ShouldDownload')] (self)
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  TEST      if not R4 then   -> -131053
  0017  JMP       (jump)   -> 20
  0018  SETTABLE  R0[K7('m_uploadSkippedInLoadingLayer')] = K8(true)
  0019  SETTABLE  R0[K9('m_syncTimeWhenSkipUpload')] = R2
  0020  SELF      R5 = R0[K10('_UpdateCheckUploadDelay')] (self)
  0021  LOADBOOL  R6 = false
  0022  CALL      R4 = call(R4, 0 args, 2 rets)
  0023  RETURN    return R0..R-1
  0024  GETTABLE  R4 = R0[K7('m_uploadSkippedInLoadingLayer')]
  0025  TEST      if not R4 then   -> -131045
  0026  JMP       (jump)   -> 32
  0027  EQ        if R0 eq K11(nil)   -> -129752
  0028  JMP       (jump)   -> 30
  0029  GETTABLE  R2 = R0[K9('m_syncTimeWhenSkipUpload')]
  0030  SETTABLE  R0[K7('m_uploadSkippedInLoadingLayer')] = K0(false)
  0031  SETTABLE  R0[K9('m_syncTimeWhenSkipUpload')] = K11(nil)
  0032  TEST      if not R1 then   -> -131037
  0033  JMP       (jump)   -> 36
  0034  CLOSURE   R4 = closure proto0
  0035  MOVE      R1 = R0
  0036  TEST      if not R2 then   -> -131033
  0037  JMP       (jump)   -> 49
  0038  SELF      R5 = R0[K12('CanUpload')] (self)
  0039  CALL      R4 = call(R4, 1 args, 1 rets)
  0040  TEST      if not R4 then   -> -131029
  0041  JMP       (jump)   -> 49
  0042  MOVE      R4 = R0
  0043  LOADBOOL  R5 = false
  0044  CALL      R4 = call(R4, 0 args, 1 rets)
  0045  SELF      R5 = R0[K10('_UpdateCheckUploadDelay')] (self)
  0046  LOADBOOL  R6 = false
  0047  CALL      R4 = call(R4, 0 args, 2 rets)
  0048  RETURN    return R0..R-1
  0049  GETTABUP  R4 = _ENV[K1('GM')]
  0050  GETTABLE  R4 = R4[K13('DBTableManager')]
  0051  SELF      R5 = R4[K14('SaveAllImmediately')] (self)
  0052  CALL      R4 = call(R4, 0 args, 1 rets)
  0053  GETTABUP  R4 = _ENV[K1('GM')]
  0054  GETTABLE  R4 = R4[K15('MainBoardModel')]
  0055  SELF      R5 = R4[K16('GetOrderModel')] (self)
  0056  CALL      R4 = call(R4, 1 args, 1 rets)
  0057  SELF      R6 = R4[K17('GetOrderGroupInfo')] (self)
  0058  CALL      R5 = call(R5, 2 args, 1 rets)
  0059  NEWTABLE  R7 = {} (0 items)
  0060  GETTABUP  R8 = _ENV[K1('GM')]
  0061  GETTABLE  R8 = R8[K19('UserModel')]
  0062  SELF      R9 = R8[K20('GetUserId')] (self)
  0063  CALL      R8 = call(R8, 1 args, 1 rets)
  0064  SETTABLE  R7[K18('userId')] = R8
  0065  GETTABUP  R8 = _ENV[K22('GameConfig')]
  0066  GETTABLE  R8 = R8[K23('GetCurrentVersion')]
  0067  CALL      R8 = call(R8, 1 args, 0 rets)
  0068  SETTABLE  R7[K21('version')] = R8
  0069  TESTSET   if R1 then R8   -> -129976
  0070  JMP       (jump)   -> 73
  0071  SELF      R9 = R0[K25('GetLastSyncTime')] (self)
  0072  CALL      R8 = call(R8, 1 args, 1 rets)
  0073  SETTABLE  R7[K24('syncTime')] = R8
  0074  GETTABUP  R8 = _ENV[K1('GM')]
  0075  GETTABLE  R8 = R8[K27('TaskManager')]
  0076  SELF      R9 = R8[K28('GetOngoingTasksString')] (self)
  0077  CALL      R8 = call(R8, 1 args, 1 rets)
  0078  SETTABLE  R7[K26('currentTask')] = R8
  0079  GETTABUP  R8 = _ENV[K1('GM')]
  0080  GETTABLE  R8 = R8[K27('TaskManager')]
  0081  SELF      R9 = R8[K30('GetOngoingChapterId')] (self)
  0082  CALL      R8 = call(R8, 1 args, 1 rets)
  0083  SETTABLE  R7[K29('currentChapter')] = R8
  0084  GETTABUP  R8 = _ENV[K1('GM')]
  0085  GETTABLE  R8 = R8[K19('UserModel')]
  0086  SELF      R9 = R8[K32('GetInstallUuid')] (self)
  0087  CALL      R8 = call(R8, 1 args, 1 rets)
  0088  SETTABLE  R7[K31('installation_id')] = R8
  0089  GETTABUP  R8 = _ENV[K34('DeviceInfo')]
  0090  GETTABLE  R8 = R8[K35('GetDeviceModel')]
  0091  CALL      R8 = call(R8, 1 args, 0 rets)
  0092  SETTABLE  R7[K33('device_model')] = R8
  0093  SETTABLE  R7[K36('orderChapterId')] = R5
  0094  SETTABLE  R7[K37('orderGroupId')] = R6
  0095  NEWTABLE  R8 = {} (0 items)
  0096  LEN       R9 = len R0
  0097  ADD       R9 = K38(1) add R9
  0098  SETTABLE  R8[R9] = K39('user')
  0099  NEWTABLE  R9 = {} (1 items)
  0100  NEWTABLE  R10 = {} (0 items)
  0101  GETTABUP  R11 = _ENV[K1('GM')]
  0102  GETTABLE  R11 = R11[K41('PropertyDataManager')]
  0103  SELF      R12 = R11[K42('PropertyToSyncData')] (self)
  0104  GETTABUP  R13 = _ENV[K43('EPropertyType')]
  0105  GETTABLE  R13 = R13[K44('Gold')]
  0106  CALL      R11 = call(R11, 1 args, 2 rets)
  0107  SETTABLE  R10[K40('gold')] = R11
  0108  GETTABUP  R11 = _ENV[K1('GM')]
  0109  GETTABLE  R11 = R11[K41('PropertyDataManager')]
  0110  SELF      R12 = R11[K42('PropertyToSyncData')] (self)
  0111  GETTABUP  R13 = _ENV[K43('EPropertyType')]
  0112  GETTABLE  R13 = R13[K46('Gem')]
  0113  CALL      R11 = call(R11, 1 args, 2 rets)
  0114  SETTABLE  R10[K45('gem')] = R11
  0115  GETTABUP  R11 = _ENV[K1('GM')]
  0116  GETTABLE  R11 = R11[K41('PropertyDataManager')]
  0117  SELF      R12 = R11[K42('PropertyToSyncData')] (self)
  0118  GETTABUP  R13 = _ENV[K43('EPropertyType')]
  0119  GETTABLE  R13 = R13[K48('SkipProp')]
  0120  CALL      R11 = call(R11, 1 args, 2 rets)
  0121  SETTABLE  R10[K47('skipprop')] = R11
  0122  GETTABUP  R11 = _ENV[K50('tostring')]
  0123  GETTABUP  R12 = _ENV[K1('GM')]
  0124  GETTABLE  R12 = R12[K51('LevelModel')]
  0125  SELF      R13 = R12[K52('GetCurrentLevel')] (self)
  0126  CALL      R12 = call(R12, -1 args, 1 rets)
  0127  CALL      R11 = call(R11, 1 args, -1 rets)
  0128  SETTABLE  R10[K49('level')] = R11
  0129  GETTABUP  R11 = _ENV[K1('GM')]
  0130  GETTABLE  R11 = R11[K41('PropertyDataManager')]
  0131  SELF      R12 = R11[K42('PropertyToSyncData')] (self)
  0132  GETTABUP  R13 = _ENV[K43('EPropertyType')]
  0133  GETTABLE  R13 = R13[K54('Experience')]
  0134  CALL      R11 = call(R11, 1 args, 2 rets)
  0135  SETTABLE  R10[K53('exp')] = R11
  0136  GETTABUP  R11 = _ENV[K1('GM')]
  0137  GETTABLE  R11 = R11[K27('TaskManager')]
  0138  SELF      R12 = R11[K56('GetTaskProgress')] (self)
  0139  CALL      R11 = call(R11, 1 args, 1 rets)
  0140  SETTABLE  R10[K55('progress')] = R11
  0141  GETTABUP  R11 = _ENV[K1('GM')]
  0142  GETTABLE  R11 = R11[K41('PropertyDataManager')]
  0143  SELF      R12 = R11[K42('PropertyToSyncData')] (self)
  0144  GETTABUP  R13 = _ENV[K43('EPropertyType')]
  0145  GETTABLE  R13 = R13[K58('Energy')]
  0146  CALL      R11 = call(R11, 1 args, 2 rets)
  0147  SETTABLE  R10[K57('energy')] = R11
  0148  SELF      R12 = R4[K60('GetCurOrderDay')] (self)
  0149  CALL      R11 = call(R11, 1 args, 1 rets)
  0150  SETTABLE  R10[K59('day')] = R11
  0151  SETLIST   setlist R9[B=1,C=1]
  0152  SETTABLE  R7[K39('user')] = R9
  0153  GETTABUP  R9 = _ENV[K1('GM')]
  0154  GETTABLE  R9 = R9[K19('UserModel')]
  0155  SELF      R10 = R9[K61('GetData')] (self)
  0156  CALL      R9 = call(R9, 1 args, 1 rets)
  0157  SELF      R11 = R9[K62('SetUploading')] (self)
  0158  CALL      R10 = call(R10, 0 args, 1 rets)
  0159  SELF      R11 = R0[K63('_PackReq')] (self)
  0160  MOVE      R12 = R0
  0161  MOVE      R13 = R0
  0162  LOADK     R14 = K64 'item'
  0163  GETTABUP  R15 = _ENV[K1('GM')]
  0164  GETTABLE  R15 = R15[K15('MainBoardModel')]
  0165  SELF      R16 = R15[K65('GetItemData')] (self)
  0166  CALL      R15 = call(R15, -1 args, 1 rets)
  0167  CALL      R10 = call(R10, 0 args, -1 rets)
  0168  SELF      R11 = R0[K63('_PackReq')] (self)
  0169  MOVE      R12 = R0
  0170  MOVE      R13 = R0
  0171  LOADK     R14 = K66 'board'
  0172  GETTABUP  R15 = _ENV[K1('GM')]
  0173  GETTABLE  R15 = R15[K15('MainBoardModel')]
  0174  SELF      R16 = R15[K67('GetItemLayerData')] (self)
  0175  CALL      R15 = call(R15, -1 args, 1 rets)
  0176  CALL      R10 = call(R10, 0 args, -1 rets)
  0177  SELF      R11 = R0[K63('_PackReq')] (self)
  0178  MOVE      R12 = R0
  0179  MOVE      R13 = R0
  0180  LOADK     R14 = K68 'cacheItem'
  0181  GETTABUP  R15 = _ENV[K1('GM')]
  0182  GETTABLE  R15 = R15[K15('MainBoardModel')]
  0183  SELF      R16 = R15[K69('GetItemCacheData')] (self)
  0184  CALL      R15 = call(R15, -1 args, 1 rets)
  0185  CALL      R10 = call(R10, 0 args, -1 rets)
  0186  SELF      R11 = R0[K63('_PackReq')] (self)
  0187  MOVE      R12 = R0
  0188  MOVE      R13 = R0
  0189  LOADK     R14 = K70 'inventory'
  0190  GETTABUP  R15 = _ENV[K1('GM')]
  0191  GETTABLE  R15 = R15[K15('MainBoardModel')]
  0192  SELF      R16 = R15[K71('GetItemStoreData')] (self)
  0193  CALL      R15 = call(R15, -1 args, 1 rets)
  0194  CALL      R10 = call(R10, 0 args, -1 rets)
  0195  SELF      R11 = R0[K63('_PackReq')] (self)
  0196  MOVE      R12 = R0
  0197  MOVE      R13 = R0
  0198  LOADK     R14 = K72 'orderMeta'
  0199  GETTABUP  R15 = _ENV[K1('GM')]
  0200  GETTABLE  R15 = R15[K15('MainBoardModel')]
  0201  SELF      R16 = R15[K73('GetOrderMetaData')] (self)
  0202  CALL      R15 = call(R15, -1 args, 1 rets)
  0203  CALL      R10 = call(R10, 0 args, -1 rets)
  0204  SELF      R11 = R0[K63('_PackReq')] (self)
  0205  MOVE      R12 = R0
  0206  MOVE      R13 = R0
  0207  LOADK     R14 = K74 'orders'
  0208  GETTABUP  R15 = _ENV[K1('GM')]
  0209  GETTABLE  R15 = R15[K15('MainBoardModel')]
  0210  SELF      R16 = R15[K75('GetOrderData')] (self)
  0211  CALL      R15 = call(R15, -1 args, 1 rets)
  0212  CALL      R10 = call(R10, 0 args, -1 rets)
  0213  SELF      R11 = R0[K63('_PackReq')] (self)
  0214  MOVE      R12 = R0
  0215  MOVE      R13 = R0
  0216  LOADK     R14 = K76 'shopItem'
  0217  GETTABUP  R15 = _ENV[K1('GM')]
  0218  GETTABLE  R15 = R15[K77('ShopModel')]
  0219  SELF      R16 = R15[K78('GetShopItemDB')] (self)
  0220  CALL      R15 = call(R15, -1 args, 1 rets)
  0221  CALL      R10 = call(R10, 0 args, -1 rets)
  0222  SETTABLE  R7[K79('slot')] = K80('')
  0223  SETTABLE  R7[K81('ad_status')] = K80('')
  0224  SELF      R11 = R0[K63('_PackReq')] (self)
  0225  MOVE      R12 = R0
  0226  MOVE      R13 = R0
  0227  LOADK     R14 = K82 'mainTaskMeta'
  0228  GETTABUP  R15 = _ENV[K1('GM')]
  0229  GETTABLE  R15 = R15[K27('TaskManager')]
  0230  SELF      R16 = R15[K83('GetMetaData')] (self)
  0231  CALL      R15 = call(R15, -1 args, 1 rets)
  0232  CALL      R10 = call(R10, 0 args, -1 rets)
  0233  SELF      R11 = R0[K63('_PackReq')] (self)
  0234  MOVE      R12 = R0
  0235  MOVE      R13 = R0
  0236  LOADK     R14 = K84 'mainTask'
  0237  GETTABUP  R15 = _ENV[K1('GM')]
  0238  GETTABLE  R15 = R15[K27('TaskManager')]
  0239  SELF      R16 = R15[K85('GetFinishedTaskData')] (self)
  0240  CALL      R15 = call(R15, -1 args, 1 rets)
  0241  CALL      R10 = call(R10, 0 args, -1 rets)
  0242  SELF      R11 = R0[K63('_PackReq')] (self)
  0243  MOVE      R12 = R0
  0244  MOVE      R13 = R0
  0245  LOADK     R14 = K86 'activity_data'
  0246  GETTABUP  R15 = _ENV[K1('GM')]
  0247  GETTABLE  R15 = R15[K87('ActivityManager')]
  0248  SELF      R16 = R15[K88('GetGeneralData')] (self)
  0249  CALL      R15 = call(R15, -1 args, 1 rets)
  0250  CALL      R10 = call(R10, 0 args, -1 rets)
  0251  SELF      R11 = R0[K63('_PackReq')] (self)
  0252  MOVE      R12 = R0
  0253  MOVE      R13 = R0
  0254  LOADK     R14 = K89 'bundle'
  0255  GETTABUP  R15 = _ENV[K1('GM')]
  0256  GETTABLE  R15 = R15[K90('BundleManager')]
  0257  SELF      R16 = R15[K91('GetBundleDataTable')] (self)
  0258  CALL      R15 = call(R15, -1 args, 1 rets)
  0259  CALL      R10 = call(R10, 0 args, -1 rets)
  0260  SELF      R11 = R0[K63('_PackReq')] (self)
  0261  MOVE      R12 = R0
  0262  MOVE      R13 = R0
  0263  LOADK     R14 = K92 'bundle_meta'
  0264  GETTABUP  R15 = _ENV[K1('GM')]
  0265  GETTABLE  R15 = R15[K90('BundleManager')]
  0266  SELF      R16 = R15[K93('GetBundleMetaDataTable')] (self)
  0267  CALL      R15 = call(R15, -1 args, 1 rets)
  0268  CALL      R10 = call(R10, 0 args, -1 rets)
  0269  GETTABUP  R10 = _ENV[K94('pairs')]
  0270  GETTABLE  R11 = R0[K95('m_mapRegisteredModels')]
  0271  CALL      R10 = call(R10, 3 args, 1 rets)
  0272  JMP       (jump)   -> 280
  0273  SELF      R16 = R0[K63('_PackReq')] (self)
  0274  MOVE      R17 = R0
  0275  MOVE      R18 = R0
  0276  GETTABLE  R19 = R14[K96('name')]
  0277  SELF      R21 = R13[K61('GetData')] (self)
  0278  CALL      R20 = call(R20, -1 args, 1 rets)
  0279  CALL      R15 = call(R15, 0 args, -1 rets)
  0280  TFORCALL  tforcall R10
  0281  TFORLOOP  tforloop R12(sBx=-9)   -> 273
  0282  GETTABUP  R10 = _ENV[K97('ipairs')]
  0283  GETUPVAL  R11 = _ENV
  0284  CALL      R10 = call(R10, 3 args, 1 rets)
  0285  JMP       (jump)   -> 300
  0286  SELF      R16 = R0[K98('_NeedResetSyncKey')] (self)
  0287  MOVE      R17 = R0
  0288  CALL      R15 = call(R15, 1 args, 2 rets)
  0289  TEST      if not R15 then   -> -130781
  0290  JMP       (jump)   -> 297
  0291  LEN       R15 = len R0
  0292  ADD       R15 = K38(1) add R15
  0293  SETTABLE  R8[R15] = R14
  0294  SELF      R16 = R0[K99('_ClearResetSyncKey')] (self)
  0295  MOVE      R17 = R0
  0296  CALL      R15 = call(R15, 0 args, 2 rets)
  0297  GETTABUP  R15 = _ENV[K100('Table')]
  0298  GETTABLE  R15 = R15[K101('Empty')]
  0299  SETTABLE  R7[R14] = R15
  0300  TFORCALL  tforcall R10
  0301  TFORLOOP  tforloop R12(sBx=-16)   -> 286
  0302  SETTABLE  R7[K102('syncList')] = R8
  0303  GETTABUP  R10 = _ENV[K1('GM')]
  0304  GETTABLE  R10 = R10[K104('UserProfileModel')]
  0305  SELF      R11 = R10[K105('GetAvatar')] (self)
  0306  CALL      R10 = call(R10, 1 args, 1 rets)
  0307  SETTABLE  R7[K103('icon')] = R10
  0308  GETTABUP  R10 = _ENV[K1('GM')]
  0309  GETTABLE  R10 = R10[K104('UserProfileModel')]
  0310  SELF      R11 = R10[K106('GetName')] (self)
  0311  CALL      R10 = call(R10, 1 args, 1 rets)
  0312  SETTABLE  R7[K96('name')] = R10
  0313  GETTABUP  R10 = _ENV[K1('GM')]
  0314  GETTABLE  R10 = R10[K104('UserProfileModel')]
  0315  SELF      R11 = R10[K108('GetBadge')] (self)
  0316  CALL      R10 = call(R10, 1 args, 1 rets)
  0317  SETTABLE  R7[K107('badge')] = R10
  0318  GETTABUP  R10 = _ENV[K1('GM')]
  0319  GETTABLE  R10 = R10[K104('UserProfileModel')]
  0320  SELF      R11 = R10[K110('GetBadgeCount')] (self)
  0321  CALL      R10 = call(R10, 1 args, 1 rets)
  0322  SETTABLE  R7[K109('badge_count')] = R10
  0323  GETTABUP  R10 = _ENV[K1('GM')]
  0324  GETTABLE  R10 = R10[K104('UserProfileModel')]
  0325  SELF      R11 = R10[K112('GetFrame')] (self)
  0326  CALL      R10 = call(R10, 1 args, 1 rets)
  0327  SETTABLE  R7[K111('frame')] = R10
  0328  GETTABUP  R10 = _ENV[K1('GM')]
  0329  GETTABLE  R10 = R10[K104('UserProfileModel')]
  0330  SELF      R11 = R10[K114('GetFrameCount')] (self)
  0331  CALL      R10 = call(R10, 1 args, 1 rets)
  0332  SETTABLE  R7[K113('frame_count')] = R10
  0333  SELF      R11 = R0[K115('_UnScheduleNextUpload')] (self)
  0334  CALL      R10 = call(R10, 0 args, 1 rets)
  0335  SELF      R11 = R0[K116('ChangeSyncState')] (self)
  0336  GETTABUP  R12 = _ENV[K117('ESyncState')]
  0337  GETTABLE  R12 = R12[K118('Uploading')]
  0338  CALL      R10 = call(R10, 0 args, 2 rets)
  0339  GETTABUP  R10 = _ENV[K119('NetTimeStamp')]
  0340  GETTABLE  R10 = R10[K120('Create')]
  0341  GETTABUP  R11 = _ENV[K121('EBIType')]
  0342  GETTABLE  R11 = R11[K122('NetworkCheckAction')]
  0343  GETTABLE  R11 = R11[K123('StartSyncUploadData')]
  0344  CALL      R10 = call(R10, 1 args, 1 rets)
  0345  GETTABUP  R11 = _ENV[K1('GM')]
  0346  GETTABLE  R11 = R11[K124('BIManager')]
  0347  SELF      R12 = R11[K125('LogNet')] (self)
  0348  GETTABUP  R13 = _ENV[K121('EBIType')]
  0349  GETTABLE  R13 = R13[K122('NetworkCheckAction')]
  0350  GETTABLE  R13 = R13[K123('StartSyncUploadData')]
  0351  CALL      R11 = call(R11, 0 args, 2 rets)
  0352  CLOSURE   R11 = closure proto1
  0353  SETTABLE  R0[K126('m_bIsSendingUploadRequest')] = K8(true)
  0354  GETTABUP  R12 = _ENV[K127('ApiMessage')]
  0355  GETTABLE  R12 = R12[K128('UploadData')]
  0356  MOVE      R13 = R0
  0357  MOVE      R14 = R0
  0358  CALL      R12 = call(R12, 0 args, 2 rets)
  0359  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 372-372 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
    0000  RETURN    return R0..R-1
  ; ---------- proto1 [m_bIsSendingUploadRequest] ----------
    ; fn ?  line 459-473 np=3 va=0 ms=10 code=45 consts=13 upvals=5 protos=0
    ;   K[0]='EndAndGetDur'
    ;   K[1]='GM'
    ;   K[2]='BIManager'
    ;   K[3]='LogNet'
    ;   K[4]='EBIType'
    ;   K[5]='NetworkCheckAction'
    ;   K[6]='SyncUploadDataFailed'
    ;   K[7]='SyncUploadDataSuccess'
    ;   K[8]='_OnUploadFinished'
    ;   K[9]='m_bIsSendingUploadRequest'
    ;   K[10]=false
    ;   K[11]='m_needUploadAgain'
    ;   K[12]='UploadData'
    ;   upvals: startTime, _ENV, self, callbackFunc, canBeSkipped
    ;   locals: result(0-45), response(0-45), responseCtx(0-45), timeInterval(3-45)
    0000  GETUPVAL  R3 = startTime
    0001  SELF      R4 = R3[K0('EndAndGetDur')] (self)
    0002  CALL      R3 = call(R3, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131066
    0004  JMP       (jump)   -> 16
    0005  GETTABUP  R4 = _ENV[K1('GM')]
    0006  GETTABLE  R4 = R4[K2('BIManager')]
    0007  SELF      R5 = R4[K3('LogNet')] (self)
    0008  GETTABUP  R6 = _ENV[K4('EBIType')]
    0009  GETTABLE  R6 = R6[K5('NetworkCheckAction')]
    0010  GETTABLE  R6 = R6[K6('SyncUploadDataFailed')]
    0011  MOVE      R7 = R0
    0012  MOVE      R8 = R0
    0013  MOVE      R9 = R0
    0014  CALL      R4 = call(R4, 0 args, 5 rets)
    0015  JMP       (jump)   -> 26
    0016  GETTABUP  R4 = _ENV[K1('GM')]
    0017  GETTABLE  R4 = R4[K2('BIManager')]
    0018  SELF      R5 = R4[K3('LogNet')] (self)
    0019  GETTABUP  R6 = _ENV[K4('EBIType')]
    0020  GETTABLE  R6 = R6[K5('NetworkCheckAction')]
    0021  GETTABLE  R6 = R6[K7('SyncUploadDataSuccess')]
    0022  LOADNIL   R7..R7 = nil
    0023  MOVE      R8 = R0
    0024  MOVE      R9 = R0
    0025  CALL      R4 = call(R4, 0 args, 5 rets)
    0026  GETUPVAL  R4 = startTime
    0027  SELF      R5 = R4[K8('_OnUploadFinished')] (self)
    0028  MOVE      R6 = R0
    0029  MOVE      R7 = R0
    0030  MOVE      R8 = R0
    0031  GETUPVAL  R9 = startTime
    0032  CALL      R4 = call(R4, 0 args, 5 rets)
    0033  SETTABUP  self[K9('m_bIsSendingUploadRequest')] = K10(false)
    0034  GETTABUP  R4 = self[K11('m_needUploadAgain')]
    0035  TEST      if not R4 then   -> -131035
    0036  JMP       (jump)   -> 44
    0037  SETTABUP  self[K11('m_needUploadAgain')] = K10(false)
    0038  GETUPVAL  R4 = startTime
    0039  SELF      R5 = R4[K12('UploadData')] (self)
    0040  GETUPVAL  R6 = startTime
    0041  LOADNIL   R7..R7 = nil
    0042  GETUPVAL  R8 = startTime
    0043  CALL      R4 = call(R4, 0 args, 4 rets)
    0044  RETURN    return R0..R-1
; ---------- proto20 [IsSendingUploadRequest] ----------
  ; fn ?  line 478-480 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bIsSendingUploadRequest'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bIsSendingUploadRequest')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto21 [_PackReq] ----------
  ; fn ?  line 482-487 np=5 va=0 ms=8 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='ShouldUploadData'
  ;   K[1]=1
  ;   K[2]='_GetDataToUpload'
  ;   locals: self(0-13), syncList(0-13), tbReq(0-13), name(0-13), data(0-13)
  0000  SELF      R6 = R0[K0('ShouldUploadData')] (self)
  0001  MOVE      R7 = R0
  0002  CALL      R5 = call(R5, 1 args, 2 rets)
  0003  TEST      if not R5 then   -> -131067
  0004  JMP       (jump)   -> 8
  0005  LEN       R5 = len R0
  0006  ADD       R5 = K1(1) add R5
  0007  SETTABLE  R1[R5] = R3
  0008  SELF      R6 = R0[K2('_GetDataToUpload')] (self)
  0009  MOVE      R7 = R0
  0010  CALL      R5 = call(R5, 1 args, 2 rets)
  0011  SETTABLE  R2[R3] = R5
  0012  RETURN    return R0..R-1
; ---------- proto22 [_OnUploadFinished] ----------
  ; fn ?  line 489-550 np=5 va=0 ms=11 code=127 consts=33 upvals=1 protos=0
  ;   K[0]='ChangeSyncState'
  ;   K[1]='ESyncState'
  ;   K[2]='Idle'
  ;   K[3]='_UpdateCheckUploadDelay'
  ;   K[4]='rcode'
  ;   K[5]='Log'
  ;   K[6]='Info'
  ;   K[7]='SyncModel _OnUploadFinished '
  ;   K[8]=-1
  ;   K[9]=0
  ;   K[10]='SetLastSyncTime'
  ;   K[11]='newSyncTime'
  ;   K[12]='SetDataInconsistent'
  ;   K[13]='_MarkUploaded'
  ;   K[14]=1
  ;   K[15]='VersionError'
  ;   K[16]=2
  ;   K[17]=3
  ;   K[18]='_SaveNeedForceSync'
  ;   K[19]='DownloadData'
  ;   K[20]=4
  ;   K[21]='GM'
  ;   K[22]='HeartBeatManager'
  ;   K[23]='HandleConflictSession'
  ;   K[24]=5
  ;   K[25]=6
  ;   K[26]=7
  ;   K[27]='GameModel'
  ;   K[28]='OnCheat'
  ;   K[29]='BIManager'
  ;   K[30]='LogProject'
  ;   K[31]='EBIType'
  ;   K[32]='SyncUploadError'
  ;   upvals: _ENV
  ;   locals: self(0-127), result(0-127), response(0-127), responseCtx(0-127), callbackFunc(0-127), rcode(14-127)
  0000  SELF      R6 = R0[K0('ChangeSyncState')] (self)
  0001  GETTABUP  R7 = _ENV[K1('ESyncState')]
  0002  GETTABLE  R7 = R7[K2('Idle')]
  0003  CALL      R5 = call(R5, 0 args, 2 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 13
  0006  MOVE      R5 = R0
  0007  LOADBOOL  R6 = false
  0008  CALL      R5 = call(R5, 0 args, 1 rets)
  0009  SELF      R6 = R0[K3('_UpdateCheckUploadDelay')] (self)
  0010  LOADBOOL  R7 = false
  0011  CALL      R5 = call(R5, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
  0013  GETTABLE  R5 = R2[K4('rcode')]
  0014  GETTABUP  R6 = _ENV[K5('Log')]
  0015  GETTABLE  R6 = R6[K6('Info')]
  0016  LOADK     R7 = K7 'SyncModel _OnUploadFinished '
  0017  MOVE      R8 = R0
  0018  CONCAT    R7 = concat(R7..R7)
  0019  TEST      if not R7 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  LOADK     R7 = K8 -1
  0022  CALL      R6 = call(R6, 0 args, 1 rets)
  0023  EQ        if R0 eq K9(0)   -> -128222
  0024  JMP       (jump)   -> 40
  0025  SELF      R7 = R0[K10('SetLastSyncTime')] (self)
  0026  GETTABLE  R8 = R2[K11('newSyncTime')]
  0027  CALL      R6 = call(R6, 0 args, 2 rets)
  0028  SELF      R7 = R0[K12('SetDataInconsistent')] (self)
  0029  LOADBOOL  R8 = false
  0030  CALL      R6 = call(R6, 0 args, 2 rets)
  0031  SELF      R7 = R0[K13('_MarkUploaded')] (self)
  0032  CALL      R6 = call(R6, 0 args, 1 rets)
  0033  SELF      R7 = R0[K3('_UpdateCheckUploadDelay')] (self)
  0034  LOADBOOL  R8 = true
  0035  CALL      R6 = call(R6, 0 args, 2 rets)
  0036  MOVE      R6 = R0
  0037  LOADBOOL  R7 = true
  0038  CALL      R6 = call(R6, 0 args, 1 rets)
  0039  JMP       (jump)   -> 126
  0040  EQ        if R0 eq K14(1)   -> -128200
  0041  JMP       (jump)   -> 50
  0042  SELF      R7 = R0[K0('ChangeSyncState')] (self)
  0043  GETTABUP  R8 = _ENV[K1('ESyncState')]
  0044  GETTABLE  R8 = R8[K15('VersionError')]
  0045  CALL      R6 = call(R6, 0 args, 2 rets)
  0046  MOVE      R6 = R0
  0047  LOADBOOL  R7 = false
  0048  CALL      R6 = call(R6, 0 args, 1 rets)
  0049  JMP       (jump)   -> 126
  0050  EQ        if R0 eq K16(2)   -> -128188
  0051  JMP       (jump)   -> 59
  0052  SELF      R7 = R0[K3('_UpdateCheckUploadDelay')] (self)
  0053  LOADBOOL  R8 = false
  0054  CALL      R6 = call(R6, 0 args, 2 rets)
  0055  MOVE      R6 = R0
  0056  LOADBOOL  R7 = false
  0057  CALL      R6 = call(R6, 0 args, 1 rets)
  0058  JMP       (jump)   -> 126
  0059  EQ        if R0 eq K17(3)   -> -128178
  0060  JMP       (jump)   -> 73
  0061  SELF      R7 = R0[K3('_UpdateCheckUploadDelay')] (self)
  0062  LOADBOOL  R8 = true
  0063  CALL      R6 = call(R6, 0 args, 2 rets)
  0064  SELF      R7 = R0[K18('_SaveNeedForceSync')] (self)
  0065  LOADBOOL  R8 = true
  0066  CALL      R6 = call(R6, 0 args, 2 rets)
  0067  SELF      R7 = R0[K19('DownloadData')] (self)
  0068  MOVE      R8 = R0
  0069  LOADBOOL  R9 = false
  0070  LOADBOOL  R10 = true
  0071  CALL      R6 = call(R6, 0 args, 4 rets)
  0072  JMP       (jump)   -> 126
  0073  EQ        if R0 eq K20(4)   -> -128161
  0074  JMP       (jump)   -> 83
  0075  GETTABUP  R6 = _ENV[K21('GM')]
  0076  GETTABLE  R6 = R6[K22('HeartBeatManager')]
  0077  SELF      R7 = R6[K23('HandleConflictSession')] (self)
  0078  CALL      R6 = call(R6, 0 args, 1 rets)
  0079  MOVE      R6 = R0
  0080  LOADBOOL  R7 = false
  0081  CALL      R6 = call(R6, 0 args, 1 rets)
  0082  JMP       (jump)   -> 126
  0083  EQ        if R0 eq K24(5)   -> -128147
  0084  JMP       (jump)   -> 92
  0085  SELF      R7 = R0[K12('SetDataInconsistent')] (self)
  0086  LOADBOOL  R8 = true
  0087  CALL      R6 = call(R6, 0 args, 2 rets)
  0088  MOVE      R6 = R0
  0089  LOADBOOL  R7 = false
  0090  CALL      R6 = call(R6, 0 args, 1 rets)
  0091  JMP       (jump)   -> 126
  0092  EQ        if R0 eq K25(6)   -> -128137
  0093  JMP       (jump)   -> 101
  0094  SELF      R7 = R0[K3('_UpdateCheckUploadDelay')] (self)
  0095  LOADBOOL  R8 = false
  0096  CALL      R6 = call(R6, 0 args, 2 rets)
  0097  MOVE      R6 = R0
  0098  LOADBOOL  R7 = false
  0099  CALL      R6 = call(R6, 0 args, 1 rets)
  0100  JMP       (jump)   -> 126
  0101  EQ        if R0 eq K26(7)   -> -128127
  0102  JMP       (jump)   -> 111
  0103  MOVE      R6 = R0
  0104  LOADBOOL  R7 = false
  0105  CALL      R6 = call(R6, 0 args, 1 rets)
  0106  GETTABUP  R6 = _ENV[K21('GM')]
  0107  GETTABLE  R6 = R6[K27('GameModel')]
  0108  SELF      R7 = R6[K28('OnCheat')] (self)
  0109  CALL      R6 = call(R6, 0 args, 1 rets)
  0110  JMP       (jump)   -> 126
  0111  GETTABUP  R6 = _ENV[K21('GM')]
  0112  GETTABLE  R6 = R6[K29('BIManager')]
  0113  SELF      R7 = R6[K30('LogProject')] (self)
  0114  GETTABUP  R8 = _ENV[K31('EBIType')]
  0115  GETTABLE  R8 = R8[K32('SyncUploadError')]
  0116  TESTSET   if R1 then R9   -> -128393
  0117  JMP       (jump)   -> 119
  0118  LOADK     R9 = K8 -1
  0119  CALL      R6 = call(R6, 0 args, 3 rets)
  0120  SELF      R7 = R0[K3('_UpdateCheckUploadDelay')] (self)
  0121  LOADBOOL  R8 = false
  0122  CALL      R6 = call(R6, 0 args, 2 rets)
  0123  MOVE      R6 = R0
  0124  LOADBOOL  R7 = false
  0125  CALL      R6 = call(R6, 0 args, 1 rets)
  0126  RETURN    return R0..R-1
; ---------- proto23 [ShouldDownload] ----------
  ; fn ?  line 552-562 np=1 va=0 ms=3 code=22 consts=7 upvals=1 protos=0
  ;   K[0]='m_downloadSkippedInLoadingLayer'
  ;   K[1]='eSyncState'
  ;   K[2]='ESyncState'
  ;   K[3]='Downloading'
  ;   K[4]='VersionError'
  ;   K[5]='GM'
  ;   K[6]='IsNewUser'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  0000  GETTABLE  R1 = R0[K0('m_downloadSkippedInLoadingLayer')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 5
  0003  LOADBOOL  R1 = true
  0004  RETURN    return R1..R0
  0005  GETTABLE  R1 = R0[K1('eSyncState')]
  0006  GETTABUP  R2 = _ENV[K2('ESyncState')]
  0007  GETTABLE  R2 = R2[K3('Downloading')]
  0008  EQ        if R1 eq R2   -> -130548
  0009  JMP       (jump)   -> 15
  0010  GETTABLE  R1 = R0[K1('eSyncState')]
  0011  GETTABUP  R2 = _ENV[K2('ESyncState')]
  0012  GETTABLE  R2 = R2[K4('VersionError')]
  0013  EQ        if R0 eq R2   -> -130543
  0014  JMP       (jump)   -> 17
  0015  LOADBOOL  R1 = false
  0016  RETURN    return R1..R0
  0017  GETTABUP  R1 = _ENV[K5('GM')]
  0018  SELF      R2 = R1[K6('IsNewUser')] (self)
  0019  TAILCALL  tailcall(R1, 0)
  0020  RETURN    return R1..R0
  0021  RETURN    return R0..R-1
; ---------- proto24 [ClearDataUploadRecord] ----------
  ; fn ?  line 567-572 np=1 va=0 ms=9 code=11 consts=3 upvals=1 protos=0
  ;   K[0]='_GetUploadDataTableArray'
  ;   K[1]='ipairs'
  ;   K[2]='SetModified'
  ;   upvals: _ENV
  ;   locals: self(0-11), dataTables(2-11), (for generator)(5-10), (for state)(5-10), (for control)(5-10), _(6-8), dataTable(6-8)
  0000  SELF      R2 = R0[K0('_GetUploadDataTableArray')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ipairs')]
  0003  MOVE      R3 = R0
  0004  CALL      R2 = call(R2, 3 args, 1 rets)
  0005  JMP       (jump)   -> 8
  0006  SELF      R8 = R6[K2('SetModified')] (self)
  0007  CALL      R7 = call(R7, 0 args, 1 rets)
  0008  TFORCALL  tforcall R2
  0009  TFORLOOP  tforloop R4(sBx=-4)   -> 6
  0010  RETURN    return R0..R-1
; ---------- proto25 [_MarkUploaded] ----------
  ; fn ?  line 574-579 np=2 va=0 ms=11 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='_GetUploadDataTableArray'
  ;   K[1]='ipairs'
  ;   K[2]='OnUploadedFinished'
  ;   upvals: _ENV
  ;   locals: self(0-12), forceSynced(0-12), dataTables(2-12), (for generator)(5-11), (for state)(5-11), (for control)(5-11), _(6-9), dataTable(6-9)
  0000  SELF      R3 = R0[K0('_GetUploadDataTableArray')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('ipairs')]
  0003  MOVE      R4 = R0
  0004  CALL      R3 = call(R3, 3 args, 1 rets)
  0005  JMP       (jump)   -> 9
  0006  SELF      R9 = R7[K2('OnUploadedFinished')] (self)
  0007  MOVE      R10 = R0
  0008  CALL      R8 = call(R8, 0 args, 2 rets)
  0009  TFORCALL  tforcall R3
  0010  TFORLOOP  tforloop R5(sBx=-5)   -> 6
  0011  RETURN    return R0..R-1
; ---------- proto26 [GetLastSyncTime] ----------
  ; fn ?  line 581-583 np=1 va=0 ms=4 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UserModel'
  ;   K[2]='GetInNumber'
  ;   K[3]='EUserLocalDataKey'
  ;   K[4]='LastSyncTime'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UserModel')]
  0002  SELF      R2 = R1[K2('GetInNumber')] (self)
  0003  GETTABUP  R3 = _ENV[K3('EUserLocalDataKey')]
  0004  GETTABLE  R3 = R3[K4('LastSyncTime')]
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto27 [SetLastSyncTime] ----------
  ; fn ?  line 585-588 np=2 va=0 ms=7 code=19 consts=10 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='BIManager'
  ;   K[2]='LogProject'
  ;   K[3]='EBIType'
  ;   K[4]='SyncModel'
  ;   K[5]='tostring'
  ;   K[6]='UserModel'
  ;   K[7]='Set'
  ;   K[8]='EUserLocalDataKey'
  ;   K[9]='LastSyncTime'
  ;   upvals: _ENV
  ;   locals: self(0-19), lastSyncTime(0-19)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('BIManager')]
  0002  SELF      R3 = R2[K2('LogProject')] (self)
  0003  GETTABUP  R4 = _ENV[K3('EBIType')]
  0004  GETTABLE  R4 = R4[K4('SyncModel')]
  0005  GETTABUP  R5 = _ENV[K5('tostring')]
  0006  MOVE      R6 = R0
  0007  CALL      R5 = call(R5, -1 args, 1 rets)
  0008  CALL      R2 = call(R2, 0 args, -1 rets)
  0009  GETTABUP  R2 = _ENV[K0('GM')]
  0010  GETTABLE  R2 = R2[K6('UserModel')]
  0011  SELF      R3 = R2[K7('Set')] (self)
  0012  GETTABUP  R4 = _ENV[K8('EUserLocalDataKey')]
  0013  GETTABLE  R4 = R4[K9('LastSyncTime')]
  0014  GETTABUP  R5 = _ENV[K5('tostring')]
  0015  MOVE      R6 = R0
  0016  CALL      R5 = call(R5, -1 args, 1 rets)
  0017  CALL      R2 = call(R2, 0 args, -1 rets)
  0018  RETURN    return R0..R-1
; ---------- proto28 [SetDataInconsistent] ----------
  ; fn ?  line 590-599 np=2 va=0 ms=8 code=35 consts=15 upvals=1 protos=0
  ;   K[0]='IsDataInconsistent'
  ;   K[1]='EBIType'
  ;   K[2]='SyncModelAction'
  ;   K[3]='TurnInconsistent'
  ;   K[4]='TurnConsistent'
  ;   K[5]='GM'
  ;   K[6]='BIManager'
  ;   K[7]='LogProject'
  ;   K[8]='SyncModel'
  ;   K[9]='true'
  ;   K[10]='false'
  ;   K[11]='UserModel'
  ;   K[12]='Set'
  ;   K[13]='EUserLocalDataKey'
  ;   K[14]='DataInconsistent'
  ;   upvals: _ENV
  ;   locals: self(0-35), bIsInconsistent(0-35), preValue(2-35), action(14-21), value(27-35)
  0000  SELF      R3 = R0[K0('IsDataInconsistent')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  EQ        if R1 eq R1   -> -130043
  0003  JMP       (jump)   -> 21
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABUP  R3 = _ENV[K1('EBIType')]
  0007  GETTABLE  R3 = R3[K2('SyncModelAction')]
  0008  GETTABLE  R3 = R3[K3('TurnInconsistent')]
  0009  TEST      if not R3 then   -> -131060
  0010  JMP       (jump)   -> 14
  0011  GETTABUP  R3 = _ENV[K1('EBIType')]
  0012  GETTABLE  R3 = R3[K2('SyncModelAction')]
  0013  GETTABLE  R3 = R3[K4('TurnConsistent')]
  0014  GETTABUP  R4 = _ENV[K5('GM')]
  0015  GETTABLE  R4 = R4[K6('BIManager')]
  0016  SELF      R5 = R4[K7('LogProject')] (self)
  0017  GETTABUP  R6 = _ENV[K1('EBIType')]
  0018  GETTABLE  R6 = R6[K8('SyncModel')]
  0019  MOVE      R7 = R0
  0020  CALL      R4 = call(R4, 0 args, 3 rets)
  0021  TEST      if not R1 then   -> -131049
  0022  JMP       (jump)   -> 26
  0023  LOADK     R3 = K9 'true'
  0024  TEST      if not R3 then   -> -131045
  0025  JMP       (jump)   -> 27
  0026  LOADK     R3 = K10 'false'
  0027  GETTABUP  R4 = _ENV[K5('GM')]
  0028  GETTABLE  R4 = R4[K11('UserModel')]
  0029  SELF      R5 = R4[K12('Set')] (self)
  0030  GETTABUP  R6 = _ENV[K13('EUserLocalDataKey')]
  0031  GETTABLE  R6 = R6[K14('DataInconsistent')]
  0032  MOVE      R7 = R0
  0033  CALL      R4 = call(R4, 0 args, 3 rets)
  0034  RETURN    return R0..R-1
; ---------- proto29 [IsDataInconsistent] ----------
  ; fn ?  line 601-603 np=1 va=0 ms=4 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UserModel'
  ;   K[2]='Get'
  ;   K[3]='EUserLocalDataKey'
  ;   K[4]='DataInconsistent'
  ;   K[5]='true'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UserModel')]
  0002  SELF      R2 = R1[K2('Get')] (self)
  0003  GETTABUP  R3 = _ENV[K3('EUserLocalDataKey')]
  0004  GETTABLE  R3 = R3[K4('DataInconsistent')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  EQ        if R1 eq K5('true')   -> -130291
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R1 = false
  0009  LOADBOOL  R1 = true
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto30 [_SetDataCracked] ----------
  ; fn ?  line 605-607 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bDataCracked'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bDataCracked')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto31 [_ClearDataCrackedTag] ----------
  ; fn ?  line 609-611 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bDataCracked'
  ;   K[1]=nil
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bDataCracked')] = K1(nil)
  0001  RETURN    return R0..R-1
; ---------- proto32 [_IsDataCracked] ----------
  ; fn ?  line 613-615 np=1 va=0 ms=2 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='m_bDataCracked'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_bDataCracked')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  LOADBOOL  R1 = false
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto33 [_CheckDataCracked] ----------
  ; fn ?  line 617-630 np=1 va=0 ms=8 code=29 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='DBTableManager'
  ;   K[2]='IsCracked'
  ;   K[3]='HasSaveFailed'
  ;   K[4]='_GetUploadDataTableArray'
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-29), arrDataTable(16-29), (for index)(19-28), (for limit)(19-28), (for step)(19-28), i(20-27)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('DBTableManager')]
  0002  SELF      R2 = R1[K2('IsCracked')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 12
  0006  GETTABUP  R1 = _ENV[K0('GM')]
  0007  GETTABLE  R1 = R1[K1('DBTableManager')]
  0008  SELF      R2 = R1[K3('HasSaveFailed')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R1 = true
  0013  RETURN    return R1..R0
  0014  SELF      R2 = R0[K4('_GetUploadDataTableArray')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  LOADK     R2 = K5 1
  0017  LEN       R3 = len R0
  0018  LOADK     R4 = K5 1
  0019  FORPREP   forprep R2(sBx=7)   -> 27
  0020  GETTABLE  R6 = R1[R5]
  0021  SELF      R7 = R6[K2('IsCracked')] (self)
  0022  CALL      R6 = call(R6, 1 args, 1 rets)
  0023  TEST      if not R6 then   -> -131047
  0024  JMP       (jump)   -> 27
  0025  LOADBOOL  R6 = true
  0026  RETURN    return R6..R5
  0027  FORLOOP   forloop R2(sBx=-8)   -> 20
  0028  RETURN    return R0..R-1
; ---------- proto34 [_NeedForceSync] ----------
  ; fn ?  line 632-634 np=1 va=0 ms=4 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='GetInt'
  ;   K[2]='EPlayerPrefKey'
  ;   K[3]='NeedForceSync'
  ;   K[4]=0
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R1 = R1[K1('GetInt')]
  0002  GETTABUP  R2 = _ENV[K2('EPlayerPrefKey')]
  0003  GETTABLE  R2 = R2[K3('NeedForceSync')]
  0004  LOADK     R3 = K4 0
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  EQ        if R1 eq K5(1)   -> -130291
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R1 = false
  0009  LOADBOOL  R1 = true
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto35 [_SaveNeedForceSync] ----------
  ; fn ?  line 637-643 np=2 va=0 ms=6 code=23 consts=13 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='SetInt'
  ;   K[2]='EPlayerPrefKey'
  ;   K[3]='NeedForceSync'
  ;   K[4]=1
  ;   K[5]=0
  ;   K[6]='GM'
  ;   K[7]='BIManager'
  ;   K[8]='LogProject'
  ;   K[9]='EBIType'
  ;   K[10]='SyncModel'
  ;   K[11]='SyncModelAction'
  ;   K[12]='LoginForceSync'
  ;   upvals: _ENV
  ;   locals: self(0-23), needSync(0-23)
  0000  GETTABUP  R2 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R2 = R2[K1('SetInt')]
  0002  GETTABUP  R3 = _ENV[K2('EPlayerPrefKey')]
  0003  GETTABLE  R3 = R3[K3('NeedForceSync')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  LOADK     R4 = K4 1
  0007  TEST      if not R4 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R4 = K5 0
  0010  CALL      R2 = call(R2, 0 args, 2 rets)
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 22
  0013  GETTABUP  R2 = _ENV[K6('GM')]
  0014  GETTABLE  R2 = R2[K7('BIManager')]
  0015  SELF      R3 = R2[K8('LogProject')] (self)
  0016  GETTABUP  R4 = _ENV[K9('EBIType')]
  0017  GETTABLE  R4 = R4[K10('SyncModel')]
  0018  GETTABUP  R5 = _ENV[K9('EBIType')]
  0019  GETTABLE  R5 = R5[K11('SyncModelAction')]
  0020  GETTABLE  R5 = R5[K12('LoginForceSync')]
  0021  CALL      R2 = call(R2, 0 args, 3 rets)
  0022  RETURN    return R0..R-1
; ---------- proto36 [DownloadData] ----------
  ; fn ?  line 645-699 np=4 va=0 ms=12 code=49 consts=20 upvals=1 protos=2
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Loading'
  ;   K[5]='m_downloadSkippedInLoadingLayer'
  ;   K[6]=true
  ;   K[7]='m_bRestartIfDownloadFail'
  ;   K[8]='NetTimeStamp'
  ;   K[9]='Create'
  ;   K[10]='EBIType'
  ;   K[11]='NetworkCheckAction'
  ;   K[12]='StartSyncDownloadData'
  ;   K[13]='BIManager'
  ;   K[14]='LogNet'
  ;   K[15]='ChangeSyncState'
  ;   K[16]='ESyncState'
  ;   K[17]='Downloading'
  ;   K[18]='ApiMessage'
  ;   K[19]='DownloadData'
  ;   upvals: _ENV
  ;   locals: self(0-49), callbackFunc(0-49), isLoading(0-49), restartIfDownloadFail(0-49), startTime(29-49), callback(39-49)
  0000  GETTABUP  R4 = _ENV[K0('GM')]
  0001  GETTABLE  R4 = R4[K1('SceneManager')]
  0002  SELF      R5 = R4[K2('GetGameMode')] (self)
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  GETTABUP  R5 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R5 = R5[K4('Loading')]
  0006  EQ        if R0 eq R5   -> -129011
  0007  JMP       (jump)   -> 16
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 16
  0010  SETTABLE  R0[K5('m_downloadSkippedInLoadingLayer')] = K6(true)
  0011  TESTSET   if R1 then R4   -> -129522
  0012  JMP       (jump)   -> 14
  0013  GETTABLE  R4 = R0[K7('m_bRestartIfDownloadFail')]
  0014  SETTABLE  R0[K7('m_bRestartIfDownloadFail')] = R4
  0015  RETURN    return R0..R-1
  0016  TEST      if not R3 then   -> -131053
  0017  JMP       (jump)   -> 19
  0018  GETTABLE  R3 = R0[K7('m_bRestartIfDownloadFail')]
  0019  TEST      if not R1 then   -> -131050
  0020  JMP       (jump)   -> 23
  0021  CLOSURE   R4 = closure proto0
  0022  MOVE      R1 = R0
  0023  GETTABUP  R4 = _ENV[K8('NetTimeStamp')]
  0024  GETTABLE  R4 = R4[K9('Create')]
  0025  GETTABUP  R5 = _ENV[K10('EBIType')]
  0026  GETTABLE  R5 = R5[K11('NetworkCheckAction')]
  0027  GETTABLE  R5 = R5[K12('StartSyncDownloadData')]
  0028  CALL      R4 = call(R4, 1 args, 1 rets)
  0029  GETTABUP  R5 = _ENV[K0('GM')]
  0030  GETTABLE  R5 = R5[K13('BIManager')]
  0031  SELF      R6 = R5[K14('LogNet')] (self)
  0032  GETTABUP  R7 = _ENV[K10('EBIType')]
  0033  GETTABLE  R7 = R7[K11('NetworkCheckAction')]
  0034  GETTABLE  R7 = R7[K12('StartSyncDownloadData')]
  0035  LOADNIL   R8..R8 = nil
  0036  MOVE      R11 = R0
  0037  CALL      R5 = call(R5, 0 args, 6 rets)
  0038  CLOSURE   R5 = closure proto1
  0039  SELF      R7 = R0[K15('ChangeSyncState')] (self)
  0040  GETTABUP  R8 = _ENV[K16('ESyncState')]
  0041  GETTABLE  R8 = R8[K17('Downloading')]
  0042  CALL      R6 = call(R6, 0 args, 2 rets)
  0043  GETTABUP  R6 = _ENV[K18('ApiMessage')]
  0044  GETTABLE  R6 = R6[K19('DownloadData')]
  0045  MOVE      R7 = R0
  0046  MOVE      R8 = R0
  0047  CALL      R6 = call(R6, 0 args, 2 rets)
  0048  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 655-655 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
    0000  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 659-695 np=3 va=0 ms=11 code=122 consts=43 upvals=6 protos=0
    ;   K[0]='EndAndGetDur'
    ;   K[1]='ChangeSyncState'
    ;   K[2]='ESyncState'
    ;   K[3]='Idle'
    ;   K[4]='GM'
    ;   K[5]='BIManager'
    ;   K[6]='LogNet'
    ;   K[7]='EBIType'
    ;   K[8]='NetworkCheckAction'
    ;   K[9]='SyncDownloadDataFailed'
    ;   K[10]='LogProject'
    ;   K[11]='SyncModel'
    ;   K[12]='SyncModelAction'
    ;   K[13]='DownloadFail'
    ;   K[14]='isSilentLogin'
    ;   K[15]='SceneManager'
    ;   K[16]='GetGameMode'
    ;   K[17]='EGameMode'
    ;   K[18]='Loading'
    ;   K[19]='GameModel'
    ;   K[20]='ResetSilentLoginInfo'
    ;   K[21]='RestartGame'
    ;   K[22]='ERestartType'
    ;   K[23]='Normal'
    ;   K[24]='EBIProjectType'
    ;   K[25]='RestartGameAction'
    ;   K[26]='ForceSync'
    ;   K[27]='m_downloadSkippedInLoadingLayer'
    ;   K[28]=false
    ;   K[29]='m_bRestartIfDownloadFail'
    ;   K[30]=nil
    ;   K[31]='SyncDownloadDataSuccess'
    ;   K[32]='rcode'
    ;   K[33]=0
    ;   K[34]='OnDownloadDataSuccess'
    ;   K[35]=1
    ;   K[36]=2
    ;   K[37]='VersionError'
    ;   K[38]=3
    ;   K[39]='hideNetError'
    ;   K[40]=true
    ;   K[41]='OnCheat'
    ;   K[42]='SyncDownloadError'
    ;   upvals: startTime, self, _ENV, isLoading, callbackFunc, restartIfDownloadFail
    ;   locals: result(0-122), response(0-122), responseCtx(0-122), timeInterval(3-122), rcode(76-122)
    0000  GETUPVAL  R3 = startTime
    0001  SELF      R4 = R3[K0('EndAndGetDur')] (self)
    0002  CALL      R3 = call(R3, 1 args, 1 rets)
    0003  GETUPVAL  R4 = startTime
    0004  SELF      R5 = R4[K1('ChangeSyncState')] (self)
    0005  GETTABUP  R6 = _ENV[K2('ESyncState')]
    0006  GETTABLE  R6 = R6[K3('Idle')]
    0007  CALL      R4 = call(R4, 0 args, 2 rets)
    0008  TEST      if not R0 then   -> -131061
    0009  JMP       (jump)   -> 62
    0010  GETTABUP  R4 = _ENV[K4('GM')]
    0011  GETTABLE  R4 = R4[K5('BIManager')]
    0012  SELF      R5 = R4[K6('LogNet')] (self)
    0013  GETTABUP  R6 = _ENV[K7('EBIType')]
    0014  GETTABLE  R6 = R6[K8('NetworkCheckAction')]
    0015  GETTABLE  R6 = R6[K9('SyncDownloadDataFailed')]
    0016  MOVE      R7 = R0
    0017  MOVE      R8 = R0
    0018  MOVE      R9 = R0
    0019  GETUPVAL  R10 = startTime
    0020  CALL      R4 = call(R4, 0 args, 6 rets)
    0021  GETTABUP  R4 = _ENV[K4('GM')]
    0022  GETTABLE  R4 = R4[K5('BIManager')]
    0023  SELF      R5 = R4[K10('LogProject')] (self)
    0024  GETTABUP  R6 = _ENV[K7('EBIType')]
    0025  GETTABLE  R6 = R6[K11('SyncModel')]
    0026  GETTABUP  R7 = _ENV[K7('EBIType')]
    0027  GETTABLE  R7 = R7[K12('SyncModelAction')]
    0028  GETTABLE  R7 = R7[K13('DownloadFail')]
    0029  CALL      R4 = call(R4, 0 args, 3 rets)
    0030  GETUPVAL  R4 = startTime
    0031  LOADBOOL  R5 = false
    0032  MOVE      R6 = R0
    0033  CALL      R4 = call(R4, 0 args, 2 rets)
    0034  GETUPVAL  R4 = startTime
    0035  TEST      if not R4 then   -> -131035
    0036  JMP       (jump)   -> 61
    0037  GETTABUP  R4 = _ENV[K4('GM')]
    0038  GETTABLE  R4 = R4[K14('isSilentLogin')]
    0039  TEST      if not R4 then   -> -131030
    0040  JMP       (jump)   -> 49
    0041  GETTABUP  R4 = _ENV[K4('GM')]
    0042  GETTABLE  R4 = R4[K15('SceneManager')]
    0043  SELF      R5 = R4[K16('GetGameMode')] (self)
    0044  CALL      R4 = call(R4, 1 args, 1 rets)
    0045  GETTABUP  R5 = _ENV[K17('EGameMode')]
    0046  GETTABLE  R5 = R5[K18('Loading')]
    0047  EQ        if R1 eq R5   -> -128970
    0048  JMP       (jump)   -> 61
    0049  GETTABUP  R4 = _ENV[K4('GM')]
    0050  GETTABLE  R4 = R4[K19('GameModel')]
    0051  SELF      R5 = R4[K20('ResetSilentLoginInfo')] (self)
    0052  CALL      R4 = call(R4, 0 args, 1 rets)
    0053  GETTABUP  R4 = _ENV[K4('GM')]
    0054  SELF      R5 = R4[K21('RestartGame')] (self)
    0055  GETTABUP  R6 = _ENV[K22('ERestartType')]
    0056  GETTABLE  R6 = R6[K23('Normal')]
    0057  GETTABUP  R7 = _ENV[K24('EBIProjectType')]
    0058  GETTABLE  R7 = R7[K25('RestartGameAction')]
    0059  GETTABLE  R7 = R7[K26('ForceSync')]
    0060  CALL      R4 = call(R4, 0 args, 3 rets)
    0061  RETURN    return R0..R-1
    0062  SETTABUP  self[K27('m_downloadSkippedInLoadingLayer')] = K28(false)
    0063  SETTABUP  self[K29('m_bRestartIfDownloadFail')] = K30(nil)
    0064  GETTABUP  R4 = _ENV[K4('GM')]
    0065  GETTABLE  R4 = R4[K5('BIManager')]
    0066  SELF      R5 = R4[K6('LogNet')] (self)
    0067  GETTABUP  R6 = _ENV[K7('EBIType')]
    0068  GETTABLE  R6 = R6[K8('NetworkCheckAction')]
    0069  GETTABLE  R6 = R6[K31('SyncDownloadDataSuccess')]
    0070  LOADNIL   R7..R7 = nil
    0071  MOVE      R8 = R0
    0072  MOVE      R9 = R0
    0073  GETUPVAL  R10 = startTime
    0074  CALL      R4 = call(R4, 0 args, 6 rets)
    0075  GETTABLE  R4 = R1[K32('rcode')]
    0076  EQ        if R0 eq K33(0)   -> -128657
    0077  JMP       (jump)   -> 83
    0078  GETUPVAL  R5 = startTime
    0079  SELF      R6 = R5[K34('OnDownloadDataSuccess')] (self)
    0080  MOVE      R7 = R0
    0081  CALL      R5 = call(R5, 0 args, 2 rets)
    0082  JMP       (jump)   -> 118
    0083  EQ        if R0 eq K35(1)   -> -128648
    0084  JMP       (jump)   -> 86
    0085  JMP       (jump)   -> 118
    0086  EQ        if R0 eq K36(2)   -> -128644
    0087  JMP       (jump)   -> 94
    0088  GETUPVAL  R5 = startTime
    0089  SELF      R6 = R5[K1('ChangeSyncState')] (self)
    0090  GETTABUP  R7 = _ENV[K2('ESyncState')]
    0091  GETTABLE  R7 = R7[K37('VersionError')]
    0092  CALL      R5 = call(R5, 0 args, 2 rets)
    0093  JMP       (jump)   -> 118
    0094  EQ        if R0 eq K38(3)   -> -128634
    0095  JMP       (jump)   -> 107
    0096  GETUPVAL  R5 = startTime
    0097  LOADBOOL  R6 = false
    0098  NEWTABLE  R7 = {} (0 items)
    0099  SETTABLE  R7[K39('hideNetError')] = K40(true)
    0100  CALL      R5 = call(R5, 0 args, 2 rets)
    0101  GETTABUP  R5 = _ENV[K4('GM')]
    0102  GETTABLE  R5 = R5[K19('GameModel')]
    0103  SELF      R6 = R5[K41('OnCheat')] (self)
    0104  CALL      R5 = call(R5, 0 args, 1 rets)
    0105  RETURN    return R0..R-1
    0106  JMP       (jump)   -> 118
    0107  GETTABUP  R5 = _ENV[K4('GM')]
    0108  GETTABLE  R5 = R5[K5('BIManager')]
    0109  SELF      R6 = R5[K10('LogProject')] (self)
    0110  GETTABUP  R7 = _ENV[K7('EBIType')]
    0111  GETTABLE  R7 = R7[K42('SyncDownloadError')]
    0112  MOVE      R8 = R0
    0113  CALL      R5 = call(R5, 0 args, 3 rets)
    0114  GETUPVAL  R5 = startTime
    0115  LOADBOOL  R6 = false
    0116  CALL      R5 = call(R5, 0 args, 1 rets)
    0117  RETURN    return R0..R-1
    0118  GETUPVAL  R5 = startTime
    0119  LOADBOOL  R6 = true
    0120  CALL      R5 = call(R5, 0 args, 1 rets)
    0121  RETURN    return R0..R-1
; ---------- proto37 [OnDownloadDataSuccess] ----------
  ; fn ?  line 701-720 np=2 va=0 ms=6 code=65 consts=23 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='BIManager'
  ;   K[2]='LogProject'
  ;   K[3]='EBIType'
  ;   K[4]='SyncModel'
  ;   K[5]='SyncModelAction'
  ;   K[6]='DownloadSuccess'
  ;   K[7]='force_sync'
  ;   K[8]=1
  ;   K[9]='_NeedForceSync'
  ;   K[10]='_IsDataCracked'
  ;   K[11]='IsNewUser'
  ;   K[12]='ShouldUpload'
  ;   K[13]='DBTableManager'
  ;   K[14]='ResetFile'
  ;   K[15]='_SaveNeedForceSync'
  ;   K[16]='_UseServerData'
  ;   K[17]='SceneManager'
  ;   K[18]='GetGameMode'
  ;   K[19]='EGameMode'
  ;   K[20]='Loading'
  ;   K[21]='m_downloadedServerData'
  ;   K[22]='_OpenConflictWindow'
  ;   upvals: _ENV
  ;   locals: self(0-65), response(0-65)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('BIManager')]
  0002  SELF      R3 = R2[K2('LogProject')] (self)
  0003  GETTABUP  R4 = _ENV[K3('EBIType')]
  0004  GETTABLE  R4 = R4[K4('SyncModel')]
  0005  GETTABUP  R5 = _ENV[K3('EBIType')]
  0006  GETTABLE  R5 = R5[K5('SyncModelAction')]
  0007  GETTABLE  R5 = R5[K6('DownloadSuccess')]
  0008  CALL      R2 = call(R2, 0 args, 3 rets)
  0009  GETTABLE  R2 = R1[K7('force_sync')]
  0010  EQ        if R1 eq K8(1)   -> -129772
  0011  JMP       (jump)   -> 29
  0012  SELF      R3 = R0[K9('_NeedForceSync')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  TEST      if not R2 then   -> -131055
  0015  JMP       (jump)   -> 29
  0016  SELF      R3 = R0[K10('_IsDataCracked')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  TEST      if not R2 then   -> -131051
  0019  JMP       (jump)   -> 29
  0020  GETTABUP  R2 = _ENV[K0('GM')]
  0021  SELF      R3 = R2[K11('IsNewUser')] (self)
  0022  CALL      R2 = call(R2, 1 args, 1 rets)
  0023  TEST      if not R2 then   -> -131046
  0024  JMP       (jump)   -> 29
  0025  SELF      R3 = R0[K12('ShouldUpload')] (self)
  0026  CALL      R2 = call(R2, 1 args, 1 rets)
  0027  TEST      if not R2 then   -> -131042
  0028  JMP       (jump)   -> 51
  0029  GETTABLE  R2 = R1[K7('force_sync')]
  0030  EQ        if R1 eq K8(1)   -> -129752
  0031  JMP       (jump)   -> 40
  0032  SELF      R3 = R0[K9('_NeedForceSync')] (self)
  0033  CALL      R2 = call(R2, 1 args, 1 rets)
  0034  TEST      if not R2 then   -> -131035
  0035  JMP       (jump)   -> 40
  0036  SELF      R3 = R0[K10('_IsDataCracked')] (self)
  0037  CALL      R2 = call(R2, 1 args, 1 rets)
  0038  TEST      if not R2 then   -> -131032
  0039  JMP       (jump)   -> 44
  0040  GETTABUP  R2 = _ENV[K0('GM')]
  0041  GETTABLE  R2 = R2[K13('DBTableManager')]
  0042  SELF      R3 = R2[K14('ResetFile')] (self)
  0043  CALL      R2 = call(R2, 0 args, 1 rets)
  0044  SELF      R3 = R0[K15('_SaveNeedForceSync')] (self)
  0045  LOADBOOL  R4 = false
  0046  CALL      R2 = call(R2, 0 args, 2 rets)
  0047  SELF      R3 = R0[K16('_UseServerData')] (self)
  0048  MOVE      R4 = R0
  0049  CALL      R2 = call(R2, 0 args, 2 rets)
  0050  JMP       (jump)   -> 64
  0051  GETTABUP  R2 = _ENV[K0('GM')]
  0052  GETTABLE  R2 = R2[K17('SceneManager')]
  0053  SELF      R3 = R2[K18('GetGameMode')] (self)
  0054  CALL      R2 = call(R2, 1 args, 1 rets)
  0055  GETTABUP  R3 = _ENV[K19('EGameMode')]
  0056  GETTABLE  R3 = R3[K20('Loading')]
  0057  EQ        if R0 eq R3   -> -129986
  0058  JMP       (jump)   -> 61
  0059  SETTABLE  R0[K21('m_downloadedServerData')] = R1
  0060  JMP       (jump)   -> 64
  0061  SELF      R3 = R0[K22('_OpenConflictWindow')] (self)
  0062  MOVE      R4 = R0
  0063  CALL      R2 = call(R2, 0 args, 2 rets)
  0064  RETURN    return R0..R-1
; ---------- proto38 [_OpenConflictWindow] ----------
  ; fn ?  line 722-744 np=2 va=0 ms=23 code=60 consts=26 upvals=1 protos=2
  ;   K[0]='GM'
  ;   K[1]='PropertyDataManager'
  ;   K[2]='GetPropertyNumFromSyncData'
  ;   K[3]='user'
  ;   K[4]=1
  ;   K[5]='gem'
  ;   K[6]='gold'
  ;   K[7]='badge_count'
  ;   K[8]='frame_count'
  ;   K[9]='tonumber'
  ;   K[10]='level'
  ;   K[11]='MainOrderDataModel'
  ;   K[12]='GetOrderDayByOrderGroup'
  ;   K[13]='orderChapterId'
  ;   K[14]='orderGroupId'
  ;   K[15]='currentChapter'
  ;   K[16]='currentTask'
  ;   K[17]='GameModel'
  ;   K[18]='GetServerTime'
  ;   K[19]='syncTime'
  ;   K[20]='DataConflictWindow'
  ;   K[21]='CreateDisplayData'
  ;   K[22]='UIManager'
  ;   K[23]='OpenView'
  ;   K[24]='UIPrefabConfigName'
  ;   K[25]='progressConflict_cloud_desc'
  ;   upvals: _ENV
  ;   locals: self(0-60), response(0-60), selectLocalCallback(1-60), selectNewCallback(2-60), gems(9-60), coins(16-60), badgeCount(17-60), frameCount(18-60), level(23-60), day(28-60), currentChapterId(29-60), currentTasks(30-60), timestamp(36-60), displayData(48-60)
  0000  CLOSURE   R2 = closure proto0
  0001  CLOSURE   R3 = closure proto1
  0002  GETTABUP  R4 = _ENV[K0('GM')]
  0003  GETTABLE  R4 = R4[K1('PropertyDataManager')]
  0004  SELF      R5 = R4[K2('GetPropertyNumFromSyncData')] (self)
  0005  GETTABLE  R6 = R1[K3('user')]
  0006  GETTABLE  R6 = R6[K4(1)]
  0007  GETTABLE  R6 = R6[K5('gem')]
  0008  CALL      R4 = call(R4, 1 args, 2 rets)
  0009  GETTABUP  R5 = _ENV[K0('GM')]
  0010  GETTABLE  R5 = R5[K1('PropertyDataManager')]
  0011  SELF      R6 = R5[K2('GetPropertyNumFromSyncData')] (self)
  0012  GETTABLE  R7 = R1[K3('user')]
  0013  GETTABLE  R7 = R7[K4(1)]
  0014  GETTABLE  R7 = R7[K6('gold')]
  0015  CALL      R5 = call(R5, 1 args, 2 rets)
  0016  GETTABLE  R6 = R1[K7('badge_count')]
  0017  GETTABLE  R7 = R1[K8('frame_count')]
  0018  GETTABUP  R8 = _ENV[K9('tonumber')]
  0019  GETTABLE  R9 = R1[K3('user')]
  0020  GETTABLE  R9 = R9[K4(1)]
  0021  GETTABLE  R9 = R9[K10('level')]
  0022  CALL      R8 = call(R8, 1 args, 1 rets)
  0023  GETTABUP  R9 = _ENV[K11('MainOrderDataModel')]
  0024  GETTABLE  R9 = R9[K12('GetOrderDayByOrderGroup')]
  0025  GETTABLE  R10 = R1[K13('orderChapterId')]
  0026  GETTABLE  R11 = R1[K14('orderGroupId')]
  0027  CALL      R9 = call(R9, 1 args, 2 rets)
  0028  GETTABLE  R10 = R1[K15('currentChapter')]
  0029  GETTABLE  R11 = R1[K16('currentTask')]
  0030  GETTABUP  R12 = _ENV[K0('GM')]
  0031  GETTABLE  R12 = R12[K17('GameModel')]
  0032  SELF      R13 = R12[K18('GetServerTime')] (self)
  0033  CALL      R12 = call(R12, 1 args, 1 rets)
  0034  GETTABLE  R13 = R1[K19('syncTime')]
  0035  SUB       R12 = R13 sub R12
  0036  GETTABUP  R13 = _ENV[K20('DataConflictWindow')]
  0037  GETTABLE  R13 = R13[K21('CreateDisplayData')]
  0038  MOVE      R14 = R0
  0039  MOVE      R15 = R0
  0040  MOVE      R16 = R0
  0041  MOVE      R17 = R0
  0042  MOVE      R18 = R0
  0043  MOVE      R19 = R0
  0044  MOVE      R20 = R0
  0045  MOVE      R21 = R0
  0046  MOVE      R22 = R0
  0047  CALL      R13 = call(R13, 1 args, 9 rets)
  0048  GETTABUP  R14 = _ENV[K0('GM')]
  0049  GETTABLE  R14 = R14[K22('UIManager')]
  0050  SELF      R15 = R14[K23('OpenView')] (self)
  0051  GETTABUP  R16 = _ENV[K24('UIPrefabConfigName')]
  0052  GETTABLE  R16 = R16[K20('DataConflictWindow')]
  0053  LOADK     R17 = K25 'progressConflict_cloud_desc'
  0054  MOVE      R18 = R0
  0055  MOVE      R19 = R0
  0056  MOVE      R20 = R0
  0057  LOADNIL   R21..R21 = nil
  0058  CALL      R14 = call(R14, 0 args, 7 rets)
  0059  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 723-726 np=0 va=0 ms=4 code=14 consts=8 upvals=3 protos=0
    ;   K[0]='GM'
    ;   K[1]='BIManager'
    ;   K[2]='LogAction'
    ;   K[3]='EBIType'
    ;   K[4]='SceneDataConflict'
    ;   K[5]='SceneDataConflictAction'
    ;   K[6]='SameAccountUseLocal'
    ;   K[7]='_UseLocalData'
    ;   upvals: _ENV, self, response
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('BIManager')]
    0002  SELF      R1 = R0[K2('LogAction')] (self)
    0003  GETTABUP  R2 = _ENV[K3('EBIType')]
    0004  GETTABLE  R2 = R2[K4('SceneDataConflict')]
    0005  GETTABUP  R3 = _ENV[K3('EBIType')]
    0006  GETTABLE  R3 = R3[K5('SceneDataConflictAction')]
    0007  GETTABLE  R3 = R3[K6('SameAccountUseLocal')]
    0008  CALL      R0 = call(R0, 0 args, 3 rets)
    0009  GETUPVAL  R0 = _ENV
    0010  SELF      R1 = R0[K7('_UseLocalData')] (self)
    0011  GETUPVAL  R2 = _ENV
    0012  CALL      R0 = call(R0, 0 args, 2 rets)
    0013  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 728-731 np=0 va=0 ms=4 code=14 consts=8 upvals=3 protos=0
    ;   K[0]='GM'
    ;   K[1]='BIManager'
    ;   K[2]='LogAction'
    ;   K[3]='EBIType'
    ;   K[4]='SceneDataConflict'
    ;   K[5]='SceneDataConflictAction'
    ;   K[6]='SameAccountUseServer'
    ;   K[7]='_UseServerData'
    ;   upvals: _ENV, self, response
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('BIManager')]
    0002  SELF      R1 = R0[K2('LogAction')] (self)
    0003  GETTABUP  R2 = _ENV[K3('EBIType')]
    0004  GETTABLE  R2 = R2[K4('SceneDataConflict')]
    0005  GETTABUP  R3 = _ENV[K3('EBIType')]
    0006  GETTABLE  R3 = R3[K5('SceneDataConflictAction')]
    0007  GETTABLE  R3 = R3[K6('SameAccountUseServer')]
    0008  CALL      R0 = call(R0, 0 args, 3 rets)
    0009  GETUPVAL  R0 = _ENV
    0010  SELF      R1 = R0[K7('_UseServerData')] (self)
    0011  GETUPVAL  R2 = _ENV
    0012  CALL      R0 = call(R0, 0 args, 2 rets)
    0013  RETURN    return R0..R-1
; ---------- proto39 [_UseLocalData] ----------
  ; fn ?  line 746-787 np=2 va=0 ms=7 code=12 consts=6 upvals=1 protos=1
  ;   K[0]='ClearDataUploadRecord'
  ;   K[1]='GM'
  ;   K[2]='UIManager'
  ;   K[3]='ShowMask'
  ;   K[4]='UploadData'
  ;   K[5]='syncTime'
  ;   upvals: _ENV
  ;   locals: self(0-12), response(0-12), callback(7-12)
  0000  SELF      R3 = R0[K0('ClearDataUploadRecord')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('GM')]
  0003  GETTABLE  R2 = R2[K2('UIManager')]
  0004  SELF      R3 = R2[K3('ShowMask')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  CLOSURE   R2 = closure proto0
  0007  SELF      R4 = R0[K4('UploadData')] (self)
  0008  MOVE      R5 = R0
  0009  GETTABLE  R6 = R1[K5('syncTime')]
  0010  CALL      R3 = call(R3, 0 args, 3 rets)
  0011  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 750-785 np=1 va=0 ms=13 code=80 consts=19 upvals=3 protos=2
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='HideMask'
    ;   K[3]='ShowMask'
    ;   K[4]='GameModel'
    ;   K[5]='Login'
    ;   K[6]='eSyncState'
    ;   K[7]='ESyncState'
    ;   K[8]='VersionError'
    ;   K[9]='GameTextModel'
    ;   K[10]='GetText'
    ;   K[11]='sync_ver_error_title'
    ;   K[12]='sync_ver_error_desc'
    ;   K[13]='sync_yes_button'
    ;   K[14]='OpenView'
    ;   K[15]='UIPrefabConfigName'
    ;   K[16]='GeneralMsgWindow'
    ;   K[17]='sync_error_title'
    ;   K[18]='sync_error_desc'
    ;   upvals: _ENV, self, response
    ;   locals: result(0-80), loginCallback(7-20), title(30-52), description(35-52), buttonText(40-52), title(57-80), description(62-80), buttonText(67-80)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('UIManager')]
    0002  SELF      R2 = R1[K2('HideMask')] (self)
    0003  CALL      R1 = call(R1, 0 args, 1 rets)
    0004  TEST      if not R0 then   -> -131066
    0005  JMP       (jump)   -> 20
    0006  LOADNIL   R1..R1 = nil
    0007  CLOSURE   R2 = closure proto0
    0008  MOVE      R1 = R0
    0009  GETTABUP  R2 = _ENV[K0('GM')]
    0010  GETTABLE  R2 = R2[K1('UIManager')]
    0011  SELF      R3 = R2[K3('ShowMask')] (self)
    0012  CALL      R2 = call(R2, 0 args, 1 rets)
    0013  GETTABUP  R2 = _ENV[K0('GM')]
    0014  GETTABLE  R2 = R2[K4('GameModel')]
    0015  SELF      R3 = R2[K5('Login')] (self)
    0016  MOVE      R4 = R0
    0017  CALL      R2 = call(R2, 0 args, 2 rets)
    0018  RETURN    return R0..R-1
    0019  JMP       (jump)   -> 20
    0020  GETTABUP  R1 = self[K6('eSyncState')]
    0021  GETTABUP  R2 = _ENV[K7('ESyncState')]
    0022  GETTABLE  R2 = R2[K8('VersionError')]
    0023  EQ        if R0 eq R2   -> -130533
    0024  JMP       (jump)   -> 52
    0025  GETTABUP  R1 = _ENV[K0('GM')]
    0026  GETTABLE  R1 = R1[K9('GameTextModel')]
    0027  SELF      R2 = R1[K10('GetText')] (self)
    0028  LOADK     R3 = K11 'sync_ver_error_title'
    0029  CALL      R1 = call(R1, 1 args, 2 rets)
    0030  GETTABUP  R2 = _ENV[K0('GM')]
    0031  GETTABLE  R2 = R2[K9('GameTextModel')]
    0032  SELF      R3 = R2[K10('GetText')] (self)
    0033  LOADK     R4 = K12 'sync_ver_error_desc'
    0034  CALL      R2 = call(R2, 1 args, 2 rets)
    0035  GETTABUP  R3 = _ENV[K0('GM')]
    0036  GETTABLE  R3 = R3[K9('GameTextModel')]
    0037  SELF      R4 = R3[K10('GetText')] (self)
    0038  LOADK     R5 = K13 'sync_yes_button'
    0039  CALL      R3 = call(R3, 1 args, 2 rets)
    0040  GETTABUP  R4 = _ENV[K0('GM')]
    0041  GETTABLE  R4 = R4[K1('UIManager')]
    0042  SELF      R5 = R4[K14('OpenView')] (self)
    0043  GETTABUP  R6 = _ENV[K15('UIPrefabConfigName')]
    0044  GETTABLE  R6 = R6[K16('GeneralMsgWindow')]
    0045  MOVE      R7 = R0
    0046  MOVE      R8 = R0
    0047  MOVE      R9 = R0
    0048  LOADNIL   R10..R10 = nil
    0049  LOADBOOL  R12 = false
    0050  CALL      R4 = call(R4, 0 args, 8 rets)
    0051  RETURN    return R0..R-1
    0052  GETTABUP  R1 = _ENV[K0('GM')]
    0053  GETTABLE  R1 = R1[K9('GameTextModel')]
    0054  SELF      R2 = R1[K10('GetText')] (self)
    0055  LOADK     R3 = K17 'sync_error_title'
    0056  CALL      R1 = call(R1, 1 args, 2 rets)
    0057  GETTABUP  R2 = _ENV[K0('GM')]
    0058  GETTABLE  R2 = R2[K9('GameTextModel')]
    0059  SELF      R3 = R2[K10('GetText')] (self)
    0060  LOADK     R4 = K18 'sync_error_desc'
    0061  CALL      R2 = call(R2, 1 args, 2 rets)
    0062  GETTABUP  R3 = _ENV[K0('GM')]
    0063  GETTABLE  R3 = R3[K9('GameTextModel')]
    0064  SELF      R4 = R3[K10('GetText')] (self)
    0065  LOADK     R5 = K13 'sync_yes_button'
    0066  CALL      R3 = call(R3, 1 args, 2 rets)
    0067  GETTABUP  R4 = _ENV[K0('GM')]
    0068  GETTABLE  R4 = R4[K1('UIManager')]
    0069  SELF      R5 = R4[K14('OpenView')] (self)
    0070  GETTABUP  R6 = _ENV[K15('UIPrefabConfigName')]
    0071  GETTABLE  R6 = R6[K16('GeneralMsgWindow')]
    0072  MOVE      R7 = R0
    0073  MOVE      R8 = R0
    0074  MOVE      R9 = R0
    0075  CLOSURE   R10 = closure proto1
    0076  LOADNIL   R11..R11 = nil
    0077  LOADBOOL  R12 = false
    0078  CALL      R4 = call(R4, 0 args, 8 rets)
    0079  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 755-763 np=3 va=0 ms=7 code=14 consts=6 upvals=2 protos=1
      ;   K[0]='GM'
      ;   K[1]='UIManager'
      ;   K[2]='HideMask'
      ;   K[3]='OpenView'
      ;   K[4]='UIPrefabConfigName'
      ;   K[5]='NetworkErrorWindow'
      ;   upvals: _ENV, loginCallback
      ;   locals: bSuccess(0-14), tbLoginResp(0-14), reqCtx(0-14)
      0000  GETTABUP  R3 = _ENV[K0('GM')]
      0001  GETTABLE  R3 = R3[K1('UIManager')]
      0002  SELF      R4 = R3[K2('HideMask')] (self)
      0003  CALL      R3 = call(R3, 0 args, 1 rets)
      0004  TEST      if not R0 then   -> -131065
      0005  JMP       (jump)   -> 13
      0006  GETTABUP  R3 = _ENV[K0('GM')]
      0007  GETTABLE  R3 = R3[K1('UIManager')]
      0008  SELF      R4 = R3[K3('OpenView')] (self)
      0009  GETTABUP  R5 = _ENV[K4('UIPrefabConfigName')]
      0010  GETTABLE  R5 = R5[K5('NetworkErrorWindow')]
      0011  CLOSURE   R6 = closure proto0
      0012  CALL      R3 = call(R3, 0 args, 3 rets)
      0013  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 758-761 np=0 va=0 ms=3 code=10 consts=5 upvals=2 protos=0
        ;   K[0]='GM'
        ;   K[1]='UIManager'
        ;   K[2]='ShowMask'
        ;   K[3]='GameModel'
        ;   K[4]='Login'
        ;   upvals: _ENV, loginCallback
        0000  GETTABUP  R0 = _ENV[K0('GM')]
        0001  GETTABLE  R0 = R0[K1('UIManager')]
        0002  SELF      R1 = R0[K2('ShowMask')] (self)
        0003  CALL      R0 = call(R0, 0 args, 1 rets)
        0004  GETTABUP  R0 = _ENV[K0('GM')]
        0005  GETTABLE  R0 = R0[K3('GameModel')]
        0006  SELF      R1 = R0[K4('Login')] (self)
        0007  GETUPVAL  R2 = _ENV
        0008  CALL      R0 = call(R0, 0 args, 2 rets)
        0009  RETURN    return R0..R-1
    ; ---------- proto1 [] ----------
      ; fn ?  line 782-784 np=0 va=0 ms=3 code=5 consts=1 upvals=2 protos=0
      ;   K[0]='_UseLocalData'
      ;   upvals: self, response
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('_UseLocalData')] (self)
      0002  GETUPVAL  R2 = self
      0003  CALL      R0 = call(R0, 0 args, 2 rets)
      0004  RETURN    return R0..R-1
; ---------- proto40 [_UseServerData] ----------
  ; fn ?  line 789-841 np=2 va=0 ms=10 code=188 consts=82 upvals=2 protos=0
  ;   K[0]='GM'
  ;   K[1]='BIManager'
  ;   K[2]='LogProject'
  ;   K[3]='EBIType'
  ;   K[4]='SyncModel'
  ;   K[5]='SyncModelAction'
  ;   K[6]='UseServerData'
  ;   K[7]='PropertyDataManager'
  ;   K[8]='PropertyFromSyncData'
  ;   K[9]='EPropertyType'
  ;   K[10]='Gold'
  ;   K[11]='user'
  ;   K[12]=1
  ;   K[13]='gold'
  ;   K[14]='Gem'
  ;   K[15]='gem'
  ;   K[16]='SkipProp'
  ;   K[17]='skipprop'
  ;   K[18]='Experience'
  ;   K[19]='exp'
  ;   K[20]='LevelModel'
  ;   K[21]='SyncLevel'
  ;   K[22]='tonumber'
  ;   K[23]='level'
  ;   K[24]='UserProfileModel'
  ;   K[25]='FromSyncInfo'
  ;   K[26]='name'
  ;   K[27]='icon'
  ;   K[28]='badge'
  ;   K[29]='frame'
  ;   K[30]='MainBoardModel'
  ;   K[31]='SyncItemData'
  ;   K[32]='item'
  ;   K[33]='SyncItemLayerData'
  ;   K[34]='board'
  ;   K[35]='SyncItemCacheData'
  ;   K[36]='cacheItem'
  ;   K[37]='SyncItemStoreData'
  ;   K[38]='inventory'
  ;   K[39]='SyncOrderMetaData'
  ;   K[40]='orderMeta'
  ;   K[41]='SyncOrderData'
  ;   K[42]='orders'
  ;   K[43]='ShopModel'
  ;   K[44]='SyncShopItem'
  ;   K[45]='shopItem'
  ;   K[46]='TaskManager'
  ;   K[47]='FromSyncData'
  ;   K[48]='mainTaskMeta'
  ;   K[49]='mainTask'
  ;   K[50]='ActivityManager'
  ;   K[51]='SyncGeneralData'
  ;   K[52]='activity_data'
  ;   K[53]='BundleManager'
  ;   K[54]='SyncBundleDataTable'
  ;   K[55]='bundle'
  ;   K[56]='SyncBundleMetaDataTable'
  ;   K[57]='bundle_meta'
  ;   K[58]='ipairs'
  ;   K[59]='Table'
  ;   K[60]='IsEmpty'
  ;   K[61]='_SetSyncKey'
  ;   K[62]='pairs'
  ;   K[63]='m_mapRegisteredModels'
  ;   K[64]='SetDataInconsistent'
  ;   K[65]='SetLastSyncTime'
  ;   K[66]='syncTime'
  ;   K[67]='_ClearDataCrackedTag'
  ;   K[68]='GameModel'
  ;   K[69]='ResetSilentLoginInfo'
  ;   K[70]='DBTableManager'
  ;   K[71]='SaveAllImmediately'
  ;   K[72]='_MarkUploaded'
  ;   K[73]='SceneManager'
  ;   K[74]='GetGameMode'
  ;   K[75]='EGameMode'
  ;   K[76]='Loading'
  ;   K[77]='isSilentLogin'
  ;   K[78]='RestartGame'
  ;   K[79]='EBIProjectType'
  ;   K[80]='RestartGameAction'
  ;   K[81]='CheckCatalogAndRestart'
  ;   upvals: _ENV, arrDiscardSyncKey
  ;   locals: self(0-188), response(0-188), (for generator)(121-133), (for state)(121-133), (for control)(121-133), _(122-131), discardSyncKey(122-131), (for generator)(136-143), (for state)(136-143), (for control)(136-143), model(137-141), params(137-141)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('BIManager')]
  0002  SELF      R3 = R2[K2('LogProject')] (self)
  0003  GETTABUP  R4 = _ENV[K3('EBIType')]
  0004  GETTABLE  R4 = R4[K4('SyncModel')]
  0005  GETTABUP  R5 = _ENV[K3('EBIType')]
  0006  GETTABLE  R5 = R5[K5('SyncModelAction')]
  0007  GETTABLE  R5 = R5[K6('UseServerData')]
  0008  CALL      R2 = call(R2, 0 args, 3 rets)
  0009  GETTABUP  R2 = _ENV[K0('GM')]
  0010  GETTABLE  R2 = R2[K7('PropertyDataManager')]
  0011  SELF      R3 = R2[K8('PropertyFromSyncData')] (self)
  0012  GETTABUP  R4 = _ENV[K9('EPropertyType')]
  0013  GETTABLE  R4 = R4[K10('Gold')]
  0014  GETTABLE  R5 = R1[K11('user')]
  0015  GETTABLE  R5 = R5[K12(1)]
  0016  GETTABLE  R5 = R5[K13('gold')]
  0017  CALL      R2 = call(R2, 0 args, 3 rets)
  0018  GETTABUP  R2 = _ENV[K0('GM')]
  0019  GETTABLE  R2 = R2[K7('PropertyDataManager')]
  0020  SELF      R3 = R2[K8('PropertyFromSyncData')] (self)
  0021  GETTABUP  R4 = _ENV[K9('EPropertyType')]
  0022  GETTABLE  R4 = R4[K14('Gem')]
  0023  GETTABLE  R5 = R1[K11('user')]
  0024  GETTABLE  R5 = R5[K12(1)]
  0025  GETTABLE  R5 = R5[K15('gem')]
  0026  CALL      R2 = call(R2, 0 args, 3 rets)
  0027  GETTABUP  R2 = _ENV[K0('GM')]
  0028  GETTABLE  R2 = R2[K7('PropertyDataManager')]
  0029  SELF      R3 = R2[K8('PropertyFromSyncData')] (self)
  0030  GETTABUP  R4 = _ENV[K9('EPropertyType')]
  0031  GETTABLE  R4 = R4[K16('SkipProp')]
  0032  GETTABLE  R5 = R1[K11('user')]
  0033  GETTABLE  R5 = R5[K12(1)]
  0034  GETTABLE  R5 = R5[K17('skipprop')]
  0035  CALL      R2 = call(R2, 0 args, 3 rets)
  0036  GETTABUP  R2 = _ENV[K0('GM')]
  0037  GETTABLE  R2 = R2[K7('PropertyDataManager')]
  0038  SELF      R3 = R2[K8('PropertyFromSyncData')] (self)
  0039  GETTABUP  R4 = _ENV[K9('EPropertyType')]
  0040  GETTABLE  R4 = R4[K18('Experience')]
  0041  GETTABLE  R5 = R1[K11('user')]
  0042  GETTABLE  R5 = R5[K12(1)]
  0043  GETTABLE  R5 = R5[K19('exp')]
  0044  CALL      R2 = call(R2, 0 args, 3 rets)
  0045  GETTABUP  R2 = _ENV[K0('GM')]
  0046  GETTABLE  R2 = R2[K20('LevelModel')]
  0047  SELF      R3 = R2[K21('SyncLevel')] (self)
  0048  GETTABUP  R4 = _ENV[K22('tonumber')]
  0049  GETTABLE  R5 = R1[K11('user')]
  0050  GETTABLE  R5 = R5[K12(1)]
  0051  GETTABLE  R5 = R5[K23('level')]
  0052  CALL      R4 = call(R4, -1 args, 1 rets)
  0053  CALL      R2 = call(R2, 0 args, -1 rets)
  0054  GETTABUP  R2 = _ENV[K0('GM')]
  0055  GETTABLE  R2 = R2[K24('UserProfileModel')]
  0056  SELF      R3 = R2[K25('FromSyncInfo')] (self)
  0057  GETTABLE  R4 = R1[K26('name')]
  0058  GETTABLE  R5 = R1[K27('icon')]
  0059  GETTABLE  R6 = R1[K28('badge')]
  0060  GETTABLE  R7 = R1[K29('frame')]
  0061  CALL      R2 = call(R2, 0 args, 5 rets)
  0062  GETTABUP  R2 = _ENV[K0('GM')]
  0063  GETTABLE  R2 = R2[K30('MainBoardModel')]
  0064  SELF      R3 = R2[K31('SyncItemData')] (self)
  0065  GETTABLE  R4 = R1[K32('item')]
  0066  CALL      R2 = call(R2, 0 args, 2 rets)
  0067  GETTABUP  R2 = _ENV[K0('GM')]
  0068  GETTABLE  R2 = R2[K30('MainBoardModel')]
  0069  SELF      R3 = R2[K33('SyncItemLayerData')] (self)
  0070  GETTABLE  R4 = R1[K34('board')]
  0071  CALL      R2 = call(R2, 0 args, 2 rets)
  0072  GETTABUP  R2 = _ENV[K0('GM')]
  0073  GETTABLE  R2 = R2[K30('MainBoardModel')]
  0074  SELF      R3 = R2[K35('SyncItemCacheData')] (self)
  0075  GETTABLE  R4 = R1[K36('cacheItem')]
  0076  CALL      R2 = call(R2, 0 args, 2 rets)
  0077  GETTABUP  R2 = _ENV[K0('GM')]
  0078  GETTABLE  R2 = R2[K30('MainBoardModel')]
  0079  SELF      R3 = R2[K37('SyncItemStoreData')] (self)
  0080  GETTABLE  R4 = R1[K38('inventory')]
  0081  CALL      R2 = call(R2, 0 args, 2 rets)
  0082  GETTABUP  R2 = _ENV[K0('GM')]
  0083  GETTABLE  R2 = R2[K30('MainBoardModel')]
  0084  SELF      R3 = R2[K39('SyncOrderMetaData')] (self)
  0085  GETTABLE  R4 = R1[K40('orderMeta')]
  0086  CALL      R2 = call(R2, 0 args, 2 rets)
  0087  GETTABUP  R2 = _ENV[K0('GM')]
  0088  GETTABLE  R2 = R2[K30('MainBoardModel')]
  0089  SELF      R3 = R2[K41('SyncOrderData')] (self)
  0090  GETTABLE  R4 = R1[K42('orders')]
  0091  CALL      R2 = call(R2, 0 args, 2 rets)
  0092  GETTABUP  R2 = _ENV[K0('GM')]
  0093  GETTABLE  R2 = R2[K43('ShopModel')]
  0094  SELF      R3 = R2[K44('SyncShopItem')] (self)
  0095  GETTABLE  R4 = R1[K45('shopItem')]
  0096  CALL      R2 = call(R2, 0 args, 2 rets)
  0097  GETTABUP  R2 = _ENV[K0('GM')]
  0098  GETTABLE  R2 = R2[K46('TaskManager')]
  0099  SELF      R3 = R2[K47('FromSyncData')] (self)
  0100  GETTABLE  R4 = R1[K48('mainTaskMeta')]
  0101  GETTABLE  R5 = R1[K49('mainTask')]
  0102  CALL      R2 = call(R2, 0 args, 3 rets)
  0103  GETTABUP  R2 = _ENV[K0('GM')]
  0104  GETTABLE  R2 = R2[K50('ActivityManager')]
  0105  SELF      R3 = R2[K51('SyncGeneralData')] (self)
  0106  GETTABLE  R4 = R1[K52('activity_data')]
  0107  CALL      R2 = call(R2, 0 args, 2 rets)
  0108  GETTABUP  R2 = _ENV[K0('GM')]
  0109  GETTABLE  R2 = R2[K53('BundleManager')]
  0110  SELF      R3 = R2[K54('SyncBundleDataTable')] (self)
  0111  GETTABLE  R4 = R1[K55('bundle')]
  0112  CALL      R2 = call(R2, 0 args, 2 rets)
  0113  GETTABUP  R2 = _ENV[K0('GM')]
  0114  GETTABLE  R2 = R2[K53('BundleManager')]
  0115  SELF      R3 = R2[K56('SyncBundleMetaDataTable')] (self)
  0116  GETTABLE  R4 = R1[K57('bundle_meta')]
  0117  CALL      R2 = call(R2, 0 args, 2 rets)
  0118  GETTABUP  R2 = _ENV[K58('ipairs')]
  0119  GETUPVAL  R3 = _ENV
  0120  CALL      R2 = call(R2, 3 args, 1 rets)
  0121  JMP       (jump)   -> 131
  0122  GETTABUP  R7 = _ENV[K59('Table')]
  0123  GETTABLE  R7 = R7[K60('IsEmpty')]
  0124  GETTABLE  R8 = R1[R6]
  0125  CALL      R7 = call(R7, 1 args, 1 rets)
  0126  TEST      if not R7 then   -> -130943
  0127  JMP       (jump)   -> 131
  0128  SELF      R8 = R0[K61('_SetSyncKey')] (self)
  0129  MOVE      R9 = R0
  0130  CALL      R7 = call(R7, 0 args, 2 rets)
  0131  TFORCALL  tforcall R2
  0132  TFORLOOP  tforloop R4(sBx=-11)   -> 122
  0133  GETTABUP  R2 = _ENV[K62('pairs')]
  0134  GETTABLE  R3 = R0[K63('m_mapRegisteredModels')]
  0135  CALL      R2 = call(R2, 3 args, 1 rets)
  0136  JMP       (jump)   -> 141
  0137  SELF      R8 = R5[K47('FromSyncData')] (self)
  0138  GETTABLE  R9 = R6[K26('name')]
  0139  GETTABLE  R9 = R1[R9]
  0140  CALL      R7 = call(R7, 0 args, 2 rets)
  0141  TFORCALL  tforcall R2
  0142  TFORLOOP  tforloop R4(sBx=-6)   -> 137
  0143  SELF      R3 = R0[K64('SetDataInconsistent')] (self)
  0144  LOADBOOL  R4 = false
  0145  CALL      R2 = call(R2, 0 args, 2 rets)
  0146  SELF      R3 = R0[K65('SetLastSyncTime')] (self)
  0147  GETTABLE  R4 = R1[K66('syncTime')]
  0148  CALL      R2 = call(R2, 0 args, 2 rets)
  0149  SELF      R3 = R0[K67('_ClearDataCrackedTag')] (self)
  0150  CALL      R2 = call(R2, 0 args, 1 rets)
  0151  GETTABUP  R2 = _ENV[K0('GM')]
  0152  GETTABLE  R2 = R2[K68('GameModel')]
  0153  SELF      R3 = R2[K69('ResetSilentLoginInfo')] (self)
  0154  CALL      R2 = call(R2, 0 args, 1 rets)
  0155  GETTABUP  R2 = _ENV[K0('GM')]
  0156  GETTABLE  R2 = R2[K70('DBTableManager')]
  0157  SELF      R3 = R2[K71('SaveAllImmediately')] (self)
  0158  CALL      R2 = call(R2, 0 args, 1 rets)
  0159  SELF      R3 = R0[K72('_MarkUploaded')] (self)
  0160  LOADBOOL  R4 = true
  0161  CALL      R2 = call(R2, 0 args, 2 rets)
  0162  GETTABUP  R2 = _ENV[K0('GM')]
  0163  GETTABLE  R2 = R2[K73('SceneManager')]
  0164  SELF      R3 = R2[K74('GetGameMode')] (self)
  0165  CALL      R2 = call(R2, 1 args, 1 rets)
  0166  GETTABUP  R3 = _ENV[K75('EGameMode')]
  0167  GETTABLE  R3 = R3[K76('Loading')]
  0168  EQ        if R0 eq R3   -> -129875
  0169  JMP       (jump)   -> 174
  0170  GETTABUP  R2 = _ENV[K0('GM')]
  0171  GETTABLE  R2 = R2[K77('isSilentLogin')]
  0172  TEST      if not R2 then   -> -130898
  0173  JMP       (jump)   -> 182
  0174  GETTABUP  R2 = _ENV[K0('GM')]
  0175  SELF      R3 = R2[K78('RestartGame')] (self)
  0176  LOADNIL   R4..R4 = nil
  0177  GETTABUP  R5 = _ENV[K79('EBIProjectType')]
  0178  GETTABLE  R5 = R5[K80('RestartGameAction')]
  0179  GETTABLE  R5 = R5[K6('UseServerData')]
  0180  CALL      R2 = call(R2, 0 args, 3 rets)
  0181  JMP       (jump)   -> 187
  0182  GETTABUP  R2 = _ENV[K0('GM')]
  0183  GETTABLE  R2 = R2[K68('GameModel')]
  0184  SELF      R3 = R2[K81('CheckCatalogAndRestart')] (self)
  0185  LOADBOOL  R4 = false
  0186  CALL      R2 = call(R2, 0 args, 2 rets)
  0187  RETURN    return R0..R-1
; ---------- proto41 [ClearAllData] ----------
  ; fn ?  line 843-869 np=1 va=0 ms=10 code=90 consts=35 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='BIManager'
  ;   K[2]='LogProject'
  ;   K[3]='EBIType'
  ;   K[4]='SyncModel'
  ;   K[5]='SyncModelAction'
  ;   K[6]='Clear'
  ;   K[7]='SsoManager'
  ;   K[8]='ThrowPendingRequests'
  ;   K[9]='HttpManager'
  ;   K[10]='ThrowSavedRequests'
  ;   K[11]='UserModel'
  ;   K[12]='GetInstallUuid'
  ;   K[13]='DBTableManager'
  ;   K[14]='NetworkConfig'
  ;   K[15]='GetSelectedServer'
  ;   K[16]='PlayerPrefs'
  ;   K[17]='GetString'
  ;   K[18]='EPlayerPrefKey'
  ;   K[19]='TestServerSchema'
  ;   K[20]=''
  ;   K[21]='GetInt'
  ;   K[22]='GetInstallReferrer'
  ;   K[23]=0
  ;   K[24]='use_remote_code'
  ;   K[25]='DeleteAll'
  ;   K[26]='SimplePrefs'
  ;   K[27]='SetInstallUuid'
  ;   K[28]='SetSelectedServer'
  ;   K[29]='SetString'
  ;   K[30]='SetInt'
  ;   K[31]='LocalizationModel'
  ;   K[32]='GetCurLanguageInString'
  ;   K[33]='ChangeLanguageWithString'
  ;   K[34]='SaveAllImmediately'
  ;   upvals: _ENV
  ;   locals: self(0-90), uuid(21-90), selectedValue(28-90), selectedSchema(34-90), installReferrerFlag(40-90), useRemoteCodeFlag(45-90), language(81-90)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('BIManager')]
  0002  SELF      R2 = R1[K2('LogProject')] (self)
  0003  GETTABUP  R3 = _ENV[K3('EBIType')]
  0004  GETTABLE  R3 = R3[K4('SyncModel')]
  0005  GETTABUP  R4 = _ENV[K3('EBIType')]
  0006  GETTABLE  R4 = R4[K5('SyncModelAction')]
  0007  GETTABLE  R4 = R4[K6('Clear')]
  0008  CALL      R1 = call(R1, 0 args, 3 rets)
  0009  GETTABUP  R1 = _ENV[K0('GM')]
  0010  GETTABLE  R1 = R1[K7('SsoManager')]
  0011  SELF      R2 = R1[K8('ThrowPendingRequests')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  GETTABUP  R1 = _ENV[K0('GM')]
  0014  GETTABLE  R1 = R1[K9('HttpManager')]
  0015  SELF      R2 = R1[K10('ThrowSavedRequests')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  GETTABUP  R1 = _ENV[K0('GM')]
  0018  GETTABLE  R1 = R1[K11('UserModel')]
  0019  SELF      R2 = R1[K12('GetInstallUuid')] (self)
  0020  CALL      R1 = call(R1, 1 args, 1 rets)
  0021  GETTABUP  R2 = _ENV[K0('GM')]
  0022  GETTABLE  R2 = R2[K13('DBTableManager')]
  0023  SELF      R3 = R2[K6('Clear')] (self)
  0024  CALL      R2 = call(R2, 0 args, 1 rets)
  0025  GETTABUP  R2 = _ENV[K14('NetworkConfig')]
  0026  GETTABLE  R2 = R2[K15('GetSelectedServer')]
  0027  CALL      R2 = call(R2, 1 args, 0 rets)
  0028  GETTABUP  R3 = _ENV[K16('PlayerPrefs')]
  0029  GETTABLE  R3 = R3[K17('GetString')]
  0030  GETTABUP  R4 = _ENV[K18('EPlayerPrefKey')]
  0031  GETTABLE  R4 = R4[K19('TestServerSchema')]
  0032  LOADK     R5 = K20 ''
  0033  CALL      R3 = call(R3, 1 args, 2 rets)
  0034  GETTABUP  R4 = _ENV[K16('PlayerPrefs')]
  0035  GETTABLE  R4 = R4[K21('GetInt')]
  0036  GETTABUP  R5 = _ENV[K18('EPlayerPrefKey')]
  0037  GETTABLE  R5 = R5[K22('GetInstallReferrer')]
  0038  LOADK     R6 = K23 0
  0039  CALL      R4 = call(R4, 1 args, 2 rets)
  0040  GETTABUP  R5 = _ENV[K16('PlayerPrefs')]
  0041  GETTABLE  R5 = R5[K21('GetInt')]
  0042  LOADK     R6 = K24 'use_remote_code'
  0043  LOADK     R7 = K23 0
  0044  CALL      R5 = call(R5, 1 args, 2 rets)
  0045  GETTABUP  R6 = _ENV[K16('PlayerPrefs')]
  0046  GETTABLE  R6 = R6[K25('DeleteAll')]
  0047  CALL      R6 = call(R6, 0 args, 0 rets)
  0048  GETTABUP  R6 = _ENV[K0('GM')]
  0049  GETTABLE  R6 = R6[K26('SimplePrefs')]
  0050  SELF      R7 = R6[K6('Clear')] (self)
  0051  CALL      R6 = call(R6, 0 args, 1 rets)
  0052  GETTABUP  R6 = _ENV[K0('GM')]
  0053  GETTABLE  R6 = R6[K11('UserModel')]
  0054  SELF      R7 = R6[K27('SetInstallUuid')] (self)
  0055  MOVE      R8 = R0
  0056  CALL      R6 = call(R6, 0 args, 2 rets)
  0057  GETTABUP  R6 = _ENV[K14('NetworkConfig')]
  0058  GETTABLE  R6 = R6[K28('SetSelectedServer')]
  0059  MOVE      R7 = R0
  0060  CALL      R6 = call(R6, 0 args, 1 rets)
  0061  GETTABUP  R6 = _ENV[K16('PlayerPrefs')]
  0062  GETTABLE  R6 = R6[K29('SetString')]
  0063  GETTABUP  R7 = _ENV[K18('EPlayerPrefKey')]
  0064  GETTABLE  R7 = R7[K19('TestServerSchema')]
  0065  MOVE      R8 = R0
  0066  CALL      R6 = call(R6, 0 args, 2 rets)
  0067  GETTABUP  R6 = _ENV[K16('PlayerPrefs')]
  0068  GETTABLE  R6 = R6[K30('SetInt')]
  0069  GETTABUP  R7 = _ENV[K18('EPlayerPrefKey')]
  0070  GETTABLE  R7 = R7[K22('GetInstallReferrer')]
  0071  MOVE      R8 = R0
  0072  CALL      R6 = call(R6, 0 args, 2 rets)
  0073  GETTABUP  R6 = _ENV[K16('PlayerPrefs')]
  0074  GETTABLE  R6 = R6[K30('SetInt')]
  0075  LOADK     R7 = K24 'use_remote_code'
  0076  MOVE      R8 = R0
  0077  CALL      R6 = call(R6, 0 args, 2 rets)
  0078  GETTABUP  R6 = _ENV[K31('LocalizationModel')]
  0079  SELF      R7 = R6[K32('GetCurLanguageInString')] (self)
  0080  CALL      R6 = call(R6, 1 args, 1 rets)
  0081  GETTABUP  R7 = _ENV[K31('LocalizationModel')]
  0082  SELF      R8 = R7[K33('ChangeLanguageWithString')] (self)
  0083  MOVE      R9 = R0
  0084  CALL      R7 = call(R7, 0 args, 2 rets)
  0085  GETTABUP  R7 = _ENV[K0('GM')]
  0086  GETTABLE  R7 = R7[K13('DBTableManager')]
  0087  SELF      R8 = R7[K34('SaveAllImmediately')] (self)
  0088  CALL      R7 = call(R7, 0 args, 1 rets)
  0089  RETURN    return R0..R-1
; ---------- proto42 [_NeedResetSyncKey] ----------
  ; fn ?  line 872-874 np=2 va=0 ms=6 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='GetInt'
  ;   K[2]='_GetResetSyncKeyPlayerPrefsKey'
  ;   K[3]=0
  ;   K[4]=1
  ;   upvals: _ENV
  ;   locals: self(0-13), syncKey(0-13)
  0000  GETTABUP  R2 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R2 = R2[K1('GetInt')]
  0002  SELF      R4 = R0[K2('_GetResetSyncKeyPlayerPrefsKey')] (self)
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  LOADK     R4 = K3 0
  0006  CALL      R2 = call(R2, 1 args, 2 rets)
  0007  EQ        if R1 eq K4(1)   -> -129779
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R2 = false
  0010  LOADBOOL  R2 = true
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto43 [_SetSyncKey] ----------
  ; fn ?  line 876-878 np=2 va=0 ms=6 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='SetInt'
  ;   K[2]='_GetResetSyncKeyPlayerPrefsKey'
  ;   K[3]=1
  ;   upvals: _ENV
  ;   locals: self(0-8), syncKey(0-8)
  0000  GETTABUP  R2 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R2 = R2[K1('SetInt')]
  0002  SELF      R4 = R0[K2('_GetResetSyncKeyPlayerPrefsKey')] (self)
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  LOADK     R4 = K3 1
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto44 [_ClearResetSyncKey] ----------
  ; fn ?  line 880-882 np=2 va=0 ms=6 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='DeleteKey'
  ;   K[2]='_GetResetSyncKeyPlayerPrefsKey'
  ;   upvals: _ENV
  ;   locals: self(0-7), syncKey(0-7)
  0000  GETTABUP  R2 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R2 = R2[K1('DeleteKey')]
  0002  SELF      R4 = R0[K2('_GetResetSyncKeyPlayerPrefsKey')] (self)
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, -1 args, 2 rets)
  0005  CALL      R2 = call(R2, 0 args, -1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto45 [_GetResetSyncKeyPlayerPrefsKey] ----------
  ; fn ?  line 884-886 np=2 va=0 ms=5 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='ResetSyncKey'
  ;   K[1]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-7), syncKey(0-7)
  0000  LOADK     R2 = K0 'ResetSyncKey'
  0001  GETTABUP  R3 = _ENV[K1('tostring')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  CONCAT    R2 = concat(R2..R2)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
