# Model_Notification_ComeBackNotificationHelper_175.luac
; fn @ComeBackNotificationHelper.lua  line 0-0 np=0 va=1 ms=3 code=18 consts=7 upvals=1 protos=3
;   K[0]='ComeBackNotificationHelper'
;   K[1]='setmetatable'
;   K[2]='BaseNotificationHelper'
;   K[3]='__index'
;   K[4]='IsSceneExist'
;   K[5]='GetHours'
;   K[6]='Generate'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseNotificationHelper')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ComeBackNotificationHelper')] = R0
0005  GETTABUP  R0 = _ENV[K0('ComeBackNotificationHelper')]
0006  GETTABUP  R1 = _ENV[K0('ComeBackNotificationHelper')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ComeBackNotificationHelper')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('IsSceneExist')] = R1
0011  GETTABUP  R0 = _ENV[K0('ComeBackNotificationHelper')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('GetHours')] = R1
0014  GETTABUP  R0 = _ENV[K0('ComeBackNotificationHelper')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('Generate')] = R1
0017  RETURN    return R0..R-1
; ---------- proto0 [IsSceneExist] ----------
  ; fn ?  line 6-12 np=1 va=0 ms=4 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='find'
  ;   K[2]='NotificationScene'
  ;   K[3]='ComeBack'
  ;   K[4]=nil
  ;   upvals: _ENV
  ;   locals: strScene(0-13)
  0000  GETTABUP  R1 = _ENV[K0('string')]
  0001  GETTABLE  R1 = R1[K1('find')]
  0002  MOVE      R2 = R0
  0003  GETTABUP  R3 = _ENV[K2('NotificationScene')]
  0004  GETTABLE  R3 = R3[K3('ComeBack')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  EQ        if R1 eq K4(nil)   -> -130292
  0007  JMP       (jump)   -> 10
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  LOADBOOL  R1 = false
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto1 [GetHours] ----------
  ; fn ?  line 14-22 np=1 va=0 ms=5 code=21 consts=11 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='Split'
  ;   K[2]='_'
  ;   K[3]=2
  ;   K[4]=nil
  ;   K[5]='tonumber'
  ;   K[6]=3600
  ;   K[7]='Log'
  ;   K[8]='Assert'
  ;   K[9]='ComeBack 配置错误'
  ;   K[10]='Sec2Day'
  ;   upvals: _ENV
  ;   locals: strScene(0-21), strSplit(5-21)
  0000  GETTABUP  R1 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R1 = R1[K1('Split')]
  0002  MOVE      R2 = R0
  0003  LOADK     R3 = K2 '_'
  0004  CALL      R1 = call(R1, 1 args, 2 rets)
  0005  GETTABLE  R2 = R1[K3(2)]
  0006  EQ        if R1 eq K4(nil)   -> -129780
  0007  JMP       (jump)   -> 13
  0008  GETTABUP  R2 = _ENV[K5('tonumber')]
  0009  GETTABLE  R3 = R1[K3(2)]
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  MUL       R2 = K6(3600) mul R2
  0012  RETURN    return R2..R1
  0013  GETTABUP  R2 = _ENV[K7('Log')]
  0014  GETTABLE  R2 = R2[K8('Assert')]
  0015  LOADBOOL  R3 = false
  0016  LOADK     R4 = K9 'ComeBack 配置错误'
  0017  CALL      R2 = call(R2, 0 args, 2 rets)
  0018  GETTABUP  R2 = _ENV[K10('Sec2Day')]
  0019  RETURN    return R2..R1
  0020  RETURN    return R0..R-1
; ---------- proto2 [Generate] ----------
  ; fn ?  line 24-40 np=1 va=0 ms=11 code=43 consts=18 upvals=1 protos=0
  ;   K[0]='ComeBackNotificationHelper'
  ;   K[1]='GetHours'
  ;   K[2]='GM'
  ;   K[3]='NotificationModel'
  ;   K[4]='GetTextTileAndDesc'
  ;   K[5]=''
  ;   K[6]='push_come_back_title'
  ;   K[7]='push_come_back_desc'
  ;   K[8]='table'
  ;   K[9]='insert'
  ;   K[10]='Type'
  ;   K[11]='NotificationType'
  ;   K[12]='ComeBack'
  ;   K[13]='Title'
  ;   K[14]='GameTextModel'
  ;   K[15]='GetText'
  ;   K[16]='Message'
  ;   K[17]='Delay'
  ;   upvals: _ENV
  ;   locals: strScene(0-43), results(1-43), llTimeSec(5-43), strTileKey(10-43), strDescKey(10-43)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('ComeBackNotificationHelper')]
  0002  GETTABLE  R2 = R2[K1('GetHours')]
  0003  MOVE      R3 = R0
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  GETTABUP  R3 = _ENV[K2('GM')]
  0006  GETTABLE  R3 = R3[K3('NotificationModel')]
  0007  SELF      R4 = R3[K4('GetTextTileAndDesc')] (self)
  0008  MOVE      R5 = R0
  0009  CALL      R3 = call(R3, 2 args, 2 rets)
  0010  EQ        if R1 eq K5('')   -> -129263
  0011  JMP       (jump)   -> 14
  0012  TEST      if not R3 then   -> -131057
  0013  JMP       (jump)   -> 15
  0014  LOADK     R3 = K6 'push_come_back_title'
  0015  EQ        if R1 eq K5('')   -> -128746
  0016  JMP       (jump)   -> 19
  0017  TEST      if not R4 then   -> -131052
  0018  JMP       (jump)   -> 20
  0019  LOADK     R4 = K7 'push_come_back_desc'
  0020  GETTABUP  R5 = _ENV[K8('table')]
  0021  GETTABLE  R5 = R5[K9('insert')]
  0022  MOVE      R6 = R0
  0023  NEWTABLE  R7 = {} (0 items)
  0024  GETTABUP  R8 = _ENV[K11('NotificationType')]
  0025  GETTABLE  R8 = R8[K12('ComeBack')]
  0026  SETTABLE  R7[K10('Type')] = R8
  0027  GETTABUP  R8 = _ENV[K2('GM')]
  0028  GETTABLE  R8 = R8[K14('GameTextModel')]
  0029  SELF      R9 = R8[K15('GetText')] (self)
  0030  MOVE      R10 = R0
  0031  CALL      R8 = call(R8, 1 args, 2 rets)
  0032  SETTABLE  R7[K13('Title')] = R8
  0033  GETTABUP  R8 = _ENV[K2('GM')]
  0034  GETTABLE  R8 = R8[K14('GameTextModel')]
  0035  SELF      R9 = R8[K15('GetText')] (self)
  0036  MOVE      R10 = R0
  0037  CALL      R8 = call(R8, 1 args, 2 rets)
  0038  SETTABLE  R7[K16('Message')] = R8
  0039  SETTABLE  R7[K17('Delay')] = R2
  0040  CALL      R5 = call(R5, 0 args, 2 rets)
  0041  RETURN    return R1..R0
  0042  RETURN    return R0..R-1
