# FundPack_Model_FundPackActivityConfig_1440.luac
; fn @FundPackActivityConfig.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=8 upvals=1 protos=5
;   K[0]='FundPackActivityConfig'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='FundPackActivityConfig'
;   K[4]='_Init'
;   K[5]='GetIAPType'
;   K[6]='GetDiscountValue'
;   K[7]='GetPopCount'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('FundPackActivityConfig')] = R0
0002  GETTABUP  R0 = _ENV[K0('FundPackActivityConfig')]
0003  GETTABUP  R1 = _ENV[K0('FundPackActivityConfig')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('FundPackActivityConfig')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('FundPackActivityConfig')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('_Init')] = R1
0011  GETTABUP  R0 = _ENV[K3('FundPackActivityConfig')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('GetIAPType')] = R1
0014  GETTABUP  R0 = _ENV[K3('FundPackActivityConfig')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('GetDiscountValue')] = R1
0017  GETTABUP  R0 = _ENV[K3('FundPackActivityConfig')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('GetPopCount')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 8-13 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='FundPackActivityConfig'
  ;   K[2]='_Init'
  ;   upvals: _ENV
  ;   locals: config(0-8), instance(4-8)
  0000  GETTABUP  R1 = _ENV[K0('setmetatable')]
  0001  MOVE      R2 = R0
  0002  GETTABUP  R3 = _ENV[K1('FundPackActivityConfig')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  SELF      R3 = R0[K2('_Init')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto1 [_Init] ----------
  ; fn ?  line 15-18 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='popCount'
  ;   K[1]='Table'
  ;   K[2]='Empty'
  ;   K[3]='table'
  ;   K[4]='sort'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('popCount')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 5
  0003  GETTABUP  R1 = _ENV[K1('Table')]
  0004  GETTABLE  R1 = R1[K2('Empty')]
  0005  SETTABLE  R0[K0('popCount')] = R1
  0006  GETTABUP  R1 = _ENV[K3('table')]
  0007  GETTABLE  R1 = R1[K4('sort')]
  0008  GETTABLE  R2 = R0[K0('popCount')]
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto2 [GetIAPType] ----------
  ; fn ?  line 20-22 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='payID'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('payID')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [GetDiscountValue] ----------
  ; fn ?  line 24-26 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='discountValue'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('discountValue')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [GetPopCount] ----------
  ; fn ?  line 28-30 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='popCount'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('popCount')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
