# Model_UserData_MiscModel_87.luac
; fn @MiscModel.lua  line 0-0 np=0 va=1 ms=2 code=30 consts=11 upvals=1 protos=8
;   K[0]='MiscModel'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='MiscModel'
;   K[4]='GetData'
;   K[5]='FromSyncData'
;   K[6]='Get'
;   K[7]='Set'
;   K[8]='Remove'
;   K[9]='GetInNumber'
;   K[10]='ChangeNumber'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('MiscModel')] = R0
0002  GETTABUP  R0 = _ENV[K0('MiscModel')]
0003  GETTABUP  R1 = _ENV[K0('MiscModel')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('MiscModel')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K3('MiscModel')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('GetData')] = R1
0011  GETTABUP  R0 = _ENV[K3('MiscModel')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('FromSyncData')] = R1
0014  GETTABUP  R0 = _ENV[K3('MiscModel')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('Get')] = R1
0017  GETTABUP  R0 = _ENV[K3('MiscModel')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('Set')] = R1
0020  GETTABUP  R0 = _ENV[K3('MiscModel')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K8('Remove')] = R1
0023  GETTABUP  R0 = _ENV[K3('MiscModel')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K9('GetInNumber')] = R1
0026  GETTABUP  R0 = _ENV[K3('MiscModel')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K10('ChangeNumber')] = R1
0029  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-8 np=1 va=0 ms=4 code=13 consts=10 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GM'
  ;   K[2]='DBTableManager'
  ;   K[3]='GetTable'
  ;   K[4]='EDBTableConfigs'
  ;   K[5]='Misc'
  ;   K[6]='ModelHelper'
  ;   K[7]='DefineProperties'
  ;   K[8]='MiscModel'
  ;   K[9]='EMiscKey'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K1('GM')]
  0001  GETTABLE  R1 = R1[K2('DBTableManager')]
  0002  SELF      R2 = R1[K3('GetTable')] (self)
  0003  GETTABUP  R3 = _ENV[K4('EDBTableConfigs')]
  0004  GETTABLE  R3 = R3[K5('Misc')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  SETTABLE  R0[K0('m_dbTable')] = R1
  0007  GETTABUP  R1 = _ENV[K6('ModelHelper')]
  0008  GETTABLE  R1 = R1[K7('DefineProperties')]
  0009  GETTABUP  R2 = _ENV[K8('MiscModel')]
  0010  GETTABUP  R3 = _ENV[K9('EMiscKey')]
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
; ---------- proto1 [GetData] ----------
  ; fn ?  line 10-12 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto2 [FromSyncData] ----------
  ; fn ?  line 14-16 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='FromArr'
  ;   locals: self(0-5), dataArr(0-5)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('FromArr')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto3 [Get] ----------
  ; fn ?  line 18-20 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='value'
  ;   locals: self(0-7), key(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  MOVE      R4 = R0
  0003  LOADK     R5 = K2 'value'
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto4 [Set] ----------
  ; fn ?  line 22-24 np=3 va=0 ms=8 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='value'
  ;   locals: self(0-7), key(0-7), value(0-7)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  MOVE      R5 = R0
  0003  LOADK     R6 = K2 'value'
  0004  MOVE      R7 = R0
  0005  CALL      R3 = call(R3, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [Remove] ----------
  ; fn ?  line 26-28 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   locals: self(0-5), key(0-5)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Remove')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto6 [GetInNumber] ----------
  ; fn ?  line 30-32 np=2 va=0 ms=6 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='tonumber'
  ;   K[1]='Get'
  ;   K[2]=0
  ;   upvals: _ENV
  ;   locals: self(0-10), key(0-10)
  0000  GETTABUP  R2 = _ENV[K0('tonumber')]
  0001  SELF      R4 = R0[K1('Get')] (self)
  0002  MOVE      R5 = R0
  0003  CALL      R3 = call(R3, -1 args, 2 rets)
  0004  CALL      R2 = call(R2, 1 args, -1 rets)
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R2 = K2 0
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto7 [ChangeNumber] ----------
  ; fn ?  line 34-41 np=3 va=0 ms=10 code=14 consts=4 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='GetInNumber'
  ;   K[2]='Set'
  ;   K[3]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-14), key(0-14), delta(0-14), curNum(6-14), newNum(7-14)
  0000  EQ        if R0 eq K0(0)   -> -129790
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  SELF      R4 = R0[K1('GetInNumber')] (self)
  0004  MOVE      R5 = R0
  0005  CALL      R3 = call(R3, 1 args, 2 rets)
  0006  ADD       R4 = R2 add R3
  0007  SELF      R6 = R0[K2('Set')] (self)
  0008  MOVE      R7 = R0
  0009  GETTABUP  R8 = _ENV[K3('tostring')]
  0010  MOVE      R9 = R0
  0011  CALL      R8 = call(R8, -1 args, 1 rets)
  0012  CALL      R5 = call(R5, 0 args, -1 rets)
  0013  RETURN    return R0..R-1
