# LuckyBlastActivity_View_LuckyBlastActivityMachine_1787.luac
; fn @LuckyBlastActivityMachine.lua  line 0-0 np=0 va=1 ms=3 code=46 consts=20 upvals=1 protos=12
;   K[0]='LuckyBlastActivityMachine'
;   K[1]='__index'
;   K[2]='Idle'
;   K[3]='idle_1'
;   K[4]='CanSpin'
;   K[5]='idle_2'
;   K[6]='Spin'
;   K[7]='idle_3'
;   K[8]='Init'
;   K[9]='SyncItemCode'
;   K[10]='OnDestroy'
;   K[11]='_GetItem'
;   K[12]='_GetResult'
;   K[13]='_GetShowAnimationName'
;   K[14]='_GetIdleAnimationName'
;   K[15]='OnCloseView'
;   K[16]='GetAnimationTime'
;   K[17]='PlaySpinAnimation'
;   K[18]='_SpeedUp'
;   K[19]='PlayTriggerEndAnimation'
;   upvals: _ENV
;   locals: ESpineTopAnimationName(9-46)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('LuckyBlastActivityMachine')] = R0
0002  GETTABUP  R0 = _ENV[K0('LuckyBlastActivityMachine')]
0003  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  NEWTABLE  R0 = {} (0 items)
0006  SETTABLE  R0[K2('Idle')] = K3('idle_1')
0007  SETTABLE  R0[K4('CanSpin')] = K5('idle_2')
0008  SETTABLE  R0[K6('Spin')] = K7('idle_3')
0009  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0010  CLOSURE   R2 = closure proto0
0011  SETTABLE  R1[K8('Init')] = R2
0012  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0013  CLOSURE   R2 = closure proto1
0014  SETTABLE  R1[K9('SyncItemCode')] = R2
0015  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0016  CLOSURE   R2 = closure proto2
0017  SETTABLE  R1[K10('OnDestroy')] = R2
0018  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0019  CLOSURE   R2 = closure proto3
0020  SETTABLE  R1[K11('_GetItem')] = R2
0021  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0022  CLOSURE   R2 = closure proto4
0023  SETTABLE  R1[K12('_GetResult')] = R2
0024  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0025  CLOSURE   R2 = closure proto5
0026  SETTABLE  R1[K13('_GetShowAnimationName')] = R2
0027  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0028  CLOSURE   R2 = closure proto6
0029  SETTABLE  R1[K14('_GetIdleAnimationName')] = R2
0030  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0031  CLOSURE   R2 = closure proto7
0032  SETTABLE  R1[K15('OnCloseView')] = R2
0033  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0034  CLOSURE   R2 = closure proto8
0035  SETTABLE  R1[K16('GetAnimationTime')] = R2
0036  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0037  CLOSURE   R2 = closure proto9
0038  SETTABLE  R1[K17('PlaySpinAnimation')] = R2
0039  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0040  CLOSURE   R2 = closure proto10
0041  SETTABLE  R1[K18('_SpeedUp')] = R2
0042  GETTABUP  R1 = _ENV[K0('LuckyBlastActivityMachine')]
0043  CLOSURE   R2 = closure proto11
0044  SETTABLE  R1[K19('PlayTriggerEndAnimation')] = R2
0045  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 40-94 np=10 va=0 ms=23 code=114 consts=32 upvals=2 protos=1
  ;   K[0]='m_window'
  ;   K[1]='m_count'
  ;   K[2]='m_bHasTimeLimit'
  ;   K[3]='m_spine'
  ;   K[4]='Init'
  ;   K[5]='m_spineTop'
  ;   K[6]='_GetShowAnimationName'
  ;   K[7]='_GetIdleAnimationName'
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='SetEventLock'
  ;   K[11]='SetCompleteCallback'
  ;   K[12]='SetAnimation'
  ;   K[13]='AddAnimation'
  ;   K[14]='CanSpin'
  ;   K[15]='Idle'
  ;   K[16]='UIUtil'
  ;   K[17]='SetActive'
  ;   K[18]='m_topLightGo'
  ;   K[19]='SyncItemCode'
  ;   K[20]=1
  ;   K[21]=3
  ;   K[22]='_GetResult'
  ;   K[23]='StringUtil'
  ;   K[24]='IsNilOrEmpty'
  ;   K[25]='InitResult'
  ;   K[26]='InitEmpty'
  ;   K[27]='InitLock'
  ;   K[28]='InitQuestionMark'
  ;   K[29]='m_backBoneFollowerGraphic'
  ;   K[30]='LateUpdate'
  ;   K[31]='m_frontBoneFollowerGraphic'
  ;   upvals: _ENV, ESpineTopAnimationName
  ;   locals: self(0-114), window(0-114), arrItemCode(0-114), arrResultItemCode(0-114), bHasTimeLimit(0-114), bShowAnimation(0-114), bCanSpin(0-114), triggerCurrentStage(0-114), arrPdChainTriggerEndTime(0-114), nextPosition(0-114), show(13-114), idle(16-114), (for index)(69-107), (for limit)(69-107), (for step)(69-107), position(70-106), result(73-106)
  0000  SETTABLE  R0[K0('m_window')] = R1
  0001  LEN       R10 = len R0
  0002  SETTABLE  R0[K1('m_count')] = R10
  0003  SETTABLE  R0[K2('m_bHasTimeLimit')] = R4
  0004  GETTABLE  R10 = R0[K3('m_spine')]
  0005  SELF      R11 = R10[K4('Init')] (self)
  0006  CALL      R10 = call(R10, 0 args, 1 rets)
  0007  GETTABLE  R10 = R0[K5('m_spineTop')]
  0008  SELF      R11 = R10[K4('Init')] (self)
  0009  CALL      R10 = call(R10, 0 args, 1 rets)
  0010  SELF      R11 = R0[K6('_GetShowAnimationName')] (self)
  0011  GETTABLE  R12 = R0[K1('m_count')]
  0012  CALL      R10 = call(R10, 1 args, 2 rets)
  0013  SELF      R12 = R0[K7('_GetIdleAnimationName')] (self)
  0014  GETTABLE  R13 = R0[K1('m_count')]
  0015  CALL      R11 = call(R11, 1 args, 2 rets)
  0016  TEST      if not R5 then   -> -131054
  0017  JMP       (jump)   -> 40
  0018  GETTABUP  R12 = _ENV[K8('GM')]
  0019  GETTABLE  R12 = R12[K9('UIManager')]
  0020  SELF      R13 = R12[K10('SetEventLock')] (self)
  0021  LOADBOOL  R14 = true
  0022  MOVE      R15 = R0
  0023  CALL      R12 = call(R12, 0 args, 3 rets)
  0024  GETTABLE  R12 = R0[K3('m_spine')]
  0025  SELF      R13 = R12[K11('SetCompleteCallback')] (self)
  0026  CLOSURE   R14 = closure proto0
  0027  MOVE      R15 = R0
  0028  CALL      R12 = call(R12, 0 args, 3 rets)
  0029  GETTABLE  R12 = R0[K3('m_spine')]
  0030  SELF      R13 = R12[K12('SetAnimation')] (self)
  0031  MOVE      R14 = R0
  0032  LOADBOOL  R15 = false
  0033  CALL      R12 = call(R12, 0 args, 3 rets)
  0034  GETTABLE  R12 = R0[K3('m_spine')]
  0035  SELF      R13 = R12[K13('AddAnimation')] (self)
  0036  MOVE      R14 = R0
  0037  LOADBOOL  R15 = false
  0038  CALL      R12 = call(R12, 0 args, 3 rets)
  0039  JMP       (jump)   -> 45
  0040  GETTABLE  R12 = R0[K3('m_spine')]
  0041  SELF      R13 = R12[K12('SetAnimation')] (self)
  0042  MOVE      R14 = R0
  0043  LOADBOOL  R15 = false
  0044  CALL      R12 = call(R12, 0 args, 3 rets)
  0045  TEST      if not R6 then   -> -131025
  0046  JMP       (jump)   -> 53
  0047  GETTABLE  R12 = R0[K5('m_spineTop')]
  0048  SELF      R13 = R12[K12('SetAnimation')] (self)
  0049  GETTABUP  R14 = ESpineTopAnimationName[K14('CanSpin')]
  0050  LOADBOOL  R15 = true
  0051  CALL      R12 = call(R12, 0 args, 3 rets)
  0052  JMP       (jump)   -> 58
  0053  GETTABLE  R12 = R0[K5('m_spineTop')]
  0054  SELF      R13 = R12[K12('SetAnimation')] (self)
  0055  GETTABUP  R14 = ESpineTopAnimationName[K15('Idle')]
  0056  LOADBOOL  R15 = false
  0057  CALL      R12 = call(R12, 0 args, 3 rets)
  0058  GETTABUP  R12 = _ENV[K16('UIUtil')]
  0059  GETTABLE  R12 = R12[K17('SetActive')]
  0060  GETTABLE  R13 = R0[K18('m_topLightGo')]
  0061  MOVE      R14 = R0
  0062  CALL      R12 = call(R12, 0 args, 2 rets)
  0063  SELF      R13 = R0[K19('SyncItemCode')] (self)
  0064  MOVE      R14 = R0
  0065  CALL      R12 = call(R12, 0 args, 2 rets)
  0066  LOADK     R12 = K20 1
  0067  LOADK     R13 = K21 3
  0068  LOADK     R14 = K20 1
  0069  FORPREP   forprep R12(sBx=36)   -> 106
  0070  SELF      R17 = R0[K22('_GetResult')] (self)
  0071  MOVE      R18 = R0
  0072  CALL      R16 = call(R16, 1 args, 2 rets)
  0073  SELF      R18 = R16[K4('Init')] (self)
  0074  MOVE      R19 = R0
  0075  MOVE      R20 = R0
  0076  GETTABLE  R21 = R0[K2('m_bHasTimeLimit')]
  0077  GETTABLE  R22 = R8[R15]
  0078  CALL      R17 = call(R17, 0 args, 5 rets)
  0079  GETTABUP  R17 = _ENV[K23('StringUtil')]
  0080  GETTABLE  R17 = R17[K24('IsNilOrEmpty')]
  0081  GETTABLE  R18 = R3[R15]
  0082  CALL      R17 = call(R17, 1 args, 1 rets)
  0083  TEST      if not R17 then   -> -130986
  0084  JMP       (jump)   -> 89
  0085  SELF      R18 = R16[K25('InitResult')] (self)
  0086  GETTABLE  R19 = R3[R15]
  0087  CALL      R17 = call(R17, 0 args, 2 rets)
  0088  JMP       (jump)   -> 106
  0089  EQ        if R0 eq R9   -> -123292
  0090  JMP       (jump)   -> 104
  0091  TEST      if not R6 then   -> -130979
  0092  JMP       (jump)   -> 96
  0093  SELF      R18 = R16[K26('InitEmpty')] (self)
  0094  CALL      R17 = call(R17, 0 args, 1 rets)
  0095  JMP       (jump)   -> 106
  0096  TEST      if not R5 then   -> -130974
  0097  JMP       (jump)   -> 101
  0098  SELF      R18 = R16[K27('InitLock')] (self)
  0099  CALL      R17 = call(R17, 0 args, 1 rets)
  0100  JMP       (jump)   -> 106
  0101  SELF      R18 = R16[K28('InitQuestionMark')] (self)
  0102  CALL      R17 = call(R17, 0 args, 1 rets)
  0103  JMP       (jump)   -> 106
  0104  SELF      R18 = R16[K27('InitLock')] (self)
  0105  CALL      R17 = call(R17, 0 args, 1 rets)
  0106  FORLOOP   forloop R12(sBx=-37)   -> 70
  0107  GETTABLE  R12 = R0[K29('m_backBoneFollowerGraphic')]
  0108  SELF      R13 = R12[K30('LateUpdate')] (self)
  0109  CALL      R12 = call(R12, 0 args, 1 rets)
  0110  GETTABLE  R12 = R0[K31('m_frontBoneFollowerGraphic')]
  0111  SELF      R13 = R12[K30('LateUpdate')] (self)
  0112  CALL      R12 = call(R12, 0 args, 1 rets)
  0113  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 50-60 np=0 va=0 ms=4 code=29 consts=9 upvals=5 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='GetModel'
    ;   K[4]='OnMainWindowIdle'
    ;   K[5]='CanShowUnlockAnimation'
    ;   K[6]='_GetResult'
    ;   K[7]='Unlock'
    ;   K[8]='GetFrontRectTransform'
    ;   upvals: _ENV, self, bCanSpin, window, nextPosition
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = false
    0004  GETUPVAL  R3 = _ENV
    0005  CALL      R0 = call(R0, 0 args, 3 rets)
    0006  GETUPVAL  R0 = _ENV
    0007  TEST      if not R0 then   -> -131062
    0008  JMP       (jump)   -> 28
    0009  GETUPVAL  R0 = _ENV
    0010  SELF      R1 = R0[K3('GetModel')] (self)
    0011  CALL      R0 = call(R0, 1 args, 1 rets)
    0012  SELF      R1 = R0[K4('OnMainWindowIdle')] (self)
    0013  CALL      R0 = call(R0, 0 args, 1 rets)
    0014  GETUPVAL  R0 = _ENV
    0015  SELF      R1 = R0[K5('CanShowUnlockAnimation')] (self)
    0016  CALL      R0 = call(R0, 1 args, 1 rets)
    0017  TEST      if not R0 then   -> -131053
    0018  JMP       (jump)   -> 28
    0019  GETUPVAL  R0 = _ENV
    0020  SELF      R1 = R0[K6('_GetResult')] (self)
    0021  GETUPVAL  R2 = _ENV
    0022  CALL      R0 = call(R0, 1 args, 2 rets)
    0023  SELF      R1 = R0[K7('Unlock')] (self)
    0024  GETUPVAL  R2 = _ENV
    0025  SELF      R3 = R2[K8('GetFrontRectTransform')] (self)
    0026  CALL      R2 = call(R2, -1 args, 1 rets)
    0027  CALL      R0 = call(R0, 0 args, -1 rets)
    0028  RETURN    return R0..R-1
