# UI_Window_Bundle_BundleTestInfo_515.luac
; fn @BundleTestInfo.lua  line 0-0 np=0 va=1 ms=2 code=15 consts=5 upvals=1 protos=3
;   K[0]='BundleTestInfo'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='OnCloseBtnClicked'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BundleTestInfo')] = R0
0002  GETTABUP  R0 = _ENV[K0('BundleTestInfo')]
0003  GETTABUP  R1 = _ENV[K0('BundleTestInfo')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BundleTestInfo')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('BundleTestInfo')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('BundleTestInfo')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('OnCloseBtnClicked')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 5-9 np=1 va=0 ms=4 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='CanShowTestUI'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('CanShowTestUI')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 11
  0006  GETTABUP  R1 = _ENV[K3('UIUtil')]
  0007  GETTABLE  R1 = R1[K4('SetActive')]
  0008  GETTABLE  R2 = R0[K5('gameObject')]
  0009  LOADBOOL  R3 = false
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 11-39 np=4 va=0 ms=15 code=67 consts=25 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='CanShowTestUI'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='gameObject'
  ;   K[6]='GetGroupId'
  ;   K[7]=''
  ;   K[8]='groupId: '
  ;   K[9]='\n'
  ;   K[10]='_GetBundleDBData'
  ;   K[11]='EBundleDBKey'
  ;   K[12]='DailyShowNum'
  ;   K[13]='GetDailyShowNum'
  ;   K[14]=nil
  ;   K[15]='string'
  ;   K[16]='format'
  ;   K[17]='dailyShowNum: %d/%d\n'
  ;   K[18]='triggerType: '
  ;   K[19]='_GetTriggerDailyNum'
  ;   K[20]='GetTargetTriggerData'
  ;   K[21]='dailyShowNum'
  ;   K[22]='triggerDailyShowNum: %d/%d\n'
  ;   K[23]='m_text'
  ;   K[24]='text'
  ;   upvals: _ENV
  ;   locals: self(0-67), model(0-67), dataGroup(0-67), eTriggerType(0-67), groupId(14-67), testStr(15-67), dailyShowNum(25-67), dailyMaxShowNum(27-67), triggerDailyNum(48-64), triggerData(51-64)
  0000  GETTABUP  R4 = _ENV[K0('GM')]
  0001  GETTABLE  R4 = R4[K1('UIManager')]
  0002  SELF      R5 = R4[K2('CanShowTestUI')] (self)
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  TEST      if not R4 then   -> -131065
  0005  JMP       (jump)   -> 12
  0006  GETTABUP  R4 = _ENV[K3('UIUtil')]
  0007  GETTABLE  R4 = R4[K4('SetActive')]
  0008  GETTABLE  R5 = R0[K5('gameObject')]
  0009  LOADBOOL  R6 = false
  0010  CALL      R4 = call(R4, 0 args, 2 rets)
  0011  RETURN    return R0..R-1
  0012  SELF      R5 = R2[K6('GetGroupId')] (self)
  0013  CALL      R4 = call(R4, 1 args, 1 rets)
  0014  LOADK     R5 = K7 ''
  0015  MOVE      R6 = R0
  0016  LOADK     R7 = K8 'groupId: '
  0017  MOVE      R8 = R0
  0018  LOADK     R9 = K9 '\n'
  0019  CONCAT    R5 = concat(R5..R6)
  0020  SELF      R7 = R1[K10('_GetBundleDBData')] (self)
  0021  MOVE      R8 = R0
  0022  GETTABUP  R9 = _ENV[K11('EBundleDBKey')]
  0023  GETTABLE  R9 = R9[K12('DailyShowNum')]
  0024  CALL      R6 = call(R6, 1 args, 3 rets)
  0025  SELF      R8 = R2[K13('GetDailyShowNum')] (self)
  0026  CALL      R7 = call(R7, 1 args, 1 rets)
  0027  EQ        if R1 eq K14(nil)   -> -127189
  0028  JMP       (jump)   -> 37
  0029  MOVE      R8 = R0
  0030  GETTABUP  R9 = _ENV[K15('string')]
  0031  GETTABLE  R9 = R9[K16('format')]
  0032  LOADK     R10 = K17 'dailyShowNum: %d/%d\n'
  0033  MOVE      R11 = R0
  0034  MOVE      R12 = R0
  0035  CALL      R9 = call(R9, 1 args, 3 rets)
  0036  CONCAT    R5 = concat(R5..R8)
  0037  EQ        if R1 eq K14(nil)   -> -129227
  0038  JMP       (jump)   -> 64
  0039  MOVE      R8 = R0
  0040  LOADK     R9 = K18 'triggerType: '
  0041  MOVE      R10 = R0
  0042  LOADK     R11 = K9 '\n'
  0043  CONCAT    R5 = concat(R5..R8)
  0044  SELF      R9 = R1[K19('_GetTriggerDailyNum')] (self)
  0045  MOVE      R10 = R0
  0046  MOVE      R11 = R0
  0047  CALL      R8 = call(R8, 1 args, 3 rets)
  0048  SELF      R10 = R2[K20('GetTargetTriggerData')] (self)
  0049  MOVE      R11 = R0
  0050  CALL      R9 = call(R9, 1 args, 2 rets)
  0051  EQ        if R1 eq K14(nil)   -> -126141
  0052  JMP       (jump)   -> 64
  0053  GETTABLE  R10 = R9[K21('dailyShowNum')]
  0054  EQ        if R1 eq K14(nil)   -> -125626
  0055  JMP       (jump)   -> 64
  0056  MOVE      R10 = R0
  0057  GETTABUP  R11 = _ENV[K15('string')]
  0058  GETTABLE  R11 = R11[K16('format')]
  0059  LOADK     R12 = K22 'triggerDailyShowNum: %d/%d\n'
  0060  MOVE      R13 = R0
  0061  GETTABLE  R14 = R9[K21('dailyShowNum')]
  0062  CALL      R11 = call(R11, 1 args, 3 rets)
  0063  CONCAT    R5 = concat(R5..R10)
  0064  GETTABLE  R8 = R0[K23('m_text')]
  0065  SETTABLE  R8[K24('text')] = R5
  0066  RETURN    return R0..R-1
; ---------- proto2 [OnCloseBtnClicked] ----------
  ; fn ?  line 41-43 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R1 = R1[K1('SetActive')]
  0002  GETTABLE  R2 = R0[K2('gameObject')]
  0003  LOADBOOL  R3 = false
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
