# UI_Window_Account_DataConflictWindow_652.luac
; fn @DataConflictWindow.lua  line 0-0 np=0 va=1 ms=3 code=36 consts=19 upvals=1 protos=7
;   K[0]='DataConflictWindow'
;   K[1]='setmetatable'
;   K[2]='sortingOrder'
;   K[3]='ESpecialViewSortingOrder'
;   K[4]='canCloseByChangeGameMode'
;   K[5]=false
;   K[6]='BaseWindow'
;   K[7]='__index'
;   K[8]='SelectCountDown'
;   K[9]=3
;   K[10]='CreateDisplayData'
;   K[11]='Init'
;   K[12]='UpdatePerSecond'
;   K[13]='_GetLocalDisplayData'
;   K[14]='DataConflictWindow'
;   K[15]='OnRegionSelected'
;   K[16]='DataConflictWindow'
;   K[17]='OnConfirmButtonClicked'
;   K[18]='OnCloseBtnClick'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('ESpecialViewSortingOrder')]
0003  GETTABLE  R2 = R2[K0('DataConflictWindow')]
0004  SETTABLE  R1[K2('sortingOrder')] = R2
0005  SETTABLE  R1[K4('canCloseByChangeGameMode')] = K5(false)
0006  GETTABUP  R2 = _ENV[K6('BaseWindow')]
0007  CALL      R0 = call(R0, 1 args, 2 rets)
0008  SETTABUP  _ENV[K0('DataConflictWindow')] = R0
0009  GETTABUP  R0 = _ENV[K0('DataConflictWindow')]
0010  GETTABUP  R1 = _ENV[K0('DataConflictWindow')]
0011  SETTABLE  R0[K7('__index')] = R1
0012  GETTABUP  R0 = _ENV[K0('DataConflictWindow')]
0013  SETTABLE  R0[K8('SelectCountDown')] = K9(3)
0014  GETTABUP  R0 = _ENV[K0('DataConflictWindow')]
0015  CLOSURE   R1 = closure proto0
0016  SETTABLE  R0[K10('CreateDisplayData')] = R1
0017  GETTABUP  R0 = _ENV[K0('DataConflictWindow')]
0018  CLOSURE   R1 = closure proto1
0019  SETTABLE  R0[K11('Init')] = R1
0020  GETTABUP  R0 = _ENV[K0('DataConflictWindow')]
0021  CLOSURE   R1 = closure proto2
0022  SETTABLE  R0[K12('UpdatePerSecond')] = R1
0023  GETTABUP  R0 = _ENV[K0('DataConflictWindow')]
0024  CLOSURE   R1 = closure proto3
0025  SETTABLE  R0[K13('_GetLocalDisplayData')] = R1
0026  GETTABUP  R0 = _ENV[K14('DataConflictWindow')]
0027  CLOSURE   R1 = closure proto4
0028  SETTABLE  R0[K15('OnRegionSelected')] = R1
0029  GETTABUP  R0 = _ENV[K16('DataConflictWindow')]
0030  CLOSURE   R1 = closure proto5
0031  SETTABLE  R0[K17('OnConfirmButtonClicked')] = R1
0032  GETTABUP  R0 = _ENV[K16('DataConflictWindow')]
0033  CLOSURE   R1 = closure proto6
0034  SETTABLE  R0[K18('OnCloseBtnClick')] = R1
0035  RETURN    return R0..R-1
; ---------- proto0 [CreateDisplayData] ----------
  ; fn ?  line 16-30 np=9 va=0 ms=11 code=12 consts=8 upvals=0 protos=0
  ;   K[0]='Gems'
  ;   K[1]='Coins'
  ;   K[2]='ProfileCount'
  ;   K[3]='Level'
  ;   K[4]='Day'
  ;   K[5]='CurrentChapter'
  ;   K[6]='CurrentTasks'
  ;   K[7]='Timestamp'
  ;   locals: gems(0-12), coins(0-12), badgeCount(0-12), frameCount(0-12), level(0-12), day(0-12), currentChapterId(0-12), currentTasks(0-12), timestamp(0-12)
  0000  NEWTABLE  R9 = {} (0 items)
  0001  SETTABLE  R9[K0('Gems')] = R0
  0002  SETTABLE  R9[K1('Coins')] = R1
  0003  ADD       R10 = R3 add R2
  0004  SETTABLE  R9[K2('ProfileCount')] = R10
  0005  SETTABLE  R9[K3('Level')] = R4
  0006  SETTABLE  R9[K4('Day')] = R5
  0007  SETTABLE  R9[K5('CurrentChapter')] = R6
  0008  SETTABLE  R9[K6('CurrentTasks')] = R7
  0009  SETTABLE  R9[K7('Timestamp')] = R8
  0010  RETURN    return R9..R8
  0011  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 32-48 np=6 va=0 ms=13 code=45 consts=24 upvals=1 protos=0
  ;   K[0]='m_selectLocalCallback'
  ;   K[1]='m_selectNewCallback'
  ;   K[2]='m_closeCallback'
  ;   K[3]='canCloseByAndroidBack'
  ;   K[4]=nil
  ;   K[5]='m_closeBtnGo'
  ;   K[6]='SetActive'
  ;   K[7]='m_descriptionText'
  ;   K[8]='text'
  ;   K[9]='GM'
  ;   K[10]='GameTextModel'
  ;   K[11]='GetText'
  ;   K[12]='_GetLocalDisplayData'
  ;   K[13]='m_data1'
  ;   K[14]='Init'
  ;   K[15]=1
  ;   K[16]='m_data2'
  ;   K[17]=2
  ;   K[18]='BIManager'
  ;   K[19]='LogAction'
  ;   K[20]='EBIType'
  ;   K[21]='SceneDataConflict'
  ;   K[22]='SceneDataConflictAction'
  ;   K[23]='Show'
  ;   upvals: _ENV
  ;   locals: self(0-45), descriptionTextKey(0-45), serverDisplayData(0-45), selectLocalCallback(0-45), selectNewCallback(0-45), closeCallback(0-45), localDisplayData(21-45)
  0000  SETTABLE  R0[K0('m_selectLocalCallback')] = R3
  0001  SETTABLE  R0[K1('m_selectNewCallback')] = R4
  0002  SETTABLE  R0[K2('m_closeCallback')] = R5
  0003  EQ        if R0 eq K4(nil)   -> -128247
  0004  JMP       (jump)   -> 6
  0005  LOADBOOL  R6 = false
  0006  LOADBOOL  R6 = true
  0007  SETTABLE  R0[K3('canCloseByAndroidBack')] = R6
  0008  GETTABLE  R6 = R0[K5('m_closeBtnGo')]
  0009  SELF      R7 = R6[K6('SetActive')] (self)
  0010  GETTABLE  R8 = R0[K3('canCloseByAndroidBack')]
  0011  CALL      R6 = call(R6, 0 args, 2 rets)
  0012  GETTABLE  R6 = R0[K7('m_descriptionText')]
  0013  GETTABUP  R7 = _ENV[K9('GM')]
  0014  GETTABLE  R7 = R7[K10('GameTextModel')]
  0015  SELF      R8 = R7[K11('GetText')] (self)
  0016  MOVE      R9 = R0
  0017  CALL      R7 = call(R7, 1 args, 2 rets)
  0018  SETTABLE  R6[K8('text')] = R7
  0019  SELF      R7 = R0[K12('_GetLocalDisplayData')] (self)
  0020  CALL      R6 = call(R6, 1 args, 1 rets)
  0021  GETTABLE  R7 = R0[K13('m_data1')]
  0022  SELF      R8 = R7[K14('Init')] (self)
  0023  MOVE      R9 = R0
  0024  LOADK     R10 = K15 1
  0025  MOVE      R11 = R0
  0026  MOVE      R12 = R0
  0027  CALL      R7 = call(R7, 0 args, 5 rets)
  0028  GETTABLE  R7 = R0[K16('m_data2')]
  0029  SELF      R8 = R7[K14('Init')] (self)
  0030  MOVE      R9 = R0
  0031  LOADK     R10 = K17 2
  0032  MOVE      R11 = R0
  0033  MOVE      R12 = R0
  0034  CALL      R7 = call(R7, 0 args, 5 rets)
  0035  GETTABUP  R7 = _ENV[K9('GM')]
  0036  GETTABLE  R7 = R7[K18('BIManager')]
  0037  SELF      R8 = R7[K19('LogAction')] (self)
  0038  GETTABUP  R9 = _ENV[K20('EBIType')]
  0039  GETTABLE  R9 = R9[K21('SceneDataConflict')]
  0040  GETTABUP  R10 = _ENV[K20('EBIType')]
  0041  GETTABLE  R10 = R10[K22('SceneDataConflictAction')]
  0042  GETTABLE  R10 = R10[K23('Show')]
  0043  CALL      R7 = call(R7, 0 args, 3 rets)
  0044  RETURN    return R0..R-1
