# Model_Network_HttpManager_16.luac
; fn @HttpManager.lua  line 0-0 np=0 va=1 ms=4 code=88 consts=58 upvals=1 protos=17
;   K[0]='HttpManager'
;   K[1]='SendSavedRequestPeriod'
;   K[2]=10.0
;   K[3]='NetLibLogPeriod'
;   K[4]='MaxSavedCount'
;   K[5]=10000
;   K[6]='RetryErrors'
;   K[7]='Could not resolve hostname'
;   K[8]=true
;   K[9]='Could not connect to server'
;   K[10]='SSL connect error'
;   K[11]='Server returned nothing (no headers, no data)'
;   K[12]='SSL crypto engine not found'
;   K[13]='Can not set SSL crypto engine as default'
;   K[14]='Failed to initialise SSL crypto engine'
;   K[15]='Problem with the local SSL certificate'
;   K[16]='Could not use specified SSL cipher'
;   K[17]='SSL peer certificate or SSH remote key was not OK'
;   K[18]='Problem with the SSL CA cert (path? access rights?)'
;   K[19]='Requested SSL level failed'
;   K[20]='Failed to shut down the SSL connection'
;   K[21]='Failed to load CRL file (path? access rights?, format?)'
;   K[22]='Issuer check against peer certificate failed'
;   K[23]='SSL public key does not match pinned public key'
;   K[24]='SSL server certificate status verification FAILED'
;   K[25]='SSL Client Certificate required'
;   K[26]='__index'
;   K[27]='require'
;   K[28]='Model.Network.Base64'
;   K[29]='EHttpReqStatus'
;   K[30]='Normal'
;   K[31]=1
;   K[32]='SsoPooled'
;   K[33]=2
;   K[34]='value'
;   K[35]='Init'
;   K[36]='LateInit'
;   K[37]='HttpManager'
;   K[38]='Update'
;   K[39]='HttpManager'
;   K[40]='GetNetworkStatus'
;   K[41]='UpdateProxyType'
;   K[42]='HttpManager'
;   K[43]='InjectProxyType'
;   K[44]='HttpManager'
;   K[45]='SaveHttpRequest'
;   K[46]='OnFinishSavedHttpRequest'
;   K[47]='SendSavedRequests'
;   K[48]='HttpManager'
;   K[49]='ThrowSavedRequests'
;   K[50]='ConvertHeaders'
;   K[51]='GetServerTime'
;   K[52]='TryFallbackRequest'
;   K[53]='_CanFallback'
;   K[54]='HttpManager'
;   K[55]='_ParseUrlHost'
;   K[56]='LogNetLib'
;   K[57]='OnCallbackStart'
;   upvals: _ENV
;   locals: Base64(31-88), DBColumnValue(36-88)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K1('SendSavedRequestPeriod')] = K2(10.0)
0002  SETTABLE  R0[K3('NetLibLogPeriod')] = K2(10.0)
0003  SETTABLE  R0[K4('MaxSavedCount')] = K5(10000)
0004  NEWTABLE  R1 = {} (0 items)
0005  SETTABLE  R1[K7('Could not resolve hostname')] = K8(true)
0006  SETTABLE  R1[K9('Could not connect to server')] = K8(true)
0007  SETTABLE  R1[K10('SSL connect error')] = K8(true)
0008  SETTABLE  R1[K11('Server returned nothing (no headers, no data)')] = K8(true)
0009  SETTABLE  R1[K12('SSL crypto engine not found')] = K8(true)
0010  SETTABLE  R1[K13('Can not set SSL crypto engine as default')] = K8(true)
0011  SETTABLE  R1[K14('Failed to initialise SSL crypto engine')] = K8(true)
0012  SETTABLE  R1[K15('Problem with the local SSL certificate')] = K8(true)
0013  SETTABLE  R1[K16('Could not use specified SSL cipher')] = K8(true)
0014  SETTABLE  R1[K17('SSL peer certificate or SSH remote key was not OK')] = K8(true)
0015  SETTABLE  R1[K18('Problem with the SSL CA cert (path? access rights?)')] = K8(true)
0016  SETTABLE  R1[K19('Requested SSL level failed')] = K8(true)
0017  SETTABLE  R1[K20('Failed to shut down the SSL connection')] = K8(true)
0018  SETTABLE  R1[K21('Failed to load CRL file (path? access rights?, format?)')] = K8(true)
0019  SETTABLE  R1[K22('Issuer check against peer certificate failed')] = K8(true)
0020  SETTABLE  R1[K23('SSL public key does not match pinned public key')] = K8(true)
0021  SETTABLE  R1[K24('SSL server certificate status verification FAILED')] = K8(true)
0022  SETTABLE  R1[K25('SSL Client Certificate required')] = K8(true)
0023  SETTABLE  R0[K6('RetryErrors')] = R1
0024  SETTABUP  _ENV[K0('HttpManager')] = R0
0025  GETTABUP  R0 = _ENV[K0('HttpManager')]
0026  GETTABUP  R1 = _ENV[K0('HttpManager')]
0027  SETTABLE  R0[K26('__index')] = R1
0028  GETTABUP  R0 = _ENV[K27('require')]
0029  LOADK     R1 = K28 'Model.Network.Base64'
0030  CALL      R0 = call(R0, 1 args, 1 rets)
0031  NEWTABLE  R1 = {} (0 items)
0032  SETTABLE  R1[K30('Normal')] = K31(1)
0033  SETTABLE  R1[K32('SsoPooled')] = K33(2)
0034  SETTABUP  _ENV[K29('EHttpReqStatus')] = R1
0035  LOADK     R1 = K34 'value'
0036  GETTABUP  R2 = _ENV[K0('HttpManager')]
0037  CLOSURE   R3 = closure proto0
0038  SETTABLE  R2[K35('Init')] = R3
0039  GETTABUP  R2 = _ENV[K0('HttpManager')]
0040  CLOSURE   R3 = closure proto1
0041  SETTABLE  R2[K36('LateInit')] = R3
0042  GETTABUP  R2 = _ENV[K37('HttpManager')]
0043  CLOSURE   R3 = closure proto2
0044  SETTABLE  R2[K38('Update')] = R3
0045  GETTABUP  R2 = _ENV[K39('HttpManager')]
0046  CLOSURE   R3 = closure proto3
0047  SETTABLE  R2[K40('GetNetworkStatus')] = R3
0048  GETTABUP  R2 = _ENV[K39('HttpManager')]
0049  CLOSURE   R3 = closure proto4
0050  SETTABLE  R2[K41('UpdateProxyType')] = R3
0051  GETTABUP  R2 = _ENV[K42('HttpManager')]
0052  CLOSURE   R3 = closure proto5
0053  SETTABLE  R2[K43('InjectProxyType')] = R3
0054  GETTABUP  R2 = _ENV[K44('HttpManager')]
0055  CLOSURE   R3 = closure proto6
0056  SETTABLE  R2[K45('SaveHttpRequest')] = R3
0057  GETTABUP  R2 = _ENV[K44('HttpManager')]
0058  CLOSURE   R3 = closure proto7
0059  SETTABLE  R2[K46('OnFinishSavedHttpRequest')] = R3
0060  GETTABUP  R2 = _ENV[K44('HttpManager')]
0061  CLOSURE   R3 = closure proto8
0062  SETTABLE  R2[K47('SendSavedRequests')] = R3
0063  GETTABUP  R2 = _ENV[K48('HttpManager')]
0064  CLOSURE   R3 = closure proto9
0065  SETTABLE  R2[K49('ThrowSavedRequests')] = R3
0066  GETTABUP  R2 = _ENV[K48('HttpManager')]
0067  CLOSURE   R3 = closure proto10
0068  SETTABLE  R2[K50('ConvertHeaders')] = R3
0069  GETTABUP  R2 = _ENV[K48('HttpManager')]
0070  CLOSURE   R3 = closure proto11
0071  SETTABLE  R2[K51('GetServerTime')] = R3
0072  GETTABUP  R2 = _ENV[K48('HttpManager')]
0073  CLOSURE   R3 = closure proto12
0074  SETTABLE  R2[K52('TryFallbackRequest')] = R3
0075  GETTABUP  R2 = _ENV[K0('HttpManager')]
0076  CLOSURE   R3 = closure proto13
0077  SETTABLE  R2[K53('_CanFallback')] = R3
0078  GETTABUP  R2 = _ENV[K54('HttpManager')]
0079  CLOSURE   R3 = closure proto14
0080  SETTABLE  R2[K55('_ParseUrlHost')] = R3
0081  GETTABUP  R2 = _ENV[K54('HttpManager')]
0082  CLOSURE   R3 = closure proto15
0083  SETTABLE  R2[K56('LogNetLib')] = R3
0084  GETTABUP  R2 = _ENV[K54('HttpManager')]
0085  CLOSURE   R3 = closure proto16
0086  SETTABLE  R2[K57('OnCallbackStart')] = R3
0087  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 42-53 np=1 va=0 ms=4 code=20 consts=13 upvals=1 protos=0
  ;   K[0]='m_fTickCount'
  ;   K[1]=0.0
  ;   K[2]='m_fLastSendTime'
  ;   K[3]='m_fLastLogTime'
  ;   K[4]='m_tbFlyingRequests'
  ;   K[5]='m_dbTable'
  ;   K[6]='GM'
  ;   K[7]='DBTableManager'
  ;   K[8]='GetTable'
  ;   K[9]='EDBTableConfigs'
  ;   K[10]='CachedRequests'
  ;   K[11]='m_dbProxyType'
  ;   K[12]='HttpProxyType'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  SETTABLE  R0[K0('m_fTickCount')] = K1(0.0)
  0001  SETTABLE  R0[K2('m_fLastSendTime')] = K1(0.0)
  0002  SETTABLE  R0[K3('m_fLastLogTime')] = K1(0.0)
  0003  NEWTABLE  R1 = {} (0 items)
  0004  SETTABLE  R0[K4('m_tbFlyingRequests')] = R1
  0005  GETTABUP  R1 = _ENV[K6('GM')]
  0006  GETTABLE  R1 = R1[K7('DBTableManager')]
  0007  SELF      R2 = R1[K8('GetTable')] (self)
  0008  GETTABUP  R3 = _ENV[K9('EDBTableConfigs')]
  0009  GETTABLE  R3 = R3[K10('CachedRequests')]
  0010  CALL      R1 = call(R1, 1 args, 2 rets)
  0011  SETTABLE  R0[K5('m_dbTable')] = R1
  0012  GETTABUP  R1 = _ENV[K6('GM')]
  0013  GETTABLE  R1 = R1[K7('DBTableManager')]
  0014  SELF      R2 = R1[K8('GetTable')] (self)
  0015  GETTABUP  R3 = _ENV[K9('EDBTableConfigs')]
  0016  GETTABLE  R3 = R3[K12('HttpProxyType')]
  0017  CALL      R1 = call(R1, 1 args, 2 rets)
  0018  SETTABLE  R0[K11('m_dbProxyType')] = R1
  0019  RETURN    return R0..R-1
