# UI_Button_OnePlusNBundleButton_309.luac
; fn @OnePlusNBundleButton.lua  line 0-0 np=0 va=1 ms=3 code=12 consts=5 upvals=1 protos=1
;   K[0]='OnePlusNBundleButton'
;   K[1]='setmetatable'
;   K[2]='ChainBundleButton'
;   K[3]='__index'
;   K[4]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('ChainBundleButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('OnePlusNBundleButton')] = R0
0005  GETTABUP  R0 = _ENV[K0('OnePlusNBundleButton')]
0006  GETTABUP  R1 = _ENV[K0('OnePlusNBundleButton')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('OnePlusNBundleButton')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-18 np=1 va=1 ms=6 code=46 consts=14 upvals=1 protos=0
  ;   K[0]='ChainBundleButton'
  ;   K[1]='Init'
  ;   K[2]='m_model'
  ;   K[3]='GetNCount'
  ;   K[4]='m_dataGroup'
  ;   K[5]='m_onePlusOneGo'
  ;   K[6]=nil
  ;   K[7]='m_onePlusNGo'
  ;   K[8]='UIUtil'
  ;   K[9]='SetActive'
  ;   K[10]=1
  ;   K[11]='m_spine'
  ;   K[12]='SetAnimation'
  ;   K[13]='idle'
  ;   upvals: _ENV
  ;   locals: self(0-46), NCount(9-46)
  0000  GETTABUP  R1 = _ENV[K0('ChainBundleButton')]
  0001  GETTABLE  R1 = R1[K1('Init')]
  0002  MOVE      R2 = R0
  0003  VARARG    R3 = vararg(0)
  0004  CALL      R1 = call(R1, 0 args, -1 rets)
  0005  GETTABLE  R1 = R0[K2('m_model')]
  0006  SELF      R2 = R1[K3('GetNCount')] (self)
  0007  GETTABLE  R3 = R0[K4('m_dataGroup')]
  0008  CALL      R1 = call(R1, 1 args, 2 rets)
  0009  GETTABLE  R2 = R0[K5('m_onePlusOneGo')]
  0010  EQ        if R1 eq K6(nil)   -> -129774
  0011  JMP       (jump)   -> 32
  0012  GETTABLE  R2 = R0[K7('m_onePlusNGo')]
  0013  EQ        if R1 eq K6(nil)   -> -129771
  0014  JMP       (jump)   -> 32
  0015  GETTABUP  R2 = _ENV[K8('UIUtil')]
  0016  GETTABLE  R2 = R2[K9('SetActive')]
  0017  GETTABLE  R3 = R0[K5('m_onePlusOneGo')]
  0018  EQ        if R1 eq K10(1)   -> -130274
  0019  JMP       (jump)   -> 21
  0020  LOADBOOL  R4 = false
  0021  LOADBOOL  R4 = true
  0022  CALL      R2 = call(R2, 0 args, 2 rets)
  0023  GETTABUP  R2 = _ENV[K8('UIUtil')]
  0024  GETTABLE  R2 = R2[K9('SetActive')]
  0025  GETTABLE  R3 = R0[K7('m_onePlusNGo')]
  0026  LT        if R1 lt R1   -> 5149
  0027  JMP       (jump)   -> 29
  0028  LOADBOOL  R4 = false
  0029  LOADBOOL  R4 = true
  0030  CALL      R2 = call(R2, 0 args, 2 rets)
  0031  JMP       (jump)   -> 45
  0032  GETTABLE  R2 = R0[K11('m_spine')]
  0033  TEST      if not R2 then   -> -131037
  0034  JMP       (jump)   -> 45
  0035  GETTABLE  R2 = R0[K11('m_spine')]
  0036  SELF      R3 = R2[K1('Init')] (self)
  0037  CALL      R2 = call(R2, 0 args, 1 rets)
  0038  GETTABLE  R2 = R0[K11('m_spine')]
  0039  SELF      R3 = R2[K12('SetAnimation')] (self)
  0040  LOADK     R4 = K13 'idle'
  0041  MOVE      R5 = R0
  0042  CONCAT    R4 = concat(R4..R4)
  0043  LOADBOOL  R5 = true
  0044  CALL      R2 = call(R2, 0 args, 3 rets)
  0045  RETURN    return R0..R-1
