# UI_SubView_ServiceFloat_340.luac
; fn @ServiceFloat.lua  line 0-0 np=0 va=1 ms=3 code=28 consts=12 upvals=1 protos=6
;   K[0]='ServiceFloat'
;   K[1]='setmetatable'
;   K[2]='sortingOrder'
;   K[3]=32000
;   K[4]='BaseView'
;   K[5]='__index'
;   K[6]='Awake'
;   K[7]='OnDestroy'
;   K[8]='_OnToggleCustomerServiceBtn'
;   K[9]='_OnHideCustomerServiceBtn'
;   K[10]='Update'
;   K[11]='OpenCustomerCenter'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('sortingOrder')] = K3(32000)
0003  GETTABUP  R2 = _ENV[K4('BaseView')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('ServiceFloat')] = R0
0006  GETTABUP  R0 = _ENV[K0('ServiceFloat')]
0007  GETTABUP  R1 = _ENV[K0('ServiceFloat')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('ServiceFloat')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Awake')] = R1
0012  GETTABUP  R0 = _ENV[K0('ServiceFloat')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnDestroy')] = R1
0015  GETTABUP  R0 = _ENV[K0('ServiceFloat')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('_OnToggleCustomerServiceBtn')] = R1
0018  GETTABUP  R0 = _ENV[K0('ServiceFloat')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('_OnHideCustomerServiceBtn')] = R1
0021  GETTABUP  R0 = _ENV[K0('ServiceFloat')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('Update')] = R1
0024  GETTABUP  R0 = _ENV[K0('ServiceFloat')]
0025  CLOSURE   R1 = closure proto5
0026  SETTABLE  R0[K11('OpenCustomerCenter')] = R1
0027  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 6-32 np=1 va=0 ms=6 code=76 consts=37 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='gameObject'
  ;   K[3]='transform'
  ;   K[4]='SetParent'
  ;   K[5]='GetCanvasRoot'
  ;   K[6]='m_slider'
  ;   K[7]='IsNull'
  ;   K[8]='ApplicationManager'
  ;   K[9]='Instance'
  ;   K[10]='GetEaseSlider'
  ;   K[11]='SetSortingOrder'
  ;   K[12]='sortingOrder'
  ;   K[13]='ScreenFitter'
  ;   K[14]='NeedNotch'
  ;   K[15]='GetNotchHeight'
  ;   K[16]='sizeDelta'
  ;   K[17]='Vector2'
  ;   K[18]=0
  ;   K[19]=2
  ;   K[20]='showDelay'
  ;   K[21]=10
  ;   K[22]='Log'
  ;   K[23]='Info'
  ;   K[24]='ServiceFloat delay is '
  ;   K[25]='tostring'
  ;   K[26]='m_passedTime'
  ;   K[27]='m_lastPercent'
  ;   K[28]='m_buttonImg'
  ;   K[29]='SetActive'
  ;   K[30]='EventDispatcher'
  ;   K[31]='AddListener'
  ;   K[32]='EEventType'
  ;   K[33]='ToggleCustomerServiceBtn'
  ;   K[34]='_OnToggleCustomerServiceBtn'
  ;   K[35]='HideCustomerServiceBtn'
  ;   K[36]='_OnHideCustomerServiceBtn'
  ;   upvals: _ENV
  ;   locals: self(0-76), notchWidth(37-45)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 13
  0004  GETTABLE  R1 = R0[K2('gameObject')]
  0005  GETTABLE  R1 = R1[K3('transform')]
  0006  SELF      R2 = R1[K4('SetParent')] (self)
  0007  GETTABUP  R3 = _ENV[K0('GM')]
  0008  GETTABLE  R3 = R3[K1('UIManager')]
  0009  SELF      R4 = R3[K5('GetCanvasRoot')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  LOADBOOL  R4 = false
  0012  CALL      R1 = call(R1, 0 args, 3 rets)
  0013  GETTABLE  R1 = R0[K6('m_slider')]
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 21
  0016  GETTABLE  R1 = R0[K6('m_slider')]
  0017  SELF      R2 = R1[K7('IsNull')] (self)
  0018  CALL      R1 = call(R1, 1 args, 1 rets)
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 26
  0021  GETTABUP  R1 = _ENV[K8('ApplicationManager')]
  0022  GETTABLE  R1 = R1[K9('Instance')]
  0023  SELF      R2 = R1[K10('GetEaseSlider')] (self)
  0024  CALL      R1 = call(R1, 1 args, 1 rets)
  0025  SETTABLE  R0[K6('m_slider')] = R1
  0026  SELF      R2 = R0[K11('SetSortingOrder')] (self)
  0027  GETTABLE  R3 = R0[K12('sortingOrder')]
  0028  CALL      R1 = call(R1, 0 args, 2 rets)
  0029  GETTABUP  R1 = _ENV[K13('ScreenFitter')]
  0030  GETTABLE  R1 = R1[K14('NeedNotch')]
  0031  CALL      R1 = call(R1, 1 args, 0 rets)
  0032  TEST      if not R1 then   -> -131038
  0033  JMP       (jump)   -> 45
  0034  GETTABUP  R1 = _ENV[K13('ScreenFitter')]
  0035  GETTABLE  R1 = R1[K15('GetNotchHeight')]
  0036  CALL      R1 = call(R1, 1 args, 0 rets)
  0037  GETTABLE  R2 = R0[K2('gameObject')]
  0038  GETTABLE  R2 = R2[K3('transform')]
  0039  GETTABUP  R3 = _ENV[K17('Vector2')]
  0040  LOADK     R4 = K18 0
  0041  UNM       R5 = unm R0
  0042  MUL       R5 = K19(2) mul R5
  0043  CALL      R3 = call(R3, 1 args, 2 rets)
  0044  SETTABLE  R2[K16('sizeDelta')] = R3
  0045  SETTABLE  R0[K20('showDelay')] = K21(10)
  0046  GETTABUP  R1 = _ENV[K22('Log')]
  0047  GETTABLE  R1 = R1[K23('Info')]
  0048  LOADK     R2 = K24 'ServiceFloat delay is '
  0049  GETTABUP  R3 = _ENV[K25('tostring')]
  0050  GETTABLE  R4 = R0[K20('showDelay')]
  0051  CALL      R3 = call(R3, 1 args, 1 rets)
  0052  CONCAT    R2 = concat(R2..R2)
  0053  CALL      R1 = call(R1, 0 args, 1 rets)
  0054  SETTABLE  R0[K26('m_passedTime')] = K18(0)
  0055  SETTABLE  R0[K27('m_lastPercent')] = K18(0)
  0056  GETTABLE  R1 = R0[K28('m_buttonImg')]
  0057  GETTABLE  R1 = R1[K2('gameObject')]
  0058  SELF      R2 = R1[K29('SetActive')] (self)
  0059  LOADBOOL  R3 = false
  0060  CALL      R1 = call(R1, 0 args, 2 rets)
  0061  GETTABUP  R1 = _ENV[K30('EventDispatcher')]
  0062  GETTABLE  R1 = R1[K31('AddListener')]
  0063  GETTABUP  R2 = _ENV[K32('EEventType')]
  0064  GETTABLE  R2 = R2[K33('ToggleCustomerServiceBtn')]
  0065  MOVE      R3 = R0
  0066  GETTABLE  R4 = R0[K34('_OnToggleCustomerServiceBtn')]
  0067  CALL      R1 = call(R1, 0 args, 3 rets)
  0068  GETTABUP  R1 = _ENV[K30('EventDispatcher')]
  0069  GETTABLE  R1 = R1[K31('AddListener')]
  0070  GETTABUP  R2 = _ENV[K32('EEventType')]
  0071  GETTABLE  R2 = R2[K35('HideCustomerServiceBtn')]
  0072  MOVE      R3 = R0
  0073  GETTABLE  R4 = R0[K36('_OnHideCustomerServiceBtn')]
  0074  CALL      R1 = call(R1, 0 args, 3 rets)
  0075  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 34-36 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [_OnToggleCustomerServiceBtn] ----------
  ; fn ?  line 38-41 np=2 va=0 ms=3 code=15 consts=4 upvals=0 protos=0
  ;   K[0]='m_entryId'
  ;   K[1]='entryId'
  ;   K[2]='m_show'
  ;   K[3]='show'
  ;   locals: self(0-15), msg(0-15)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 5
  0002  GETTABLE  R2 = R1[K1('entryId')]
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  LOADNIL   R2..R2 = nil
  0006  SETTABLE  R0[K0('m_entryId')] = R2
  0007  TEST      if not R1 then   -> -131063
  0008  JMP       (jump)   -> 12
  0009  GETTABLE  R2 = R1[K3('show')]
  0010  TEST      if not R2 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  LOADBOOL  R2 = false
  0013  SETTABLE  R0[K2('m_show')] = R2
  0014  RETURN    return R0..R-1
; ---------- proto3 [_OnHideCustomerServiceBtn] ----------
  ; fn ?  line 43-45 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_hide'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_hide')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto4 [Update] ----------
  ; fn ?  line 47-75 np=2 va=0 ms=6 code=64 consts=15 upvals=1 protos=0
  ;   K[0]='m_hide'
  ;   K[1]='CSErrorMonitor'
  ;   K[2]='errorWindowOpened'
  ;   K[3]='m_buttonImg'
  ;   K[4]='gameObject'
  ;   K[5]='activeSelf'
  ;   K[6]='SetActive'
  ;   K[7]='m_slider'
  ;   K[8]='IsNull'
  ;   K[9]='value'
  ;   K[10]=0
  ;   K[11]='m_lastPercent'
  ;   K[12]='m_passedTime'
  ;   K[13]='showDelay'
  ;   K[14]='m_show'
  ;   upvals: _ENV
  ;   locals: self(0-64), dt(0-64), currentPercent(43-64)
  0000  GETTABLE  R2 = R0[K0('m_hide')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 7
  0003  GETTABUP  R2 = _ENV[K1('CSErrorMonitor')]
  0004  GETTABLE  R2 = R2[K2('errorWindowOpened')]
  0005  TEST      if not R2 then   -> -131065
  0006  JMP       (jump)   -> 18
  0007  GETTABLE  R2 = R0[K3('m_buttonImg')]
  0008  GETTABLE  R2 = R2[K4('gameObject')]
  0009  GETTABLE  R2 = R2[K5('activeSelf')]
  0010  TEST      if not R2 then   -> -131060
  0011  JMP       (jump)   -> 17
  0012  GETTABLE  R2 = R0[K3('m_buttonImg')]
  0013  GETTABLE  R2 = R2[K4('gameObject')]
  0014  SELF      R3 = R2[K6('SetActive')] (self)
  0015  LOADBOOL  R4 = false
  0016  CALL      R2 = call(R2, 0 args, 2 rets)
  0017  RETURN    return R0..R-1
  0018  GETTABLE  R2 = R0[K3('m_buttonImg')]
  0019  GETTABLE  R2 = R2[K4('gameObject')]
  0020  GETTABLE  R2 = R2[K5('activeSelf')]
  0021  TEST      if not R2 then   -> -131049
  0022  JMP       (jump)   -> 24
  0023  RETURN    return R0..R-1
  0024  GETTABLE  R2 = R0[K7('m_slider')]
  0025  TEST      if not R2 then   -> -131045
  0026  JMP       (jump)   -> 37
  0027  GETTABLE  R2 = R0[K7('m_slider')]
  0028  SELF      R3 = R2[K8('IsNull')] (self)
  0029  CALL      R2 = call(R2, 1 args, 1 rets)
  0030  TEST      if not R2 then   -> -131039
  0031  JMP       (jump)   -> 37
  0032  GETTABLE  R2 = R0[K7('m_slider')]
  0033  GETTABLE  R2 = R2[K4('gameObject')]
  0034  GETTABLE  R2 = R2[K5('activeSelf')]
  0035  TEST      if not R2 then   -> -131034
  0036  JMP       (jump)   -> 38
  0037  RETURN    return R0..R-1
  0038  GETTABLE  R2 = R0[K7('m_slider')]
  0039  GETTABLE  R2 = R2[K9('value')]
  0040  TEST      if not R2 then   -> -131029
  0041  JMP       (jump)   -> 43
  0042  LOADK     R2 = K10 0
  0043  GETTABLE  R3 = R0[K11('m_lastPercent')]
  0044  EQ        if R1 eq R3   -> -129999
  0045  JMP       (jump)   -> 47
  0046  SETTABLE  R0[K12('m_passedTime')] = K10(0)
  0047  SETTABLE  R0[K11('m_lastPercent')] = R2
  0048  GETTABLE  R3 = R0[K12('m_passedTime')]
  0049  ADD       R3 = R1 add R3
  0050  SETTABLE  R0[K12('m_passedTime')] = R3
  0051  GETTABLE  R3 = R0[K12('m_passedTime')]
  0052  GETTABLE  R4 = R0[K13('showDelay')]
  0053  LE        if R1 le R3   -> -128966
  0054  JMP       (jump)   -> 58
  0055  GETTABLE  R3 = R0[K14('m_show')]
  0056  TEST      if not R3 then   -> -131014
  0057  JMP       (jump)   -> 63
  0058  GETTABLE  R3 = R0[K3('m_buttonImg')]
  0059  GETTABLE  R3 = R3[K4('gameObject')]
  0060  SELF      R4 = R3[K6('SetActive')] (self)
  0061  LOADBOOL  R5 = true
  0062  CALL      R3 = call(R3, 0 args, 2 rets)
  0063  RETURN    return R0..R-1
; ---------- proto5 [OpenCustomerCenter] ----------
  ; fn ?  line 77-79 np=1 va=0 ms=4 code=9 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SDKHelper'
  ;   K[2]='OpenCustomerCenter'
  ;   K[3]='m_entryId'
  ;   K[4]='E002'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SDKHelper')]
  0002  SELF      R2 = R1[K2('OpenCustomerCenter')] (self)
  0003  GETTABLE  R3 = R0[K3('m_entryId')]
  0004  TEST      if not R3 then   -> -131065
  0005  JMP       (jump)   -> 7
  0006  LOADK     R3 = K4 'E002'
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