; ---------- proto1 [LateInit] ----------
  ; fn ?  line 55-65 np=1 va=0 ms=7 code=30 consts=15 upvals=1 protos=0
  ;   K[0]='m_bLateInited'
  ;   K[1]=true
  ;   K[2]='m_dbTable'
  ;   K[3]='GetCacheValueMap'
  ;   K[4]='Table'
  ;   K[5]='GetMapSize'
  ;   K[6]='GM'
  ;   K[7]='BIManager'
  ;   K[8]='LogProject'
  ;   K[9]='EBIProjectType'
  ;   K[10]='CachedRequestCount'
  ;   K[11]='HttpManager'
  ;   K[12]='MaxSavedCount'
  ;   K[13]='Clear'
  ;   K[14]='DeleteCachedRequest'
  ;   upvals: _ENV
  ;   locals: self(0-30), tbContent(4-30), nCachedRequestCount(8-30)
  0000  SETTABLE  R0[K0('m_bLateInited')] = K1(true)
  0001  GETTABLE  R1 = R0[K2('m_dbTable')]
  0002  SELF      R2 = R1[K3('GetCacheValueMap')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K4('Table')]
  0005  GETTABLE  R2 = R2[K5('GetMapSize')]
  0006  MOVE      R3 = R0
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  GETTABUP  R3 = _ENV[K6('GM')]
  0009  GETTABLE  R3 = R3[K7('BIManager')]
  0010  SELF      R4 = R3[K8('LogProject')] (self)
  0011  GETTABUP  R5 = _ENV[K9('EBIProjectType')]
  0012  GETTABLE  R5 = R5[K10('CachedRequestCount')]
  0013  MOVE      R6 = R0
  0014  CALL      R3 = call(R3, 0 args, 3 rets)
  0015  GETTABUP  R3 = _ENV[K11('HttpManager')]
  0016  GETTABLE  R3 = R3[K12('MaxSavedCount')]
  0017  LT        if R0 lt R2   -> -129515
  0018  JMP       (jump)   -> 29
  0019  GETTABLE  R3 = R0[K2('m_dbTable')]
  0020  SELF      R4 = R3[K13('Clear')] (self)
  0021  CALL      R3 = call(R3, 0 args, 1 rets)
  0022  GETTABUP  R3 = _ENV[K6('GM')]
  0023  GETTABLE  R3 = R3[K7('BIManager')]
  0024  SELF      R4 = R3[K8('LogProject')] (self)
  0025  GETTABUP  R5 = _ENV[K9('EBIProjectType')]
  0026  GETTABLE  R5 = R5[K14('DeleteCachedRequest')]
  0027  MOVE      R6 = R0
  0028  CALL      R3 = call(R3, 0 args, 3 rets)
  0029  RETURN    return R0..R-1