; ---------- proto1 [SyncItemCode] ----------
  ; fn ?  line 97-101 np=2 va=0 ms=10 code=13 consts=3 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='_GetItem'
  ;   K[2]='UpdateItemCode'
  ;   upvals: _ENV
  ;   locals: self(0-13), arrItemCode(0-13), (for generator)(3-12), (for state)(3-12), (for control)(3-12), index(4-10), itemCode(4-10)
  0000  GETTABUP  R2 = _ENV[K0('ipairs')]
  0001  MOVE      R3 = R0
  0002  CALL      R2 = call(R2, 3 args, 1 rets)
  0003  JMP       (jump)   -> 10
  0004  SELF      R8 = R0[K1('_GetItem')] (self)
  0005  MOVE      R9 = R0
  0006  CALL      R7 = call(R7, 1 args, 2 rets)
  0007  SELF      R8 = R7[K2('UpdateItemCode')] (self)
  0008  MOVE      R9 = R0
  0009  CALL      R7 = call(R7, 0 args, 2 rets)
  0010  TFORCALL  tforcall R2
  0011  TFORLOOP  tforloop R4(sBx=-8)   -> 4
  0012  RETURN    return R0..R-1
; ---------- proto2 [OnDestroy] ----------
  ; fn ?  line 103-105 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='RemoveAllEventLocks'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('RemoveAllEventLocks')] (self)
  0003  MOVE      R3 = R0
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto3 [_GetItem] ----------
  ; fn ?  line 109-111 np=2 va=0 ms=5 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='m_item%d'
  ;   upvals: _ENV
  ;   locals: self(0-8), index(0-8)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 'm_item%d'
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  GETTABLE  R2 = R0[R2]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto4 [_GetResult] ----------
  ; fn ?  line 115-117 np=2 va=0 ms=5 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='m_result%d'
  ;   upvals: _ENV
  ;   locals: self(0-8), index(0-8)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 'm_result%d'
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  GETTABLE  R2 = R0[R2]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto5 [_GetShowAnimationName] ----------
  ; fn ?  line 119-121 np=2 va=0 ms=5 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='xialuo_%d'
  ;   upvals: _ENV
  ;   locals: self(0-7), index(0-7)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 'xialuo_%d'
  0003  MOVE      R4 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto6 [_GetIdleAnimationName] ----------
  ; fn ?  line 123-125 np=2 va=0 ms=4 code=5 consts=1 upvals=1 protos=0
  ;   K[0]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-5), index(0-5)
  0000  GETTABUP  R2 = _ENV[K0('tostring')]
  0001  MOVE      R3 = R0
  0002  TAILCALL  tailcall(R2, 0)
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto7 [OnCloseView] ----------
  ; fn ?  line 127-131 np=1 va=0 ms=8 code=11 consts=4 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]=3
  ;   K[2]='_GetResult'
  ;   K[3]='OnCloseView'
  ;   locals: self(0-11), (for index)(3-10), (for limit)(3-10), (for step)(3-10), stage(4-9)
  0000  LOADK     R1 = K0 1
  0001  LOADK     R2 = K1 3
  0002  LOADK     R3 = K0 1
  0003  FORPREP   forprep R1(sBx=5)   -> 9
  0004  SELF      R6 = R0[K2('_GetResult')] (self)
  0005  MOVE      R7 = R0
  0006  CALL      R5 = call(R5, 1 args, 2 rets)
  0007  SELF      R6 = R5[K3('OnCloseView')] (self)
  0008  CALL      R5 = call(R5, 0 args, 1 rets)
  0009  FORLOOP   forloop R1(sBx=-6)   -> 4
  0010  RETURN    return R0..R-1
