# UI_SubView_GemDetailBubble_376.luac
; fn @GemDetailBubble.lua  line 0-0 np=0 va=1 ms=3 code=30 consts=11 upvals=1 protos=7
;   K[0]='GemDetailBubble'
;   K[1]='setmetatable'
;   K[2]='BaseTip'
;   K[3]='__index'
;   K[4]='Show'
;   K[5]='_UpdateNum'
;   K[6]='GetMapInteractableObjs'
;   K[7]='_ShowDescBubble'
;   K[8]='_ToggleBubble'
;   K[9]='OnNumPaidClick'
;   K[10]='OnNumFreeClick'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseTip')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('GemDetailBubble')] = R0
0005  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0006  GETTABUP  R1 = _ENV[K0('GemDetailBubble')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Show')] = R1
0011  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_UpdateNum')] = R1
0014  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('GetMapInteractableObjs')] = R1
0017  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('_ShowDescBubble')] = R1
0020  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('_ToggleBubble')] = R1
0023  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('OnNumPaidClick')] = R1
0026  GETTABUP  R0 = _ENV[K0('GemDetailBubble')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('OnNumFreeClick')] = R1
0029  RETURN    return R0..R-1
; ---------- proto0 [Show] ----------
  ; fn ?  line 18-26 np=4 va=0 ms=7 code=20 consts=11 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='m_canvas'
  ;   K[2]='sortingOrder'
  ;   K[3]=5
  ;   K[4]='transform'
  ;   K[5]='position'
  ;   K[6]='_UpdateNum'
  ;   K[7]='m_gemDetailDescBubble'
  ;   K[8]='Hide'
  ;   K[9]='BaseTip'
  ;   K[10]='Show'
  ;   upvals: _ENV
  ;   locals: self(0-20), placeholder(0-20), baseSortingOrder(0-20), callback(0-20)
  0000  EQ        if R1 eq K0(nil)   -> -129790
  0001  JMP       (jump)   -> 5
  0002  GETTABLE  R4 = R0[K1('m_canvas')]
  0003  ADD       R5 = K3(5) add R2
  0004  SETTABLE  R4[K2('sortingOrder')] = R5
  0005  GETTABLE  R4 = R0[K4('transform')]
  0006  GETTABLE  R5 = R1[K5('position')]
  0007  SETTABLE  R4[K5('position')] = R5
  0008  SELF      R5 = R0[K6('_UpdateNum')] (self)
  0009  CALL      R4 = call(R4, 0 args, 1 rets)
  0010  GETTABLE  R4 = R0[K7('m_gemDetailDescBubble')]
  0011  SELF      R5 = R4[K8('Hide')] (self)
  0012  LOADBOOL  R6 = true
  0013  CALL      R4 = call(R4, 0 args, 2 rets)
  0014  GETTABUP  R4 = _ENV[K9('BaseTip')]
  0015  GETTABLE  R4 = R4[K10('Show')]
  0016  MOVE      R5 = R0
  0017  MOVE      R6 = R0
  0018  CALL      R4 = call(R4, 0 args, 2 rets)
  0019  RETURN    return R0..R-1
; ---------- proto1 [_UpdateNum] ----------
  ; fn ?  line 28-31 np=1 va=0 ms=6 code=21 consts=11 upvals=1 protos=0
  ;   K[0]='m_numPaidText'
  ;   K[1]='text'
  ;   K[2]='GM'
  ;   K[3]='PropertyDataManager'
  ;   K[4]='GetPropertyNum'
  ;   K[5]='EPropertyType'
  ;   K[6]='Gem'
  ;   K[7]='EPropertySource'
  ;   K[8]='Buy'
  ;   K[9]='m_numFreeText'
  ;   K[10]='Give'
  ;   upvals: _ENV
  ;   locals: self(0-21)
  0000  GETTABLE  R1 = R0[K0('m_numPaidText')]
  0001  GETTABUP  R2 = _ENV[K2('GM')]
  0002  GETTABLE  R2 = R2[K3('PropertyDataManager')]
  0003  SELF      R3 = R2[K4('GetPropertyNum')] (self)
  0004  GETTABUP  R4 = _ENV[K5('EPropertyType')]
  0005  GETTABLE  R4 = R4[K6('Gem')]
  0006  GETTABUP  R5 = _ENV[K7('EPropertySource')]
  0007  GETTABLE  R5 = R5[K8('Buy')]
  0008  CALL      R2 = call(R2, 1 args, 3 rets)
  0009  SETTABLE  R1[K1('text')] = R2
  0010  GETTABLE  R1 = R0[K9('m_numFreeText')]
  0011  GETTABUP  R2 = _ENV[K2('GM')]
  0012  GETTABLE  R2 = R2[K3('PropertyDataManager')]
  0013  SELF      R3 = R2[K4('GetPropertyNum')] (self)
  0014  GETTABUP  R4 = _ENV[K5('EPropertyType')]
  0015  GETTABLE  R4 = R4[K6('Gem')]
  0016  GETTABUP  R5 = _ENV[K7('EPropertySource')]
  0017  GETTABLE  R5 = R5[K10('Give')]
  0018  CALL      R2 = call(R2, 1 args, 3 rets)
  0019  SETTABLE  R1[K1('text')] = R2
  0020  RETURN    return R0..R-1
