# FundPack_View_FundPackActivityPurchaseWindow_1452.luac
; fn @FundPackActivityPurchaseWindow.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=6 upvals=1 protos=2
;   K[0]='FundPackActivityPurchaseWindow'
;   K[1]='setmetatable'
;   K[2]='FundPackActivityBaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='OnPurchaseBtnClicked'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('FundPackActivityBaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('FundPackActivityPurchaseWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('FundPackActivityPurchaseWindow')]
0006  GETTABUP  R1 = _ENV[K0('FundPackActivityPurchaseWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('FundPackActivityPurchaseWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('FundPackActivityPurchaseWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('OnPurchaseBtnClicked')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-12 np=2 va=0 ms=5 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='FundPackActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_buttonText'
  ;   K[3]='text'
  ;   K[4]='GetModel'
  ;   K[5]='GetLocalizedPrice'
  ;   upvals: _ENV
  ;   locals: self(0-12), activityType(0-12)
  0000  GETTABUP  R2 = _ENV[K0('FundPackActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  GETTABLE  R2 = R0[K2('m_buttonText')]
  0006  SELF      R4 = R0[K4('GetModel')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  SELF      R4 = R3[K5('GetLocalizedPrice')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  SETTABLE  R2[K3('text')] = R3
  0011  RETURN    return R0..R-1
; ---------- proto1 [OnPurchaseBtnClicked] ----------
  ; fn ?  line 14-17 np=1 va=0 ms=3 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='Close'
  ;   K[1]='GetModel'
  ;   K[2]='StartPurchase'
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('GetModel')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  SELF      R2 = R1[K2('StartPurchase')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