; ---------- proto2 [UpdatePerSecond] ----------
  ; fn ?  line 50-65 np=1 va=0 ms=7 code=31 consts=14 upvals=1 protos=0
  ;   K[0]='m_countDownTimer'
  ;   K[1]=nil
  ;   K[2]=1
  ;   K[3]='GM'
  ;   K[4]='GameTextModel'
  ;   K[5]='GetText'
  ;   K[6]='progressConflict_confirm_button'
  ;   K[7]=0
  ;   K[8]='m_confirmButton'
  ;   K[9]='SetEnabled'
  ;   K[10]='m_confirmButtonText'
  ;   K[11]='text'
  ;   K[12]=' ('
  ;   K[13]='s)'
  ;   upvals: _ENV
  ;   locals: self(0-31), text(12-31)
  0000  GETTABLE  R1 = R0[K0('m_countDownTimer')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_countDownTimer')]
  0005  SUB       R1 = K2(1) sub R1
  0006  SETTABLE  R0[K0('m_countDownTimer')] = R1
  0007  GETTABUP  R1 = _ENV[K3('GM')]
  0008  GETTABLE  R1 = R1[K4('GameTextModel')]
  0009  SELF      R2 = R1[K5('GetText')] (self)
  0010  LOADK     R3 = K6 'progressConflict_confirm_button'
  0011  CALL      R1 = call(R1, 1 args, 2 rets)
  0012  GETTABLE  R2 = R0[K0('m_countDownTimer')]
  0013  EQ        if R0 eq K7(0)   -> -129770
  0014  JMP       (jump)   -> 23
  0015  GETTABLE  R2 = R0[K8('m_confirmButton')]
  0016  SELF      R3 = R2[K9('SetEnabled')] (self)
  0017  LOADBOOL  R4 = true
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  GETTABLE  R2 = R0[K10('m_confirmButtonText')]
  0020  SETTABLE  R2[K11('text')] = R1
  0021  SETTABLE  R0[K0('m_countDownTimer')] = K1(nil)
  0022  JMP       (jump)   -> 30
  0023  GETTABLE  R2 = R0[K10('m_confirmButtonText')]
  0024  MOVE      R3 = R0
  0025  LOADK     R4 = K12 ' ('
  0026  GETTABLE  R5 = R0[K0('m_countDownTimer')]
  0027  LOADK     R6 = K13 's)'
  0028  CONCAT    R3 = concat(R3..R3)
  0029  SETTABLE  R2[K11('text')] = R3
  0030  RETURN    return R0..R-1
; ---------- proto3 [_GetLocalDisplayData] ----------
  ; fn ?  line 67-81 np=1 va=0 ms=13 code=45 consts=20 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='MainBoardModel'
  ;   K[2]='GetOrderModel'
  ;   K[3]='GetCurOrderDay'
  ;   K[4]='DataConflictWindow'
  ;   K[5]='CreateDisplayData'
  ;   K[6]='PropertyDataManager'
  ;   K[7]='GetPropertyNum'
  ;   K[8]='EPropertyType'
  ;   K[9]='Gem'
  ;   K[10]='Gold'
  ;   K[11]='UserProfileModel'
  ;   K[12]='GetBadgeCount'
  ;   K[13]='GetFrameCount'
  ;   K[14]='LevelModel'
  ;   K[15]='GetCurrentLevel'
  ;   K[16]='TaskManager'
  ;   K[17]='GetOngoingChapterId'
  ;   K[18]='GetOngoingTasksString'
  ;   K[19]=0
  ;   upvals: _ENV
  ;   locals: self(0-45), orderModel(4-45), curDay(6-45)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('MainBoardModel')]
  0002  SELF      R2 = R1[K2('GetOrderModel')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  SELF      R3 = R1[K3('GetCurOrderDay')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  GETTABUP  R3 = _ENV[K4('DataConflictWindow')]
  0007  GETTABLE  R3 = R3[K5('CreateDisplayData')]
  0008  GETTABUP  R4 = _ENV[K0('GM')]
  0009  GETTABLE  R4 = R4[K6('PropertyDataManager')]
  0010  SELF      R5 = R4[K7('GetPropertyNum')] (self)
  0011  GETTABUP  R6 = _ENV[K8('EPropertyType')]
  0012  GETTABLE  R6 = R6[K9('Gem')]
  0013  CALL      R4 = call(R4, 1 args, 2 rets)
  0014  GETTABUP  R5 = _ENV[K0('GM')]
  0015  GETTABLE  R5 = R5[K6('PropertyDataManager')]
  0016  SELF      R6 = R5[K7('GetPropertyNum')] (self)
  0017  GETTABUP  R7 = _ENV[K8('EPropertyType')]
  0018  GETTABLE  R7 = R7[K10('Gold')]
  0019  CALL      R5 = call(R5, 1 args, 2 rets)
  0020  GETTABUP  R6 = _ENV[K0('GM')]
  0021  GETTABLE  R6 = R6[K11('UserProfileModel')]
  0022  SELF      R7 = R6[K12('GetBadgeCount')] (self)
  0023  CALL      R6 = call(R6, 1 args, 1 rets)
  0024  GETTABUP  R7 = _ENV[K0('GM')]
  0025  GETTABLE  R7 = R7[K11('UserProfileModel')]
  0026  SELF      R8 = R7[K13('GetFrameCount')] (self)
  0027  CALL      R7 = call(R7, 1 args, 1 rets)
  0028  GETTABUP  R8 = _ENV[K0('GM')]
  0029  GETTABLE  R8 = R8[K14('LevelModel')]
  0030  SELF      R9 = R8[K15('GetCurrentLevel')] (self)
  0031  CALL      R8 = call(R8, 1 args, 1 rets)
  0032  MOVE      R9 = R0
  0033  GETTABUP  R10 = _ENV[K0('GM')]
  0034  GETTABLE  R10 = R10[K16('TaskManager')]
  0035  SELF      R11 = R10[K17('GetOngoingChapterId')] (self)
  0036  CALL      R10 = call(R10, 1 args, 1 rets)
  0037  GETTABUP  R11 = _ENV[K0('GM')]
  0038  GETTABLE  R11 = R11[K16('TaskManager')]
  0039  SELF      R12 = R11[K18('GetOngoingTasksString')] (self)
  0040  CALL      R11 = call(R11, 1 args, 1 rets)
  0041  LOADK     R12 = K19 0
  0042  TAILCALL  tailcall(R3, 0)
  0043  RETURN    return R3..R2
  0044  RETURN    return R0..R-1
; ---------- proto4 [OnRegionSelected] ----------
  ; fn ?  line 83-94 np=2 va=0 ms=5 code=35 consts=15 upvals=1 protos=0
  ;   K[0]='m_selectedIndex'
  ;   K[1]='m_data1'
  ;   K[2]='SetSelected'
  ;   K[3]=1
  ;   K[4]='m_data2'
  ;   K[5]=2
  ;   K[6]='m_confirmDescriptionGo'
  ;   K[7]='SetActive'
  ;   K[8]='m_confirmButton'
  ;   K[9]='gameObject'
  ;   K[10]='SetEnabled'
  ;   K[11]='m_countDownTimer'
  ;   K[12]='DataConflictWindow'
  ;   K[13]='SelectCountDown'
  ;   K[14]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-35), index(0-35)
  0000  SETTABLE  R0[K0('m_selectedIndex')] = R1
  0001  GETTABLE  R2 = R0[K1('m_data1')]
  0002  SELF      R3 = R2[K2('SetSelected')] (self)
  0003  EQ        if R1 eq K3(1)   -> -130296
  0004  JMP       (jump)   -> 6
  0005  LOADBOOL  R4 = false
  0006  LOADBOOL  R4 = true
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  GETTABLE  R2 = R0[K4('m_data2')]
  0009  SELF      R3 = R2[K2('SetSelected')] (self)
  0010  EQ        if R1 eq K5(2)   -> -130287
  0011  JMP       (jump)   -> 13
  0012  LOADBOOL  R4 = false
  0013  LOADBOOL  R4 = true
  0014  CALL      R2 = call(R2, 0 args, 2 rets)
  0015  GETTABLE  R2 = R0[K6('m_confirmDescriptionGo')]
  0016  SELF      R3 = R2[K7('SetActive')] (self)
  0017  LOADBOOL  R4 = true
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  GETTABLE  R2 = R0[K8('m_confirmButton')]
  0020  GETTABLE  R2 = R2[K9('gameObject')]
  0021  SELF      R3 = R2[K7('SetActive')] (self)
  0022  LOADBOOL  R4 = true
  0023  CALL      R2 = call(R2, 0 args, 2 rets)
  0024  GETTABLE  R2 = R0[K8('m_confirmButton')]
  0025  SELF      R3 = R2[K10('SetEnabled')] (self)
  0026  LOADBOOL  R4 = false
  0027  CALL      R2 = call(R2, 0 args, 2 rets)
  0028  GETTABUP  R2 = _ENV[K12('DataConflictWindow')]
  0029  GETTABLE  R2 = R2[K13('SelectCountDown')]
  0030  ADD       R2 = K3(1) add R2
  0031  SETTABLE  R0[K11('m_countDownTimer')] = R2
  0032  SELF      R3 = R0[K14('UpdatePerSecond')] (self)
  0033  CALL      R2 = call(R2, 0 args, 1 rets)
  0034  RETURN    return R0..R-1
; ---------- proto5 [OnConfirmButtonClicked] ----------
  ; fn ?  line 96-103 np=1 va=0 ms=3 code=11 consts=5 upvals=0 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_selectedIndex'
  ;   K[2]=1
  ;   K[3]='m_selectLocalCallback'
  ;   K[4]='m_selectNewCallback'
  ;   locals: self(0-11)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_selectedIndex')]
  0003  EQ        if R0 eq K2(1)   -> -130297
  0004  JMP       (jump)   -> 8
  0005  GETTABLE  R1 = R0[K3('m_selectLocalCallback')]
  0006  CALL      R1 = call(R1, 0 args, 0 rets)
  0007  JMP       (jump)   -> 10
  0008  GETTABLE  R1 = R0[K4('m_selectNewCallback')]
  0009  CALL      R1 = call(R1, 0 args, 0 rets)
  0010  RETURN    return R0..R-1
; ---------- proto6 [OnCloseBtnClick] ----------
  ; fn ?  line 105-108 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_closeCallback'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_closeCallback')]
  0003  CALL      R1 = call(R1, 0 args, 0 rets)
  0004  RETURN    return R0..R-1
