# Model_Notification_BaseNotificationHelper_181.luac
; fn @BaseNotificationHelper.lua  line 0-0 np=0 va=1 ms=3 code=23 consts=7 upvals=1 protos=3
;   K[0]='BaseNotificationHelper'
;   K[1]='__index'
;   K[2]='IsSceneExist'
;   K[3]='DashActivityNotificationHelper'
;   K[4]='setmetatable'
;   K[5]='_GenerateDashStartNotification'
;   K[6]='_GenerateDashEndNotification'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BaseNotificationHelper')] = R0
0002  GETTABUP  R0 = _ENV[K0('BaseNotificationHelper')]
0003  GETTABUP  R1 = _ENV[K0('BaseNotificationHelper')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BaseNotificationHelper')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('IsSceneExist')] = R1
0008  GETTABUP  R0 = _ENV[K4('setmetatable')]
0009  NEWTABLE  R1 = {} (0 items)
0010  GETTABUP  R2 = _ENV[K0('BaseNotificationHelper')]
0011  CALL      R0 = call(R0, 1 args, 2 rets)
0012  SETTABUP  _ENV[K3('DashActivityNotificationHelper')] = R0
0013  GETTABUP  R0 = _ENV[K3('DashActivityNotificationHelper')]
0014  GETTABUP  R1 = _ENV[K3('DashActivityNotificationHelper')]
0015  SETTABLE  R0[K1('__index')] = R1
0016  GETTABUP  R0 = _ENV[K3('DashActivityNotificationHelper')]
0017  CLOSURE   R1 = closure proto1
0018  SETTABLE  R0[K5('_GenerateDashStartNotification')] = R1
0019  GETTABUP  R0 = _ENV[K3('DashActivityNotificationHelper')]
0020  CLOSURE   R1 = closure proto2
0021  SETTABLE  R0[K6('_GenerateDashEndNotification')] = R1
0022  RETURN    return R0..R-1
; ---------- proto0 [IsSceneExist] ----------
  ; fn ?  line 6-9 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Assert'
  ;   K[2]='通知需要继承IsSceneExist判断自己是否支持配置的strScene'
  ;   upvals: _ENV
  ;   locals: strScene(0-8)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Assert')]
  0002  LOADBOOL  R2 = false
  0003  LOADK     R3 = K2 '通知需要继承IsSceneExist判断自己是否支持配置的strScene'
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  LOADBOOL  R1 = false
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto1 [_GenerateDashStartNotification] ----------
  ; fn ?  line 18-25 np=5 va=0 ms=11 code=27 consts=12 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='Type'
  ;   K[3]='Title'
  ;   K[4]='GM'
  ;   K[5]='GameTextModel'
  ;   K[6]='GetText'
  ;   K[7]='Message'
  ;   K[8]='Delay'
  ;   K[9]='GetNextStateTime'
  ;   K[10]='GameModel'
  ;   K[11]='GetServerTime'
  ;   upvals: _ENV
  ;   locals: results(0-27), pDashModel(0-27), eNotiType(0-27), strTextTitle(0-27), strTextDesc(0-27)
  0000  GETTABUP  R5 = _ENV[K0('table')]
  0001  GETTABLE  R5 = R5[K1('insert')]
  0002  MOVE      R6 = R0
  0003  NEWTABLE  R7 = {} (0 items)
  0004  SETTABLE  R7[K2('Type')] = R2
  0005  GETTABUP  R8 = _ENV[K4('GM')]
  0006  GETTABLE  R8 = R8[K5('GameTextModel')]
  0007  SELF      R9 = R8[K6('GetText')] (self)
  0008  MOVE      R10 = R0
  0009  CALL      R8 = call(R8, 1 args, 2 rets)
  0010  SETTABLE  R7[K3('Title')] = R8
  0011  GETTABUP  R8 = _ENV[K4('GM')]
  0012  GETTABLE  R8 = R8[K5('GameTextModel')]
  0013  SELF      R9 = R8[K6('GetText')] (self)
  0014  MOVE      R10 = R0
  0015  CALL      R8 = call(R8, 1 args, 2 rets)
  0016  SETTABLE  R7[K7('Message')] = R8
  0017  SELF      R9 = R1[K9('GetNextStateTime')] (self)
  0018  CALL      R8 = call(R8, 1 args, 1 rets)
  0019  GETTABUP  R9 = _ENV[K4('GM')]
  0020  GETTABLE  R9 = R9[K10('GameModel')]
  0021  SELF      R10 = R9[K11('GetServerTime')] (self)
  0022  CALL      R9 = call(R9, 1 args, 1 rets)
  0023  SUB       R8 = R9 sub R8
  0024  SETTABLE  R7[K8('Delay')] = R8
  0025  CALL      R5 = call(R5, 0 args, 2 rets)
  0026  RETURN    return R0..R-1
; ---------- proto2 [_GenerateDashEndNotification] ----------
  ; fn ?  line 27-55 np=6 va=0 ms=15 code=49 consts=19 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]=18000
  ;   K[2]='GetLevel'
  ;   K[3]='GetLevelConfigs'
  ;   K[4]=1
  ;   K[5]='GetScore'
  ;   K[6]=0
  ;   K[7]='GetNextStateTime'
  ;   K[8]='GM'
  ;   K[9]='GameModel'
  ;   K[10]='GetServerTime'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   K[13]='Type'
  ;   K[14]='Title'
  ;   K[15]='GameTextModel'
  ;   K[16]='GetText'
  ;   K[17]='Message'
  ;   K[18]='Delay'
  ;   upvals: _ENV
  ;   locals: results(0-49), pDashModel(0-49), eNotiType(0-49), strTextTitle(0-49), strTextDesc(0-49), nEndtimeDelay(0-49), level(5-49), levelConfigs(7-49), delay(26-49)
  0000  EQ        if R0 eq K0(nil)   -> -128254
  0001  JMP       (jump)   -> 3
  0002  LOADK     R5 = K1 18000
  0003  SELF      R7 = R1[K2('GetLevel')] (self)
  0004  CALL      R6 = call(R6, 1 args, 1 rets)
  0005  SELF      R8 = R1[K3('GetLevelConfigs')] (self)
  0006  CALL      R7 = call(R7, 1 args, 1 rets)
  0007  GETTABLE  R8 = R7[R6]
  0008  EQ        if R0 eq K0(nil)   -> -126710
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R0..R-1
  0011  EQ        if R0 eq K4(1)   -> -127727
  0012  JMP       (jump)   -> 18
  0013  SELF      R9 = R1[K5('GetScore')] (self)
  0014  CALL      R8 = call(R8, 1 args, 1 rets)
  0015  EQ        if R0 eq K6(0)   -> -126697
  0016  JMP       (jump)   -> 18
  0017  RETURN    return R0..R-1
  0018  SELF      R9 = R1[K7('GetNextStateTime')] (self)
  0019  CALL      R8 = call(R8, 1 args, 1 rets)
  0020  GETTABUP  R9 = _ENV[K8('GM')]
  0021  GETTABLE  R9 = R9[K9('GameModel')]
  0022  SELF      R10 = R9[K10('GetServerTime')] (self)
  0023  CALL      R9 = call(R9, 1 args, 1 rets)
  0024  SUB       R8 = R9 sub R8
  0025  SUB       R8 = R5 sub R8
  0026  LE        if R0 le K6(0)   -> -126686
  0027  JMP       (jump)   -> 29
  0028  RETURN    return R0..R-1
  0029  GETTABUP  R9 = _ENV[K11('table')]
  0030  GETTABLE  R9 = R9[K12('insert')]
  0031  MOVE      R10 = R0
  0032  NEWTABLE  R11 = {} (0 items)
  0033  SETTABLE  R11[K13('Type')] = R2
  0034  GETTABUP  R12 = _ENV[K8('GM')]
  0035  GETTABLE  R12 = R12[K15('GameTextModel')]
  0036  SELF      R13 = R12[K16('GetText')] (self)
  0037  MOVE      R14 = R0
  0038  CALL      R12 = call(R12, 1 args, 2 rets)
  0039  SETTABLE  R11[K14('Title')] = R12
  0040  GETTABUP  R12 = _ENV[K8('GM')]
  0041  GETTABLE  R12 = R12[K15('GameTextModel')]
  0042  SELF      R13 = R12[K16('GetText')] (self)
  0043  MOVE      R14 = R0
  0044  CALL      R12 = call(R12, 1 args, 2 rets)
  0045  SETTABLE  R11[K17('Message')] = R12
  0046  SETTABLE  R11[K18('Delay')] = R8
  0047  CALL      R9 = call(R9, 0 args, 2 rets)
  0048  RETURN    return R0..R-1