; ---------- proto2 [Update] ----------
  ; fn ?  line 67-111 np=2 va=0 ms=20 code=105 consts=36 upvals=2 protos=0
  ;   K[0]='m_bLateInited'
  ;   K[1]='m_fTickCount'
  ;   K[2]=0
  ;   K[3]='CSTime'
  ;   K[4]='unscaledDeltaTime'
  ;   K[5]='GM'
  ;   K[6]='SceneManager'
  ;   K[7]='GetGameMode'
  ;   K[8]='EGameMode'
  ;   K[9]='Loading'
  ;   K[10]='SyncModel'
  ;   K[11]='eSyncState'
  ;   K[12]='ESyncState'
  ;   K[13]='Uploading'
  ;   K[14]='PlatformInterface'
  ;   K[15]='HasNetwork'
  ;   K[16]='m_fLastSendTime'
  ;   K[17]='HttpManager'
  ;   K[18]='SendSavedRequestPeriod'
  ;   K[19]='m_dbTable'
  ;   K[20]='IsEmpty'
  ;   K[21]='GetCacheValueMap'
  ;   K[22]='pairs'
  ;   K[23]='tonumber'
  ;   K[24]='m_tbFlyingRequests'
  ;   K[25]=nil
  ;   K[26]='SendSavedRequests'
  ;   K[27]='json'
  ;   K[28]='decode'
  ;   K[29]=false
  ;   K[30]=true
  ;   K[31]=1
  ;   K[32]=4
  ;   K[33]='m_fLastLogTime'
  ;   K[34]='NetLibLogPeriod'
  ;   K[35]='LogNetLib'
  ;   upvals: _ENV, DBColumnValue
  ;   locals: self(0-105), dt(0-105), notInLoading(22-105), notUploading(31-105), hasNetwork(38-104), count(55-93), tbContent(58-93), uMsgId(59-93), canContinue(59-93), markFlyingRequests(59-93), (for generator)(62-93), (for state)(62-93), (for control)(62-93), key(63-91), value(63-91)
  0000  GETTABLE  R2 = R0[K0('m_bLateInited')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R2 = R0[K1('m_fTickCount')]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R2 = K2 0
  0008  GETTABUP  R3 = _ENV[K3('CSTime')]
  0009  GETTABLE  R3 = R3[K4('unscaledDeltaTime')]
  0010  ADD       R2 = R3 add R2
  0011  SETTABLE  R0[K1('m_fTickCount')] = R2
  0012  GETTABUP  R2 = _ENV[K5('GM')]
  0013  GETTABLE  R2 = R2[K6('SceneManager')]
  0014  SELF      R3 = R2[K7('GetGameMode')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  GETTABUP  R3 = _ENV[K8('EGameMode')]
  0017  GETTABLE  R3 = R3[K9('Loading')]
  0018  EQ        if R0 eq R3   -> -130025
  0019  JMP       (jump)   -> 21
  0020  LOADBOOL  R2 = false
  0021  LOADBOOL  R2 = true
  0022  GETTABUP  R3 = _ENV[K5('GM')]
  0023  GETTABLE  R3 = R3[K10('SyncModel')]
  0024  GETTABLE  R3 = R3[K11('eSyncState')]
  0025  GETTABUP  R4 = _ENV[K12('ESyncState')]
  0026  GETTABLE  R4 = R4[K13('Uploading')]
  0027  EQ        if R0 eq R4   -> -129503
  0028  JMP       (jump)   -> 30
  0029  LOADBOOL  R3 = false
  0030  LOADBOOL  R3 = true
  0031  TEST      if not R2 then   -> -131039
  0032  JMP       (jump)   -> 104
  0033  TEST      if not R3 then   -> -131037
  0034  JMP       (jump)   -> 104
  0035  GETTABUP  R4 = _ENV[K14('PlatformInterface')]
  0036  GETTABLE  R4 = R4[K15('HasNetwork')]
  0037  CALL      R4 = call(R4, 1 args, 0 rets)
  0038  GETTABLE  R5 = R0[K1('m_fTickCount')]
  0039  GETTABLE  R6 = R0[K16('m_fLastSendTime')]
  0040  SUB       R5 = R6 sub R5
  0041  GETTABUP  R6 = _ENV[K17('HttpManager')]
  0042  GETTABLE  R6 = R6[K18('SendSavedRequestPeriod')]
  0043  LT        if R0 lt R5   -> -127950
  0044  JMP       (jump)   -> 93
  0045  TEST      if not R4 then   -> -131025
  0046  JMP       (jump)   -> 93
  0047  GETTABLE  R5 = R0[K1('m_fTickCount')]
  0048  SETTABLE  R0[K16('m_fLastSendTime')] = R5
  0049  GETTABLE  R5 = R0[K19('m_dbTable')]
  0050  SELF      R6 = R5[K20('IsEmpty')] (self)
  0051  CALL      R5 = call(R5, 1 args, 1 rets)
  0052  TEST      if not R5 then   -> -131017
  0053  JMP       (jump)   -> 93
  0054  LOADK     R5 = K2 0
  0055  GETTABLE  R6 = R0[K19('m_dbTable')]
  0056  SELF      R7 = R6[K21('GetCacheValueMap')] (self)
  0057  CALL      R6 = call(R6, 1 args, 1 rets)
  0058  LOADNIL   R7..R7 = nil
  0059  GETTABUP  R10 = _ENV[K22('pairs')]
  0060  MOVE      R11 = R0
  0061  CALL      R10 = call(R10, 3 args, 1 rets)
  0062  JMP       (jump)   -> 91
  0063  GETTABUP  R15 = _ENV[K23('tonumber')]
  0064  MOVE      R16 = R0
  0065  CALL      R15 = call(R15, 1 args, 1 rets)
  0066  MOVE      R7 = R0
  0067  GETTABLE  R15 = R0[K24('m_tbFlyingRequests')]
  0068  GETTABLE  R15 = R15[R7]
  0069  EQ        if R0 eq K25(nil)   -> -123040
  0070  JMP       (jump)   -> 91
  0071  SELF      R16 = R0[K26('SendSavedRequests')] (self)
  0072  MOVE      R17 = R0
  0073  GETTABUP  R18 = _ENV[K27('json')]
  0074  GETTABLE  R18 = R18[K28('decode')]
  0075  GETUPVAL  R19 = _ENV
  0076  GETTABLE  R19 = R14[R19]
  0077  CALL      R18 = call(R18, 1 args, 1 rets)
  0078  LOADBOOL  R19 = true
  0079  CALL      R15 = call(R15, 2 args, 4 rets)
  0080  MOVE      R9 = R0
  0081  MOVE      R8 = R0
  0082  TEST      if not R8 then   -> -130988
  0083  JMP       (jump)   -> 93
  0084  EQ        if R1 eq K29(false)   -> -126093
  0085  JMP       (jump)   -> 91
  0086  GETTABLE  R15 = R0[K24('m_tbFlyingRequests')]
  0087  SETTABLE  R15[R7] = K30(true)
  0088  ADD       R5 = K31(1) add R5
  0089  EQ        if R1 eq K32(4)   -> -128133
  0090  JMP       (jump)   -> 93
  0091  TFORCALL  tforcall R10
  0092  TFORLOOP  tforloop R12(sBx=-30)   -> 63
  0093  GETTABLE  R5 = R0[K1('m_fTickCount')]
  0094  GETTABLE  R6 = R0[K33('m_fLastLogTime')]
  0095  SUB       R5 = R6 sub R5
  0096  GETTABUP  R6 = _ENV[K17('HttpManager')]
  0097  GETTABLE  R6 = R6[K34('NetLibLogPeriod')]
  0098  LT        if R0 lt R5   -> -127895
  0099  JMP       (jump)   -> 104
  0100  GETTABLE  R5 = R0[K1('m_fTickCount')]
  0101  SETTABLE  R0[K33('m_fLastLogTime')] = R5
  0102  SELF      R6 = R0[K35('LogNetLib')] (self)
  0103  CALL      R5 = call(R5, 0 args, 1 rets)
  0104  RETURN    return R0..R-1
; ---------- proto3 [GetNetworkStatus] ----------
  ; fn ?  line 113-123 np=1 va=0 ms=3 code=29 consts=10 upvals=1 protos=0
  ;   K[0]='Application'
  ;   K[1]='internetReachability'
  ;   K[2]='NetworkReachability'
  ;   K[3]='NotReachable'
  ;   K[4]=0
  ;   K[5]='ReachableViaCarrierDataNetwork'
  ;   K[6]=1
  ;   K[7]='ReachableViaLocalAreaNetwork'
  ;   K[8]=2
  ;   K[9]=3
  ;   upvals: _ENV
  ;   locals: self(0-29)
  0000  GETTABUP  R1 = _ENV[K0('Application')]
  0001  GETTABLE  R1 = R1[K1('internetReachability')]
  0002  GETTABUP  R2 = _ENV[K2('NetworkReachability')]
  0003  GETTABLE  R2 = R2[K3('NotReachable')]
  0004  EQ        if R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 9
  0006  LOADK     R1 = K4 0
  0007  RETURN    return R1..R0
  0008  JMP       (jump)   -> 26
  0009  GETTABUP  R1 = _ENV[K0('Application')]
  0010  GETTABLE  R1 = R1[K1('internetReachability')]
  0011  GETTABUP  R2 = _ENV[K2('NetworkReachability')]
  0012  GETTABLE  R2 = R2[K5('ReachableViaCarrierDataNetwork')]
  0013  EQ        if R0 eq R2   -> -130543
  0014  JMP       (jump)   -> 18
  0015  LOADK     R1 = K6 1
  0016  RETURN    return R1..R0
  0017  JMP       (jump)   -> 26
  0018  GETTABUP  R1 = _ENV[K0('Application')]
  0019  GETTABLE  R1 = R1[K1('internetReachability')]
  0020  GETTABUP  R2 = _ENV[K2('NetworkReachability')]
  0021  GETTABLE  R2 = R2[K7('ReachableViaLocalAreaNetwork')]
  0022  EQ        if R0 eq R2   -> -130534
  0023  JMP       (jump)   -> 26
  0024  LOADK     R1 = K8 2
  0025  RETURN    return R1..R0
  0026  LOADK     R1 = K9 3
  0027  RETURN    return R1..R0
  0028  RETURN    return R0..R-1
; ---------- proto4 [UpdateProxyType] ----------
  ; fn ?  line 125-136 np=3 va=0 ms=9 code=25 consts=7 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   K[2]='HttpManager'
  ;   K[3]='_ParseUrlHost'
  ;   K[4]='m_dbProxyType'
  ;   K[5]='Set'
  ;   K[6]='value'
  ;   upvals: _ENV
  ;   locals: self(0-25), strUrl(0-25), strType(0-25), strHost(11-25)
  0000  GETTABUP  R3 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R3 = R3[K1('IsNilOrEmpty')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  TEST      if not R3 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABUP  R3 = _ENV[K2('HttpManager')]
  0008  GETTABLE  R3 = R3[K3('_ParseUrlHost')]
  0009  MOVE      R4 = R0
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  GETTABUP  R4 = _ENV[K0('StringUtil')]
  0012  GETTABLE  R4 = R4[K1('IsNilOrEmpty')]
  0013  MOVE      R5 = R0
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  TEST      if not R4 then   -> -131055
  0016  JMP       (jump)   -> 18
  0017  RETURN    return R0..R-1
  0018  GETTABLE  R4 = R0[K4('m_dbProxyType')]
  0019  SELF      R5 = R4[K5('Set')] (self)
  0020  MOVE      R6 = R0
  0021  LOADK     R7 = K6 'value'
  0022  MOVE      R8 = R0
  0023  CALL      R4 = call(R4, 0 args, 4 rets)
  0024  RETURN    return R0..R-1
; ---------- proto5 [InjectProxyType] ----------
  ; fn ?  line 138-152 np=2 va=0 ms=12 code=32 consts=11 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='ipairs'
  ;   K[2]='HttpManager'
  ;   K[3]='_ParseUrlHost'
  ;   K[4]='realUrl'
  ;   K[5]='StringUtil'
  ;   K[6]='IsNilOrEmpty'
  ;   K[7]='m_dbProxyType'
  ;   K[8]='Get'
  ;   K[9]='value'
  ;   K[10]='cachedProxyType'
  ;   upvals: _ENV
  ;   locals: self(0-32), arrData(0-32), (for generator)(6-31), (for state)(6-31), (for control)(6-31), index(7-29), item(7-29), strHost(11-29), strType(22-29)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  GETTABUP  R2 = _ENV[K1('ipairs')]
  0004  MOVE      R3 = R0
  0005  CALL      R2 = call(R2, 3 args, 1 rets)
  0006  JMP       (jump)   -> 29
  0007  GETTABUP  R7 = _ENV[K2('HttpManager')]
  0008  GETTABLE  R7 = R7[K3('_ParseUrlHost')]
  0009  GETTABLE  R8 = R6[K4('realUrl')]
  0010  CALL      R7 = call(R7, 1 args, 1 rets)
  0011  GETTABUP  R8 = _ENV[K5('StringUtil')]
  0012  GETTABLE  R8 = R8[K6('IsNilOrEmpty')]
  0013  MOVE      R9 = R0
  0014  CALL      R8 = call(R8, 1 args, 1 rets)
  0015  TEST      if not R8 then   -> -131054
  0016  JMP       (jump)   -> 29
  0017  GETTABLE  R8 = R0[K7('m_dbProxyType')]
  0018  SELF      R9 = R8[K8('Get')] (self)
  0019  MOVE      R10 = R0
  0020  LOADK     R11 = K9 'value'
  0021  CALL      R8 = call(R8, 1 args, 3 rets)
  0022  GETTABUP  R9 = _ENV[K5('StringUtil')]
  0023  GETTABLE  R9 = R9[K6('IsNilOrEmpty')]
  0024  MOVE      R10 = R0
  0025  CALL      R9 = call(R9, 1 args, 1 rets)
  0026  TEST      if not R9 then   -> -131043
  0027  JMP       (jump)   -> 29
  0028  SETTABLE  R6[K10('cachedProxyType')] = R8
  0029  TFORCALL  tforcall R2
  0030  TFORLOOP  tforloop R4(sBx=-24)   -> 7
  0031  RETURN    return R0..R-1
; ---------- proto6 [SaveHttpRequest] ----------
  ; fn ?  line 154-175 np=3 va=0 ms=11 code=51 consts=25 upvals=3 protos=0
  ;   K[0]='GM'
  ;   K[1]='TestModel'
  ;   K[2]='IsClearing'
  ;   K[3]='MessageId'
  ;   K[4]='url'
  ;   K[5]='Url'
  ;   K[6]='method'
  ;   K[7]='Method'
  ;   K[8]='headers'
  ;   K[9]='body'
  ;   K[10]='encode'
  ;   K[11]='string'
  ;   K[12]='sub'
  ;   K[13]='Body'
  ;   K[14]=1
  ;   K[15]='ContentLength'
  ;   K[16]='opName'
  ;   K[17]='pairs'
  ;   K[18]='Headers'
  ;   K[19]='m_dbTable'
  ;   K[20]='Set'
  ;   K[21]='tostring'
  ;   K[22]='json'
  ;   K[23]='m_tbFlyingRequests'
  ;   K[24]=true
  ;   upvals: _ENV, Base64, DBColumnValue
  ;   locals: self(0-51), reqCtx(0-51), op(0-51), uMsgId(12-51), tbReqBasic(29-51), (for generator)(32-37), (for state)(32-37), (for control)(32-37), key(33-35), value(33-35)
  0000  GETTABUP  R3 = _ENV[K0('GM')]
  0001  GETTABLE  R3 = R3[K1('TestModel')]
  0002  TEST      if not R3 then   -> -131068
  0003  JMP       (jump)   -> 11
  0004  GETTABUP  R3 = _ENV[K0('GM')]
  0005  GETTABLE  R3 = R3[K1('TestModel')]
  0006  SELF      R4 = R3[K2('IsClearing')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  TEST      if not R3 then   -> -131062
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R0..R-1
  0011  GETTABLE  R3 = R1[K3('MessageId')]
  0012  NEWTABLE  R4 = {} (0 items)
  0013  GETTABLE  R5 = R1[K5('Url')]
  0014  SETTABLE  R4[K4('url')] = R5
  0015  GETTABLE  R5 = R1[K7('Method')]
  0016  SETTABLE  R4[K6('method')] = R5
  0017  NEWTABLE  R5 = {} (0 items)
  0018  SETTABLE  R4[K8('headers')] = R5
  0019  GETTABUP  R5 = Base64[K10('encode')]
  0020  GETTABUP  R6 = _ENV[K11('string')]
  0021  GETTABLE  R6 = R6[K12('sub')]
  0022  GETTABLE  R7 = R1[K13('Body')]
  0023  LOADK     R8 = K14 1
  0024  GETTABLE  R9 = R1[K15('ContentLength')]
  0025  CALL      R6 = call(R6, -1 args, 3 rets)
  0026  CALL      R5 = call(R5, 1 args, -1 rets)
  0027  SETTABLE  R4[K9('body')] = R5
  0028  SETTABLE  R4[K16('opName')] = R2
  0029  GETTABUP  R5 = _ENV[K17('pairs')]
  0030  GETTABLE  R6 = R1[K18('Headers')]
  0031  CALL      R5 = call(R5, 3 args, 1 rets)
  0032  JMP       (jump)   -> 35
  0033  GETTABLE  R10 = R4[K8('headers')]
  0034  SETTABLE  R10[R8] = R9
  0035  TFORCALL  tforcall R5
  0036  TFORLOOP  tforloop R7(sBx=-4)   -> 33
  0037  GETTABLE  R5 = R0[K19('m_dbTable')]
  0038  SELF      R6 = R5[K20('Set')] (self)
  0039  GETTABUP  R7 = _ENV[K21('tostring')]
  0040  MOVE      R8 = R0
  0041  CALL      R7 = call(R7, 1 args, 1 rets)
  0042  GETUPVAL  R8 = _ENV
  0043  GETTABUP  R9 = _ENV[K22('json')]
  0044  GETTABLE  R9 = R9[K10('encode')]
  0045  MOVE      R10 = R0
  0046  CALL      R9 = call(R9, -1 args, 1 rets)
  0047  CALL      R5 = call(R5, 0 args, -1 rets)
  0048  GETTABLE  R5 = R0[K23('m_tbFlyingRequests')]
  0049  SETTABLE  R5[R3] = K24(true)
  0050  RETURN    return R0..R-1
; ---------- proto7 [OnFinishSavedHttpRequest] ----------
  ; fn ?  line 177-183 np=5 va=0 ms=9 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='m_tbFlyingRequests'
  ;   K[1]=nil
  ;   K[2]='ResultCode'
  ;   K[3]='Succeeded'
  ;   K[4]='m_dbTable'
  ;   K[5]='Remove'
  ;   K[6]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-13), uMsgId(0-13), rcode(0-13), statusCode(0-13), contentLength(0-13)
  0000  GETTABLE  R5 = R0[K0('m_tbFlyingRequests')]
  0001  SETTABLE  R5[R1] = K1(nil)
  0002  GETTABUP  R5 = _ENV[K2('ResultCode')]
  0003  GETTABLE  R5 = R5[K3('Succeeded')]
  0004  EQ        if R0 eq R5   -> -130037
  0005  JMP       (jump)   -> 12
  0006  GETTABLE  R5 = R0[K4('m_dbTable')]
  0007  SELF      R6 = R5[K5('Remove')] (self)
  0008  GETTABUP  R7 = _ENV[K6('tostring')]
  0009  MOVE      R8 = R0
  0010  CALL      R7 = call(R7, -1 args, 1 rets)
  0011  CALL      R5 = call(R5, 0 args, -1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto8 [SendSavedRequests] ----------
  ; fn ?  line 185-252 np=4 va=0 ms=18 code=102 consts=33 upvals=2 protos=1
  ;   K[0]=nil
  ;   K[1]='string'
  ;   K[2]='lower'
  ;   K[3]='type'
  ;   K[4]='table'
  ;   K[5]='headers'
  ;   K[6]='m_dbTable'
  ;   K[7]='Remove'
  ;   K[8]='tostring'
  ;   K[9]='NetworkConfig'
  ;   K[10]='TokenHeaderKey'
  ;   K[11]='GM'
  ;   K[12]='SsoManager'
  ;   K[13]='GetToken'
  ;   K[14]=''
  ;   K[15]='url'
  ;   K[16]='opName'
  ;   K[17]='GetHttpServerUrl'
  ;   K[18]='CSNetLibManager'
  ;   K[19]='CreateGeneralHttpRequest'
  ;   K[20]='method'
  ;   K[21]=8000
  ;   K[22]=0
  ;   K[23]='pairs'
  ;   K[24]='ClientHeaderKey'
  ;   K[25]='SetHeader'
  ;   K[26]='GetClientHeader'
  ;   K[27]=1
  ;   K[28]='AppendBody'
  ;   K[29]='decode'
  ;   K[30]='body'
  ;   K[31]='SetCallback'
  ;   K[32]='Send'
  ;   upvals: _ENV, Base64
  ;   locals: self(0-102), uMsgId(0-102), tbReqBasic(0-102), bHasCallback(0-102), token(26-102), strUrl(38-102), strOpname(39-102), reqCtx(54-102), (for generator)(57-87), (for state)(57-87), (for control)(57-87), key(58-85), value(58-85)
  0000  EQ        if R1 eq K0(nil)   -> -129790
  0001  JMP       (jump)   -> 13
  0002  GETTABUP  R4 = _ENV[K1('string')]
  0003  GETTABLE  R4 = R4[K2('lower')]
  0004  GETTABUP  R5 = _ENV[K3('type')]
  0005  MOVE      R6 = R0
  0006  CALL      R5 = call(R5, -1 args, 1 rets)
  0007  CALL      R4 = call(R4, 1 args, -1 rets)
  0008  EQ        if R0 eq K4('table')   -> -128754
  0009  JMP       (jump)   -> 13
  0010  GETTABLE  R4 = R2[K5('headers')]
  0011  EQ        if R0 eq K0(nil)   -> -128755
  0012  JMP       (jump)   -> 22
  0013  GETTABLE  R4 = R0[K6('m_dbTable')]
  0014  SELF      R5 = R4[K7('Remove')] (self)
  0015  GETTABUP  R6 = _ENV[K8('tostring')]
  0016  MOVE      R7 = R0
  0017  CALL      R6 = call(R6, -1 args, 1 rets)
  0018  CALL      R4 = call(R4, 0 args, -1 rets)
  0019  LOADBOOL  R4 = true
  0020  LOADBOOL  R5 = false
  0021  RETURN    return R4..R3
  0022  GETTABLE  R4 = R2[K5('headers')]
  0023  GETTABUP  R5 = _ENV[K9('NetworkConfig')]
  0024  GETTABLE  R5 = R5[K10('TokenHeaderKey')]
  0025  GETTABLE  R4 = R4[R5]
  0026  EQ        if R1 eq K0(nil)   -> -128740
  0027  JMP       (jump)   -> 37
  0028  GETTABUP  R5 = _ENV[K11('GM')]
  0029  GETTABLE  R5 = R5[K12('SsoManager')]
  0030  SELF      R6 = R5[K13('GetToken')] (self)
  0031  CALL      R5 = call(R5, 1 args, 1 rets)
  0032  MOVE      R4 = R0
  0033  EQ        if R0 eq K14('')   -> -128719
  0034  JMP       (jump)   -> 37
  0035  LOADBOOL  R5 = false
  0036  RETURN    return R5..R4
  0037  GETTABLE  R5 = R2[K15('url')]
  0038  GETTABLE  R6 = R2[K16('opName')]
  0039  EQ        if R1 eq K0(nil)   -> -127703
  0040  JMP       (jump)   -> 46
  0041  GETTABUP  R7 = _ENV[K9('NetworkConfig')]
  0042  GETTABLE  R7 = R7[K17('GetHttpServerUrl')]
  0043  MOVE      R8 = R0
  0044  CALL      R7 = call(R7, 1 args, 1 rets)
  0045  MOVE      R5 = R0
  0046  GETTABUP  R7 = _ENV[K18('CSNetLibManager')]
  0047  SELF      R8 = R7[K19('CreateGeneralHttpRequest')] (self)
  0048  MOVE      R9 = R0
  0049  MOVE      R10 = R0
  0050  GETTABLE  R11 = R2[K20('method')]
  0051  LOADK     R12 = K21 8000
  0052  LOADK     R13 = K22 0
  0053  CALL      R7 = call(R7, 1 args, 6 rets)
  0054  GETTABUP  R8 = _ENV[K23('pairs')]
  0055  GETTABLE  R9 = R2[K5('headers')]
  0056  CALL      R8 = call(R8, 3 args, 1 rets)
  0057  JMP       (jump)   -> 85
  0058  GETTABUP  R13 = _ENV[K9('NetworkConfig')]
  0059  GETTABLE  R13 = R13[K24('ClientHeaderKey')]
  0060  EQ        if R0 eq R13   -> -125365
  0061  JMP       (jump)   -> 71
  0062  SELF      R14 = R7[K25('SetHeader')] (self)
  0063  GETTABUP  R15 = _ENV[K9('NetworkConfig')]
  0064  GETTABLE  R15 = R15[K24('ClientHeaderKey')]
  0065  GETTABUP  R16 = _ENV[K9('NetworkConfig')]
  0066  GETTABLE  R16 = R16[K26('GetClientHeader')]
  0067  LOADK     R17 = K27 1
  0068  CALL      R16 = call(R16, -1 args, 1 rets)
  0069  CALL      R13 = call(R13, 0 args, -1 rets)
  0070  JMP       (jump)   -> 85
  0071  GETTABUP  R13 = _ENV[K9('NetworkConfig')]
  0072  GETTABLE  R13 = R13[K10('TokenHeaderKey')]
  0073  EQ        if R0 eq R13   -> -125352
  0074  JMP       (jump)   -> 81
  0075  SELF      R14 = R7[K25('SetHeader')] (self)
  0076  GETTABUP  R15 = _ENV[K9('NetworkConfig')]
  0077  GETTABLE  R15 = R15[K10('TokenHeaderKey')]
  0078  MOVE      R16 = R0
  0079  CALL      R13 = call(R13, 0 args, 3 rets)
  0080  JMP       (jump)   -> 85
  0081  SELF      R14 = R7[K25('SetHeader')] (self)
  0082  MOVE      R15 = R0
  0083  MOVE      R16 = R0
  0084  CALL      R13 = call(R13, 0 args, 3 rets)
  0085  TFORCALL  tforcall R8
  0086  TFORLOOP  tforloop R10(sBx=-29)   -> 58
  0087  SELF      R9 = R7[K28('AppendBody')] (self)
  0088  GETTABUP  R10 = Base64[K29('decode')]
  0089  GETTABLE  R11 = R2[K30('body')]
  0090  CALL      R10 = call(R10, -1 args, 1 rets)
  0091  CALL      R8 = call(R8, 0 args, -1 rets)
  0092  TEST      if not R3 then   -> -130978
  0093  JMP       (jump)   -> 97
  0094  SELF      R9 = R7[K31('SetCallback')] (self)
  0095  CLOSURE   R10 = closure proto0
  0096  CALL      R8 = call(R8, 0 args, 2 rets)
  0097  SELF      R9 = R7[K32('Send')] (self)
  0098  CALL      R8 = call(R8, 0 args, 1 rets)
  0099  LOADBOOL  R8 = true
  0100  RETURN    return R8..R7
  0101  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 225-246 np=0 va=0 ms=6 code=42 consts=19 upvals=4 protos=0
    ;   K[0]='GM'
    ;   K[1]=nil
    ;   K[2]='Rcode'
    ;   K[3]='ResultCode'
    ;   K[4]='Succeeded'
    ;   K[5]='HttpManager'
    ;   K[6]='ConvertHeaders'
    ;   K[7]='ResponseHeaders'
    ;   K[8]='token'
    ;   K[9]='needreplace'
    ;   K[10]='SsoManager'
    ;   K[11]='OnTokenExpired'
    ;   K[12]='StringUtil'
    ;   K[13]='IsNilOrEmpty'
    ;   K[14]='SetToken'
    ;   K[15]='OnFinishSavedHttpRequest'
    ;   K[16]='MessageId'
    ;   K[17]='Status'
    ;   K[18]='ContentLength'
    ;   upvals: _ENV, reqCtx, token, self
    ;   locals: headers(13-34), strToken(14-34), strNeedReplace(15-34)
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  EQ        if R1 eq K1(nil)   -> -130812
    0002  JMP       (jump)   -> 41
    0003  GETTABUP  R0 = reqCtx[K2('Rcode')]
    0004  GETTABUP  R1 = _ENV[K3('ResultCode')]
    0005  GETTABLE  R1 = R1[K4('Succeeded')]
    0006  EQ        if R0 eq R1   -> -131063
    0007  JMP       (jump)   -> 34
    0008  GETTABUP  R0 = _ENV[K0('GM')]
    0009  GETTABLE  R0 = R0[K5('HttpManager')]
    0010  SELF      R1 = R0[K6('ConvertHeaders')] (self)
    0011  GETTABUP  R2 = reqCtx[K7('ResponseHeaders')]
    0012  CALL      R0 = call(R0, 1 args, 2 rets)
    0013  GETTABLE  R1 = R0[K8('token')]
    0014  GETTABLE  R2 = R0[K9('needreplace')]
    0015  EQ        if R1 eq K1(nil)   -> -129774
    0016  JMP       (jump)   -> 23
    0017  GETTABUP  R3 = _ENV[K0('GM')]
    0018  GETTABLE  R3 = R3[K10('SsoManager')]
    0019  SELF      R4 = R3[K11('OnTokenExpired')] (self)
    0020  GETUPVAL  R5 = _ENV
    0021  CALL      R3 = call(R3, 0 args, 2 rets)
    0022  JMP       (jump)   -> 34
    0023  GETTABUP  R3 = _ENV[K12('StringUtil')]
    0024  GETTABLE  R3 = R3[K13('IsNilOrEmpty')]
    0025  MOVE      R4 = R0
    0026  CALL      R3 = call(R3, 1 args, 1 rets)
    0027  TEST      if not R3 then   -> -131042
    0028  JMP       (jump)   -> 34
    0029  GETTABUP  R3 = _ENV[K0('GM')]
    0030  GETTABLE  R3 = R3[K10('SsoManager')]
    0031  SELF      R4 = R3[K14('SetToken')] (self)
    0032  MOVE      R5 = R0
    0033  CALL      R3 = call(R3, 0 args, 2 rets)
    0034  GETUPVAL  R0 = _ENV
    0035  SELF      R1 = R0[K15('OnFinishSavedHttpRequest')] (self)
    0036  GETTABUP  R2 = reqCtx[K16('MessageId')]
    0037  GETTABUP  R3 = reqCtx[K2('Rcode')]
    0038  GETTABUP  R4 = reqCtx[K17('Status')]
    0039  GETTABUP  R5 = reqCtx[K18('ContentLength')]
    0040  CALL      R0 = call(R0, 0 args, 5 rets)
    0041  RETURN    return R0..R-1
; ---------- proto9 [ThrowSavedRequests] ----------
  ; fn ?  line 254-269 np=1 va=0 ms=14 code=35 consts=10 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetAllInTable'
  ;   K[2]='pairs'
  ;   K[3]='tonumber'
  ;   K[4]='m_tbFlyingRequests'
  ;   K[5]=nil
  ;   K[6]='json'
  ;   K[7]='decode'
  ;   K[8]='SendSavedRequests'
  ;   K[9]='Clear'
  ;   upvals: _ENV, DBColumnValue
  ;   locals: self(0-35), contents(3-35), uMsgId(4-35), tbReqBasic(4-35), (for generator)(7-29), (for state)(7-29), (for control)(7-29), k(8-27), v(8-27)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetAllInTable')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  LOADNIL   R2..R2 = nil
  0004  GETTABUP  R4 = _ENV[K2('pairs')]
  0005  MOVE      R5 = R0
  0006  CALL      R4 = call(R4, 3 args, 1 rets)
  0007  JMP       (jump)   -> 27
  0008  GETTABUP  R9 = _ENV[K3('tonumber')]
  0009  MOVE      R10 = R0
  0010  CALL      R9 = call(R9, 1 args, 1 rets)
  0011  MOVE      R2 = R0
  0012  GETTABLE  R9 = R0[K4('m_tbFlyingRequests')]
  0013  GETTABLE  R9 = R9[R2]
  0014  EQ        if R0 eq K5(nil)   -> -126187
  0015  JMP       (jump)   -> 27
  0016  GETTABUP  R9 = _ENV[K6('json')]
  0017  GETTABLE  R9 = R9[K7('decode')]
  0018  GETUPVAL  R10 = _ENV
  0019  GETTABLE  R10 = R8[R10]
  0020  CALL      R9 = call(R9, 1 args, 1 rets)
  0021  MOVE      R3 = R0
  0022  SELF      R10 = R0[K8('SendSavedRequests')] (self)
  0023  MOVE      R11 = R0
  0024  MOVE      R12 = R0
  0025  LOADBOOL  R13 = false
  0026  CALL      R9 = call(R9, 0 args, 4 rets)
  0027  TFORCALL  tforcall R4
  0028  TFORLOOP  tforloop R6(sBx=-21)   -> 8
  0029  NEWTABLE  R4 = {} (0 items)
  0030  SETTABLE  R0[K4('m_tbFlyingRequests')] = R4
  0031  GETTABLE  R4 = R0[K0('m_dbTable')]
  0032  SELF      R5 = R4[K9('Clear')] (self)
  0033  CALL      R4 = call(R4, 0 args, 1 rets)
  0034  RETURN    return R0..R-1
; ---------- proto10 [ConvertHeaders] ----------
  ; fn ?  line 271-281 np=2 va=0 ms=10 code=16 consts=4 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='pairs'
  ;   K[2]='string'
  ;   K[3]='lower'
  ;   upvals: _ENV
  ;   locals: self(0-16), tbHeader(0-16), headers(1-16), (for generator)(6-14), (for state)(6-14), (for control)(6-14), key(7-12), value(7-12)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  EQ        if R1 eq K0(nil)   -> -130301
  0002  JMP       (jump)   -> 14
  0003  GETTABUP  R3 = _ENV[K1('pairs')]
  0004  MOVE      R4 = R0
  0005  CALL      R3 = call(R3, 3 args, 1 rets)
  0006  JMP       (jump)   -> 12
  0007  GETTABUP  R8 = _ENV[K2('string')]
  0008  GETTABLE  R8 = R8[K3('lower')]
  0009  MOVE      R9 = R0
  0010  CALL      R8 = call(R8, 1 args, 1 rets)
  0011  SETTABLE  R2[R8] = R7
  0012  TFORCALL  tforcall R3
  0013  TFORLOOP  tforloop R5(sBx=-7)   -> 7
  0014  RETURN    return R2..R1
  0015  RETURN    return R0..R-1
; ---------- proto11 [GetServerTime] ----------
  ; fn ?  line 283-285 np=1 va=0 ms=3 code=17 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='GameModel'
  ;   K[2]='HasServerTime'
  ;   K[3]='GetServerTime'
  ;   K[4]='TimeUtil'
  ;   K[5]='GetTimeInSecond'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('GameModel')]
  0002  SELF      R2 = R1[K2('HasServerTime')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 12
  0006  GETTABUP  R1 = _ENV[K0('GM')]
  0007  GETTABLE  R1 = R1[K1('GameModel')]
  0008  SELF      R2 = R1[K3('GetServerTime')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 15
  0012  GETTABUP  R1 = _ENV[K4('TimeUtil')]
  0013  SELF      R2 = R1[K5('GetTimeInSecond')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
; ---------- proto12 [TryFallbackRequest] ----------
  ; fn ?  line 287-300 np=4 va=0 ms=8 code=19 consts=5 upvals=1 protos=0
  ;   K[0]='HttpManager'
  ;   K[1]='_CanFallback'
  ;   K[2]='SetConnectIp'
  ;   K[3]='Retain'
  ;   K[4]='Send'
  ;   upvals: _ENV
  ;   locals: self(0-19), reqCtx(0-19), strIp(0-19), strChannel(0-19)
  0000  GETTABUP  R4 = _ENV[K0('HttpManager')]
  0001  GETTABLE  R4 = R4[K1('_CanFallback')]
  0002  MOVE      R5 = R0
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  TEST      if not R4 then   -> -131066
  0005  JMP       (jump)   -> 16
  0006  SELF      R5 = R1[K2('SetConnectIp')] (self)
  0007  MOVE      R6 = R0
  0008  MOVE      R7 = R0
  0009  CALL      R4 = call(R4, 0 args, 3 rets)
  0010  SELF      R5 = R1[K3('Retain')] (self)
  0011  CALL      R4 = call(R4, 0 args, 1 rets)
  0012  SELF      R5 = R1[K4('Send')] (self)
  0013  CALL      R4 = call(R4, 0 args, 1 rets)
  0014  LOADBOOL  R4 = true
  0015  RETURN    return R4..R3
  0016  LOADBOOL  R4 = false
  0017  RETURN    return R4..R3
  0018  RETURN    return R0..R-1
; ---------- proto13 [_CanFallback] ----------
  ; fn ?  line 302-320 np=1 va=0 ms=3 code=33 consts=10 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   K[2]='Ip'
  ;   K[3]='Rcode'
  ;   K[4]='ResultCode'
  ;   K[5]='Error'
  ;   K[6]='Except'
  ;   K[7]='HttpManager'
  ;   K[8]='RetryErrors'
  ;   K[9]='ErrorMsg'
  ;   upvals: _ENV
  ;   locals: reqCtx(0-33)
  0000  GETTABUP  R1 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R1 = R1[K1('IsNilOrEmpty')]
  0002  GETTABLE  R2 = R0[K2('Ip')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 8
  0006  LOADBOOL  R1 = false
  0007  RETURN    return R1..R0
  0008  GETTABLE  R1 = R0[K3('Rcode')]
  0009  GETTABUP  R2 = _ENV[K4('ResultCode')]
  0010  GETTABLE  R2 = R2[K5('Error')]
  0011  EQ        if R0 eq R2   -> -130545
  0012  JMP       (jump)   -> 15
  0013  LOADBOOL  R1 = true
  0014  RETURN    return R1..R0
  0015  GETTABLE  R1 = R0[K3('Rcode')]
  0016  GETTABUP  R2 = _ENV[K4('ResultCode')]
  0017  GETTABLE  R2 = R2[K6('Except')]
  0018  EQ        if R1 eq R2   -> -130538
  0019  JMP       (jump)   -> 22
  0020  LOADBOOL  R1 = false
  0021  RETURN    return R1..R0
  0022  GETTABUP  R1 = _ENV[K7('HttpManager')]
  0023  GETTABLE  R1 = R1[K8('RetryErrors')]
  0024  GETTABLE  R2 = R0[K9('ErrorMsg')]
  0025  GETTABLE  R1 = R1[R2]
  0026  TEST      if not R1 then   -> -131044
  0027  JMP       (jump)   -> 30
  0028  LOADBOOL  R1 = true
  0029  RETURN    return R1..R0
  0030  LOADBOOL  R1 = false
  0031  RETURN    return R1..R0
  0032  RETURN    return R0..R-1
; ---------- proto14 [_ParseUrlHost] ----------
  ; fn ?  line 322-361 np=1 va=0 ms=7 code=84 consts=10 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   K[2]='string'
  ;   K[3]='find'
  ;   K[4]='://'
  ;   K[5]=nil
  ;   K[6]='sub'
  ;   K[7]=1
  ;   K[8]='?'
  ;   K[9]='/'
  ;   upvals: _ENV
  ;   locals: strUrl(0-84), s(9-84), e(9-84)
  0000  GETTABUP  R1 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R1 = R1[K1('IsNilOrEmpty')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  LOADNIL   R1..R1 = nil
  0007  RETURN    return R1..R0
  0008  LOADNIL   R1..R1 = nil
  0009  GETTABUP  R3 = _ENV[K2('string')]
  0010  GETTABLE  R3 = R3[K3('find')]
  0011  MOVE      R4 = R0
  0012  LOADK     R5 = K4 '://'
  0013  CALL      R3 = call(R3, 2 args, 2 rets)
  0014  MOVE      R2 = R0
  0015  MOVE      R1 = R0
  0016  EQ        if R0 eq K5(nil)   -> -129769
  0017  JMP       (jump)   -> 20
  0018  LOADNIL   R3..R3 = nil
  0019  RETURN    return R3..R2
  0020  GETTABUP  R3 = _ENV[K2('string')]
  0021  GETTABLE  R3 = R3[K6('sub')]
  0022  MOVE      R4 = R0
  0023  ADD       R5 = K7(1) add R2
  0024  CALL      R3 = call(R3, 1 args, 2 rets)
  0025  MOVE      R0 = R0
  0026  GETTABUP  R3 = _ENV[K0('StringUtil')]
  0027  GETTABLE  R3 = R3[K1('IsNilOrEmpty')]
  0028  MOVE      R4 = R0
  0029  CALL      R3 = call(R3, 1 args, 1 rets)
  0030  TEST      if not R3 then   -> -131040
  0031  JMP       (jump)   -> 34
  0032  LOADNIL   R3..R3 = nil
  0033  RETURN    return R3..R2
  0034  GETTABUP  R3 = _ENV[K2('string')]
  0035  GETTABLE  R3 = R3[K3('find')]
  0036  MOVE      R4 = R0
  0037  LOADK     R5 = K8 '?'
  0038  CALL      R3 = call(R3, 2 args, 2 rets)
  0039  MOVE      R2 = R0
  0040  MOVE      R1 = R0
  0041  EQ        if R1 eq K5(nil)   -> -129744
  0042  JMP       (jump)   -> 58
  0043  GETTABUP  R3 = _ENV[K2('string')]
  0044  GETTABLE  R3 = R3[K6('sub')]
  0045  MOVE      R4 = R0
  0046  LOADK     R5 = K7 1
  0047  SUB       R6 = K7(1) sub R2
  0048  CALL      R3 = call(R3, 1 args, 3 rets)
  0049  MOVE      R0 = R0
  0050  GETTABUP  R3 = _ENV[K0('StringUtil')]
  0051  GETTABLE  R3 = R3[K1('IsNilOrEmpty')]
  0052  MOVE      R4 = R0
  0053  CALL      R3 = call(R3, 1 args, 1 rets)
  0054  TEST      if not R3 then   -> -131016
  0055  JMP       (jump)   -> 58
  0056  LOADNIL   R3..R3 = nil
  0057  RETURN    return R3..R2
  0058  GETTABUP  R3 = _ENV[K2('string')]
  0059  GETTABLE  R3 = R3[K3('find')]
  0060  MOVE      R4 = R0
  0061  LOADK     R5 = K9 '/'
  0062  CALL      R3 = call(R3, 2 args, 2 rets)
  0063  MOVE      R2 = R0
  0064  MOVE      R1 = R0
  0065  EQ        if R1 eq K5(nil)   -> -129720
  0066  JMP       (jump)   -> 82
  0067  GETTABUP  R3 = _ENV[K2('string')]
  0068  GETTABLE  R3 = R3[K6('sub')]
  0069  MOVE      R4 = R0
  0070  LOADK     R5 = K7 1
  0071  SUB       R6 = K7(1) sub R2
  0072  CALL      R3 = call(R3, 1 args, 3 rets)
  0073  MOVE      R0 = R0
  0074  GETTABUP  R3 = _ENV[K0('StringUtil')]
  0075  GETTABLE  R3 = R3[K1('IsNilOrEmpty')]
  0076  MOVE      R4 = R0
  0077  CALL      R3 = call(R3, 1 args, 1 rets)
  0078  TEST      if not R3 then   -> -130992
  0079  JMP       (jump)   -> 82
  0080  LOADNIL   R3..R3 = nil
  0081  RETURN    return R3..R2
  0082  RETURN    return R0..R-1
  0083  RETURN    return R0..R-1
; ---------- proto15 [LogNetLib] ----------
  ; fn ?  line 363-375 np=1 va=0 ms=11 code=31 consts=14 upvals=1 protos=0
  ;   K[0]='CSNetLibManager'
  ;   K[1]='GetRecords'
  ;   K[2]='[]'
  ;   K[3]='json'
  ;   K[4]='decode'
  ;   K[5]=nil
  ;   K[6]='ipairs'
  ;   K[7]='string'
  ;   K[8]='lower'
  ;   K[9]='type'
  ;   K[10]='table'
  ;   K[11]='GM'
  ;   K[12]='BIManager'
  ;   K[13]='LogNetLib'
  ;   upvals: _ENV
  ;   locals: self(0-31), strData(3-31), arrData(9-30), (for generator)(14-30), (for state)(14-30), (for control)(14-30), index(15-28), value(15-28)
  0000  GETTABUP  R1 = _ENV[K0('CSNetLibManager')]
  0001  SELF      R2 = R1[K1('GetRecords')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  EQ        if R1 eq K2('[]')   -> -130297
  0004  JMP       (jump)   -> 30
  0005  GETTABUP  R2 = _ENV[K3('json')]
  0006  GETTABLE  R2 = R2[K4('decode')]
  0007  MOVE      R3 = R0
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  EQ        if R1 eq K5(nil)   -> -129776
  0010  JMP       (jump)   -> 30
  0011  GETTABUP  R3 = _ENV[K6('ipairs')]
  0012  MOVE      R4 = R0
  0013  CALL      R3 = call(R3, 3 args, 1 rets)
  0014  JMP       (jump)   -> 28
  0015  GETTABUP  R8 = _ENV[K7('string')]
  0016  GETTABLE  R8 = R8[K8('lower')]
  0017  GETTABUP  R9 = _ENV[K9('type')]
  0018  MOVE      R10 = R0
  0019  CALL      R9 = call(R9, -1 args, 1 rets)
  0020  CALL      R8 = call(R8, 1 args, -1 rets)
  0021  EQ        if R0 eq K10('table')   -> -126687
  0022  JMP       (jump)   -> 28
  0023  GETTABUP  R8 = _ENV[K11('GM')]
  0024  GETTABLE  R8 = R8[K12('BIManager')]
  0025  SELF      R9 = R8[K13('LogNetLib')] (self)
  0026  MOVE      R10 = R0
  0027  CALL      R8 = call(R8, 0 args, 2 rets)
  0028  TFORCALL  tforcall R3
  0029  TFORLOOP  tforloop R5(sBx=-15)   -> 15
  0030  RETURN    return R0..R-1
; ---------- proto16 [OnCallbackStart] ----------
  ; fn ?  line 377-380 np=2 va=0 ms=6 code=7 consts=4 upvals=0 protos=0
  ;   K[0]='UpdateProxyType'
  ;   K[1]='RealUrl'
  ;   K[2]='ProxyType'
  ;   K[3]='LogNetLib'
  ;   locals: self(0-7), reqCtx(0-7)
  0000  SELF      R3 = R0[K0('UpdateProxyType')] (self)
  0001  GETTABLE  R4 = R1[K1('RealUrl')]
  0002  GETTABLE  R5 = R1[K2('ProxyType')]
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  SELF      R3 = R0[K3('LogNetLib')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