; ---------- proto2 [GetMapInteractableObjs] ----------
  ; fn ?  line 34-41 np=1 va=0 ms=3 code=12 consts=5 upvals=0 protos=0
  ;   K[0]='gameObject'
  ;   K[1]=true
  ;   K[2]='m_paidGo'
  ;   K[3]='m_freeGo'
  ;   K[4]='m_gemDetailDescBubble'
  ;   locals: self(0-12)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K0('gameObject')]
  0002  SETTABLE  R1[R2] = K1(true)
  0003  GETTABLE  R2 = R0[K2('m_paidGo')]
  0004  SETTABLE  R1[R2] = K1(true)
  0005  GETTABLE  R2 = R0[K3('m_freeGo')]
  0006  SETTABLE  R1[R2] = K1(true)
  0007  GETTABLE  R2 = R0[K4('m_gemDetailDescBubble')]
  0008  GETTABLE  R2 = R2[K0('gameObject')]
  0009  SETTABLE  R1[R2] = K1(true)
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto3 [_ShowDescBubble] ----------
  ; fn ?  line 45-47 np=3 va=0 ms=7 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_gemDetailDescBubble'
  ;   K[1]='Show'
  ;   locals: self(0-6), ePropertySource(0-6), root(0-6)
  0000  GETTABLE  R3 = R0[K0('m_gemDetailDescBubble')]
  0001  SELF      R4 = R3[K1('Show')] (self)
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  CALL      R3 = call(R3, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto4 [_ToggleBubble] ----------
  ; fn ?  line 51-58 np=3 va=0 ms=7 code=17 consts=5 upvals=0 protos=0
  ;   K[0]='m_gemDetailDescBubble'
  ;   K[1]='showing'
  ;   K[2]='ePropertySource'
  ;   K[3]='Hide'
  ;   K[4]='_ShowDescBubble'
  ;   locals: self(0-17), ePropertySource(0-17), root(0-17)
  0000  GETTABLE  R3 = R0[K0('m_gemDetailDescBubble')]
  0001  GETTABLE  R3 = R3[K1('showing')]
  0002  TEST      if not R3 then   -> -131068
  0003  JMP       (jump)   -> 12
  0004  GETTABLE  R3 = R0[K0('m_gemDetailDescBubble')]
  0005  GETTABLE  R3 = R3[K2('ePropertySource')]
  0006  EQ        if R0 eq R1   -> -129527
  0007  JMP       (jump)   -> 12
  0008  GETTABLE  R3 = R0[K0('m_gemDetailDescBubble')]
  0009  SELF      R4 = R3[K3('Hide')] (self)
  0010  CALL      R3 = call(R3, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
  0012  SELF      R4 = R0[K4('_ShowDescBubble')] (self)
  0013  MOVE      R5 = R0
  0014  MOVE      R6 = R0
  0015  CALL      R3 = call(R3, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto5 [OnNumPaidClick] ----------
  ; fn ?  line 60-62 np=1 va=0 ms=5 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='_ToggleBubble'
  ;   K[1]='EPropertySource'
  ;   K[2]='Buy'
  ;   K[3]='m_numPaidBubblePlaceholder'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('_ToggleBubble')] (self)
  0001  GETTABUP  R3 = _ENV[K1('EPropertySource')]
  0002  GETTABLE  R3 = R3[K2('Buy')]
  0003  GETTABLE  R4 = R0[K3('m_numPaidBubblePlaceholder')]
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto6 [OnNumFreeClick] ----------
  ; fn ?  line 64-66 np=1 va=0 ms=5 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='_ToggleBubble'
  ;   K[1]='EPropertySource'
  ;   K[2]='Give'
  ;   K[3]='m_numFreeBubblePlaceholder'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('_ToggleBubble')] (self)
  0001  GETTABUP  R3 = _ENV[K1('EPropertySource')]
  0002  GETTABLE  R3 = R3[K2('Give')]
  0003  GETTABLE  R4 = R0[K3('m_numFreeBubblePlaceholder')]
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