; ---------- proto8 [GetAnimationTime] ----------
  ; fn ?  line 135-144 np=3 va=0 ms=8 code=12 consts=6 upvals=0 protos=0
  ;   K[0]='skeletonAnimation'
  ;   K[1]='SkeletonData'
  ;   K[2]='FindAnimation'
  ;   K[3]=nil
  ;   K[4]=0
  ;   K[5]='Duration'
  ;   locals: self(0-12), spineAnimation(0-12), animationName(0-12), skeletonGraphic(1-12), skeletonData(2-12), animation(5-12)
  0000  GETTABLE  R3 = R1[K0('skeletonAnimation')]
  0001  GETTABLE  R4 = R3[K1('SkeletonData')]
  0002  SELF      R6 = R4[K2('FindAnimation')] (self)
  0003  MOVE      R7 = R0
  0004  CALL      R5 = call(R5, 1 args, 2 rets)
  0005  EQ        if R0 eq K3(nil)   -> -128246
  0006  JMP       (jump)   -> 9
  0007  LOADK     R6 = K4 0
  0008  RETURN    return R6..R5
  0009  GETTABLE  R6 = R5[K5('Duration')]
  0010  RETURN    return R6..R5
  0011  RETURN    return R0..R-1
; ---------- proto9 [PlaySpinAnimation] ----------
  ; fn ?  line 152-209 np=7 va=0 ms=22 code=90 consts=37 upvals=2 protos=8
  ;   K[0]='m_count'
  ;   K[1]=1
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='SetEventLock'
  ;   K[5]='_SpeedUp'
  ;   K[6]='_GetItem'
  ;   K[7]='transform'
  ;   K[8]='parent'
  ;   K[9]='GetSiblingIndex'
  ;   K[10]='string'
  ;   K[11]='format'
  ;   K[12]='%d_%d'
  ;   K[13]='m_spine'
  ;   K[14]='SetCompleteCallback'
  ;   K[15]='SetAnimation'
  ;   K[16]='AddAnimation'
  ;   K[17]='_GetIdleAnimationName'
  ;   K[18]='m_spineTop'
  ;   K[19]='Spin'
  ;   K[20]='Scheduler'
  ;   K[21]='Schedule'
  ;   K[22]=0.1
  ;   K[23]='DOTween'
  ;   K[24]='Sequence'
  ;   K[25]='InsertCallback'
  ;   K[26]=0.35
  ;   K[27]=2
  ;   K[28]='GetAnimationTime'
  ;   K[29]=0.18
  ;   K[30]='AppendCallback'
  ;   K[31]='m_spinSequence'
  ;   K[32]='m_spinFinishCallback'
  ;   K[33]='AudioModel'
  ;   K[34]='PlayEffectWithFrameLimit'
  ;   K[35]='AudioFileConfigName'
  ;   K[36]='SfxGachaponMachineOn'
  ;   upvals: _ENV, ESpineTopAnimationName
  ;   locals: self(0-90), position(0-90), nextPosition(0-90), itemCode(0-90), frontRectTransform(0-90), countDownEndTime(0-90), animationFinishCallback(0-90), count(1-90), currentItemTransform(15-90), parent(16-90), siblingIndex(18-90), showResultFinishCallback(19-90), spinFinishCallback(20-90), spinAnimationName(26-90), vibrateFunc(49-90), sequence(58-90)
  0000  GETTABLE  R7 = R0[K0('m_count')]
  0001  GETTABLE  R8 = R0[K0('m_count')]
  0002  SUB       R8 = K1(1) sub R8
  0003  SETTABLE  R0[K0('m_count')] = R8
  0004  GETTABUP  R8 = _ENV[K2('GM')]
  0005  GETTABLE  R8 = R8[K3('UIManager')]
  0006  SELF      R9 = R8[K4('SetEventLock')] (self)
  0007  LOADBOOL  R10 = true
  0008  MOVE      R11 = R0
  0009  GETTABLE  R12 = R0[K5('_SpeedUp')]
  0010  CALL      R8 = call(R8, 0 args, 4 rets)
  0011  SELF      R9 = R0[K6('_GetItem')] (self)
  0012  MOVE      R10 = R0
  0013  CALL      R8 = call(R8, 1 args, 2 rets)
  0014  GETTABLE  R8 = R8[K7('transform')]
  0015  GETTABLE  R9 = R8[K8('parent')]
  0016  SELF      R11 = R8[K9('GetSiblingIndex')] (self)
  0017  CALL      R10 = call(R10, 1 args, 1 rets)
  0018  CLOSURE   R11 = closure proto0
  0019  CLOSURE   R12 = closure proto1
  0020  GETTABUP  R13 = _ENV[K10('string')]
  0021  GETTABLE  R13 = R13[K11('format')]
  0022  LOADK     R14 = K12 '%d_%d'
  0023  MOVE      R15 = R0
  0024  GETTABLE  R16 = R0[K0('m_count')]
  0025  CALL      R13 = call(R13, 1 args, 3 rets)
  0026  GETTABLE  R14 = R0[K13('m_spine')]
  0027  SELF      R15 = R14[K14('SetCompleteCallback')] (self)
  0028  MOVE      R16 = R0
  0029  MOVE      R17 = R0
  0030  CALL      R14 = call(R14, 0 args, 3 rets)
  0031  GETTABLE  R14 = R0[K13('m_spine')]
  0032  SELF      R15 = R14[K15('SetAnimation')] (self)
  0033  MOVE      R16 = R0
  0034  LOADBOOL  R17 = false
  0035  CALL      R14 = call(R14, 0 args, 3 rets)
  0036  GETTABLE  R14 = R0[K13('m_spine')]
  0037  SELF      R15 = R14[K16('AddAnimation')] (self)
  0038  SELF      R17 = R0[K17('_GetIdleAnimationName')] (self)
  0039  GETTABLE  R18 = R0[K0('m_count')]
  0040  CALL      R16 = call(R16, 1 args, 2 rets)
  0041  LOADBOOL  R17 = false
  0042  CALL      R14 = call(R14, 0 args, 3 rets)
  0043  GETTABLE  R14 = R0[K18('m_spineTop')]
  0044  SELF      R15 = R14[K15('SetAnimation')] (self)
  0045  GETTABUP  R16 = ESpineTopAnimationName[K19('Spin')]
  0046  LOADBOOL  R17 = true
  0047  CALL      R14 = call(R14, 0 args, 3 rets)
  0048  CLOSURE   R14 = closure proto2
  0049  GETTABUP  R15 = _ENV[K20('Scheduler')]
  0050  GETTABLE  R15 = R15[K21('Schedule')]
  0051  MOVE      R16 = R0
  0052  MOVE      R17 = R0
  0053  LOADK     R18 = K22 0.1
  0054  CALL      R15 = call(R15, 0 args, 3 rets)
  0055  GETTABUP  R15 = _ENV[K23('DOTween')]
  0056  GETTABLE  R15 = R15[K24('Sequence')]
  0057  CALL      R15 = call(R15, 1 args, 0 rets)
  0058  SELF      R17 = R15[K25('InsertCallback')] (self)
  0059  LOADK     R18 = K26 0.35
  0060  CLOSURE   R19 = closure proto3
  0061  CALL      R16 = call(R16, 0 args, 3 rets)
  0062  SELF      R17 = R15[K25('InsertCallback')] (self)
  0063  LOADK     R18 = K1 1
  0064  CLOSURE   R19 = closure proto4
  0065  CALL      R16 = call(R16, 0 args, 3 rets)
  0066  SELF      R17 = R15[K25('InsertCallback')] (self)
  0067  LOADK     R18 = K27 2
  0068  CLOSURE   R19 = closure proto5
  0069  CALL      R16 = call(R16, 0 args, 3 rets)
  0070  SELF      R17 = R15[K25('InsertCallback')] (self)
  0071  SELF      R19 = R0[K28('GetAnimationTime')] (self)
  0072  GETTABLE  R20 = R0[K13('m_spine')]
  0073  MOVE      R21 = R0
  0074  CALL      R18 = call(R18, 1 args, 3 rets)
  0075  SUB       R18 = K29(0.18) sub R18
  0076  CLOSURE   R19 = closure proto6
  0077  CALL      R16 = call(R16, 0 args, 3 rets)
  0078  SELF      R17 = R15[K30('AppendCallback')] (self)
  0079  CLOSURE   R18 = closure proto7
  0080  CALL      R16 = call(R16, 0 args, 2 rets)
  0081  SETTABLE  R0[K31('m_spinSequence')] = R15
  0082  SETTABLE  R0[K32('m_spinFinishCallback')] = R12
  0083  GETTABUP  R16 = _ENV[K2('GM')]
  0084  GETTABLE  R16 = R16[K33('AudioModel')]
  0085  SELF      R17 = R16[K34('PlayEffectWithFrameLimit')] (self)
  0086  GETTABUP  R18 = _ENV[K35('AudioFileConfigName')]
  0087  GETTABLE  R18 = R18[K36('SfxGachaponMachineOn')]
  0088  CALL      R16 = call(R16, 0 args, 2 rets)
  0089  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 160-169 np=0 va=0 ms=4 code=32 consts=8 upvals=8 protos=0
    ;   K[0]=0
    ;   K[1]='m_window'
    ;   K[2]='CanShowUnlockAnimation'
    ;   K[3]='_GetResult'
    ;   K[4]='Unlock'
    ;   K[5]='SetParent'
    ;   K[6]='SetSiblingIndex'
    ;   K[7]='IsFunction'
    ;   upvals: nextPosition, self, frontRectTransform, currentItemTransform, parent, siblingIndex, _ENV, animationFinishCallback
    0000  GETUPVAL  R0 = nextPosition
    0001  LT        if R0 lt R0   -> 3
    0002  JMP       (jump)   -> 15
    0003  GETTABUP  R0 = self[K1('m_window')]
    0004  SELF      R1 = R0[K2('CanShowUnlockAnimation')] (self)
    0005  CALL      R0 = call(R0, 1 args, 1 rets)
    0006  TEST      if not R0 then   -> -131064
    0007  JMP       (jump)   -> 15
    0008  GETUPVAL  R0 = nextPosition
    0009  SELF      R1 = R0[K3('_GetResult')] (self)
    0010  GETUPVAL  R2 = nextPosition
    0011  CALL      R0 = call(R0, 1 args, 2 rets)
    0012  SELF      R1 = R0[K4('Unlock')] (self)
    0013  GETUPVAL  R2 = nextPosition
    0014  CALL      R0 = call(R0, 0 args, 2 rets)
    0015  GETUPVAL  R0 = nextPosition
    0016  SELF      R1 = R0[K5('SetParent')] (self)
    0017  GETUPVAL  R2 = nextPosition
    0018  LOADBOOL  R3 = true
    0019  CALL      R0 = call(R0, 0 args, 3 rets)
    0020  GETUPVAL  R0 = nextPosition
    0021  SELF      R1 = R0[K6('SetSiblingIndex')] (self)
    0022  GETUPVAL  R2 = nextPosition
    0023  CALL      R0 = call(R0, 0 args, 2 rets)
    0024  GETTABUP  R0 = _ENV[K7('IsFunction')]
    0025  GETUPVAL  R1 = nextPosition
    0026  CALL      R0 = call(R0, 1 args, 1 rets)
    0027  TEST      if not R0 then   -> -131043
    0028  JMP       (jump)   -> 31
    0029  GETUPVAL  R0 = nextPosition
    0030  CALL      R0 = call(R0, 0 args, 0 rets)
    0031  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 170-176 np=0 va=0 ms=5 code=28 consts=14 upvals=7 protos=0
    ;   K[0]='m_spinFinishCallback'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   K[5]='_SpeedUp'
    ;   K[6]='_GetResult'
    ;   K[7]='ShowResult'
    ;   K[8]='m_spineTop'
    ;   K[9]='SetAnimation'
    ;   K[10]='Idle'
    ;   K[11]='UIUtil'
    ;   K[12]='SetActive'
    ;   K[13]='m_topLightGo'
    ;   upvals: self, _ENV, position, itemCode, countDownEndTime, showResultFinishCallback, ESpineTopAnimationName
    0000  SETTABUP  self[K0('m_spinFinishCallback')] = K1(nil)
    0001  GETTABUP  R0 = _ENV[K2('GM')]
    0002  GETTABLE  R0 = R0[K3('UIManager')]
    0003  SELF      R1 = R0[K4('SetEventLock')] (self)
    0004  LOADBOOL  R2 = false
    0005  GETUPVAL  R3 = self
    0006  GETTABUP  R4 = self[K5('_SpeedUp')]
    0007  CALL      R0 = call(R0, 0 args, 4 rets)
    0008  GETUPVAL  R0 = self
    0009  SELF      R1 = R0[K6('_GetResult')] (self)
    0010  GETUPVAL  R2 = self
    0011  CALL      R0 = call(R0, 1 args, 2 rets)
    0012  SELF      R1 = R0[K7('ShowResult')] (self)
    0013  GETUPVAL  R2 = self
    0014  GETUPVAL  R3 = self
    0015  GETUPVAL  R4 = self
    0016  CALL      R0 = call(R0, 0 args, 4 rets)
    0017  GETTABUP  R0 = self[K8('m_spineTop')]
    0018  SELF      R1 = R0[K9('SetAnimation')] (self)
    0019  GETTABUP  R2 = ESpineTopAnimationName[K10('Idle')]
    0020  LOADBOOL  R3 = true
    0021  CALL      R0 = call(R0, 0 args, 3 rets)
    0022  GETTABUP  R0 = _ENV[K11('UIUtil')]
    0023  GETTABLE  R0 = R0[K12('SetActive')]
    0024  GETTABUP  R1 = self[K13('m_topLightGo')]
    0025  LOADBOOL  R2 = false
    0026  CALL      R0 = call(R0, 0 args, 2 rets)
    0027  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 182-184 np=0 va=0 ms=2 code=6 consts=4 upvals=1 protos=0
    ;   K[0]='PlatformInterface'
    ;   K[1]='Vibrate'
    ;   K[2]='EVibrationType'
    ;   K[3]='Medium'
    ;   upvals: _ENV
    0000  GETTABUP  R0 = _ENV[K0('PlatformInterface')]
    0001  GETTABLE  R0 = R0[K1('Vibrate')]
    0002  GETTABUP  R1 = _ENV[K2('EVibrationType')]
    0003  GETTABLE  R1 = R1[K3('Medium')]
    0004  CALL      R0 = call(R0, 0 args, 1 rets)
    0005  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 188-190 np=0 va=0 ms=3 code=6 consts=3 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='m_spinEffectGo'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('m_spinEffectGo')]
    0003  LOADBOOL  R2 = true
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
  ; ---------- proto4 [] ----------
    ; fn ?  line 192-194 np=0 va=0 ms=2 code=4 consts=2 upvals=1 protos=0
    ;   K[0]='m_window'
    ;   K[1]='SyncMachineItemCode'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_window')]
    0001  SELF      R1 = R0[K1('SyncMachineItemCode')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
  ; ---------- proto5 [] ----------
    ; fn ?  line 196-198 np=0 va=0 ms=4 code=6 consts=2 upvals=2 protos=0
    ;   K[0]='SetParent'
    ;   K[1]='m_itemFrontRoot'
    ;   upvals: currentItemTransform, self
    0000  GETUPVAL  R0 = currentItemTransform
    0001  SELF      R1 = R0[K0('SetParent')] (self)
    0002  GETTABUP  R2 = self[K1('m_itemFrontRoot')]
    0003  LOADBOOL  R3 = true
    0004  CALL      R0 = call(R0, 0 args, 3 rets)
    0005  RETURN    return R0..R-1
  ; ---------- proto6 [m_spinSequence] ----------
    ; fn ?  line 199-202 np=0 va=0 ms=3 code=11 consts=5 upvals=3 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='m_spinEffectGo'
    ;   K[3]='Scheduler'
    ;   K[4]='Unschedule'
    ;   upvals: _ENV, self, vibrateFunc
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('m_spinEffectGo')]
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETTABUP  R0 = _ENV[K3('Scheduler')]
    0006  GETTABLE  R0 = R0[K4('Unschedule')]
    0007  GETUPVAL  R1 = _ENV
    0008  GETUPVAL  R2 = _ENV
    0009  CALL      R0 = call(R0, 0 args, 2 rets)
    0010  RETURN    return R0..R-1
  ; ---------- proto7 [m_spinSequence] ----------
    ; fn ?  line 203-205 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
    ;   K[0]='m_spinSequence'
    ;   K[1]=nil
    ;   upvals: self
    0000  SETTABUP  self[K0('m_spinSequence')] = K1(nil)
    0001  RETURN    return R0..R-1
