# UI_Window_IAP_PurchaseFailWindow_543.luac
; fn @PurchaseFailWindow.lua  line 0-0 np=0 va=1 ms=3 code=18 consts=7 upvals=1 protos=3
;   K[0]='PurchaseFailWindow'
;   K[1]='setmetatable'
;   K[2]='BaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='Ok'
;   K[6]='Restore'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('PurchaseFailWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('PurchaseFailWindow')]
0006  GETTABUP  R1 = _ENV[K0('PurchaseFailWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('PurchaseFailWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('PurchaseFailWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('Ok')] = R1
0014  GETTABUP  R0 = _ENV[K0('PurchaseFailWindow')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('Restore')] = R1
0017  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-12 np=2 va=0 ms=6 code=24 consts=10 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   K[2]='m_normalContentGo'
  ;   K[3]='SetActive'
  ;   K[4]='m_msgText'
  ;   K[5]='gameObject'
  ;   K[6]='text'
  ;   K[7]='GM'
  ;   K[8]='GameTextModel'
  ;   K[9]='GetText'
  ;   upvals: _ENV
  ;   locals: self(0-24), msgKey(0-24)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('IsNilOrEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABLE  R2 = R0[K2('m_normalContentGo')]
  0008  SELF      R3 = R2[K3('SetActive')] (self)
  0009  LOADBOOL  R4 = false
  0010  CALL      R2 = call(R2, 0 args, 2 rets)
  0011  GETTABLE  R2 = R0[K4('m_msgText')]
  0012  GETTABLE  R2 = R2[K5('gameObject')]
  0013  SELF      R3 = R2[K3('SetActive')] (self)
  0014  LOADBOOL  R4 = true
  0015  CALL      R2 = call(R2, 0 args, 2 rets)
  0016  GETTABLE  R2 = R0[K4('m_msgText')]
  0017  GETTABUP  R3 = _ENV[K7('GM')]
  0018  GETTABLE  R3 = R3[K8('GameTextModel')]
  0019  SELF      R4 = R3[K9('GetText')] (self)
  0020  MOVE      R5 = R0
  0021  CALL      R3 = call(R3, 1 args, 2 rets)
  0022  SETTABLE  R2[K6('text')] = R3
  0023  RETURN    return R0..R-1
; ---------- proto1 [Ok] ----------
  ; fn ?  line 14-16 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='Close'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto2 [Restore] ----------
  ; fn ?  line 18-21 np=1 va=0 ms=4 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='GM'
  ;   K[2]='InAppPurchaseModel'
  ;   K[3]='RestorePurchase'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('GM')]
  0003  GETTABLE  R1 = R1[K2('InAppPurchaseModel')]
  0004  SELF      R2 = R1[K3('RestorePurchase')] (self)
  0005  LOADBOOL  R3 = true
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