; ---------- proto10 [_SpeedUp] ----------
  ; fn ?  line 211-224 np=1 va=0 ms=6 code=28 consts=11 upvals=0 protos=0
  ;   K[0]='m_bSpeedUp'
  ;   K[1]=true
  ;   K[2]='m_spinSequence'
  ;   K[3]=nil
  ;   K[4]='Complete'
  ;   K[5]='m_spinFinishCallback'
  ;   K[6]='m_spine'
  ;   K[7]='ThrowCallback'
  ;   K[8]='SetAnimation'
  ;   K[9]='_GetIdleAnimationName'
  ;   K[10]='m_count'
  ;   locals: self(0-28)
  0000  GETTABLE  R1 = R0[K0('m_bSpeedUp')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K0('m_bSpeedUp')] = K1(true)
  0005  GETTABLE  R1 = R0[K2('m_spinSequence')]
  0006  EQ        if R1 eq K3(nil)   -> -130293
  0007  JMP       (jump)   -> 12
  0008  GETTABLE  R1 = R0[K2('m_spinSequence')]
  0009  SELF      R2 = R1[K4('Complete')] (self)
  0010  LOADBOOL  R3 = true
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  GETTABLE  R1 = R0[K5('m_spinFinishCallback')]
  0013  EQ        if R1 eq K3(nil)   -> -130286
  0014  JMP       (jump)   -> 27
  0015  GETTABLE  R1 = R0[K6('m_spine')]
  0016  SELF      R2 = R1[K7('ThrowCallback')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  GETTABLE  R1 = R0[K6('m_spine')]
  0019  SELF      R2 = R1[K8('SetAnimation')] (self)
  0020  SELF      R4 = R0[K9('_GetIdleAnimationName')] (self)
  0021  GETTABLE  R5 = R0[K10('m_count')]
  0022  CALL      R3 = call(R3, 1 args, 2 rets)
  0023  LOADBOOL  R4 = false
  0024  CALL      R1 = call(R1, 0 args, 3 rets)
  0025  GETTABLE  R1 = R0[K5('m_spinFinishCallback')]
  0026  CALL      R1 = call(R1, 0 args, 0 rets)
  0027  RETURN    return R0..R-1
; ---------- proto11 [PlayTriggerEndAnimation] ----------
  ; fn ?  line 230-244 np=5 va=0 ms=13 code=47 consts=16 upvals=1 protos=1
  ;   K[0]='_GetResult'
  ;   K[1]='Return'
  ;   K[2]='SyncItemCode'
  ;   K[3]='m_count'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='SetEventLock'
  ;   K[7]='string'
  ;   K[8]='format'
  ;   K[9]='%d_%d'
  ;   K[10]=1
  ;   K[11]='m_spine'
  ;   K[12]='SetCompleteCallback'
  ;   K[13]='SetAnimation'
  ;   K[14]='AddAnimation'
  ;   K[15]='_GetIdleAnimationName'
  ;   upvals: _ENV
  ;   locals: self(0-47), position(0-47), nextPosition(0-47), bCanSpin(0-47), arrItemCode(0-47), result(3-47), spinAnimationName(28-47), spinFinishCallback(29-47)
  0000  SELF      R6 = R0[K0('_GetResult')] (self)
  0001  MOVE      R7 = R0
  0002  CALL      R5 = call(R5, 1 args, 2 rets)
  0003  SELF      R7 = R5[K1('Return')] (self)
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  LOADBOOL  R8 = false
  0007  LOADBOOL  R8 = true
  0008  MOVE      R9 = R0
  0009  CALL      R6 = call(R6, 0 args, 3 rets)
  0010  SELF      R7 = R0[K2('SyncItemCode')] (self)
  0011  MOVE      R8 = R0
  0012  CALL      R6 = call(R6, 0 args, 2 rets)
  0013  LEN       R6 = len R0
  0014  SETTABLE  R0[K3('m_count')] = R6
  0015  GETTABUP  R6 = _ENV[K4('GM')]
  0016  GETTABLE  R6 = R6[K5('UIManager')]
  0017  SELF      R7 = R6[K6('SetEventLock')] (self)
  0018  LOADBOOL  R8 = true
  0019  MOVE      R9 = R0
  0020  CALL      R6 = call(R6, 0 args, 3 rets)
  0021  GETTABUP  R6 = _ENV[K7('string')]
  0022  GETTABLE  R6 = R6[K8('format')]
  0023  LOADK     R7 = K9 '%d_%d'
  0024  GETTABLE  R8 = R0[K3('m_count')]
  0025  SUB       R8 = K10(1) sub R8
  0026  GETTABLE  R9 = R0[K3('m_count')]
  0027  CALL      R6 = call(R6, 1 args, 3 rets)
  0028  CLOSURE   R7 = closure proto0
  0029  GETTABLE  R8 = R0[K11('m_spine')]
  0030  SELF      R9 = R8[K12('SetCompleteCallback')] (self)
  0031  MOVE      R10 = R0
  0032  MOVE      R11 = R0
  0033  CALL      R8 = call(R8, 0 args, 3 rets)
  0034  GETTABLE  R8 = R0[K11('m_spine')]
  0035  SELF      R9 = R8[K13('SetAnimation')] (self)
  0036  MOVE      R10 = R0
  0037  LOADBOOL  R11 = false
  0038  CALL      R8 = call(R8, 0 args, 3 rets)
  0039  GETTABLE  R8 = R0[K11('m_spine')]
  0040  SELF      R9 = R8[K14('AddAnimation')] (self)
  0041  SELF      R11 = R0[K15('_GetIdleAnimationName')] (self)
  0042  GETTABLE  R12 = R0[K3('m_count')]
  0043  CALL      R10 = call(R10, 1 args, 2 rets)
  0044  LOADBOOL  R11 = false
  0045  CALL      R8 = call(R8, 0 args, 3 rets)
  0046  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 237-240 np=0 va=0 ms=4 code=10 consts=5 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='m_window'
    ;   K[4]='OnTriggerEndAnimationFinished'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = false
    0004  GETUPVAL  R3 = _ENV
    0005  CALL      R0 = call(R0, 0 args, 3 rets)
    0006  GETTABUP  R0 = self[K3('m_window')]
    0007  SELF      R1 = R0[K4('OnTriggerEndAnimationFinished')] (self)
    0008  CALL      R0 = call(R0, 0 args, 1 rets)
    0009  RETURN    return R0..R-1
