# UI_Window_Task_TaskWindow_457.luac
; fn @TaskWindow.lua  line 0-0 np=0 va=1 ms=3 code=39 consts=22 upvals=1 protos=8
;   K[0]='TaskWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='ETaskWindowRefer'
;   K[7]='TaskButton'
;   K[8]=1
;   K[9]='RoomBubble'
;   K[10]=2
;   K[11]='BoardBubble'
;   K[12]=3
;   K[13]='BeforeOpenCheck'
;   K[14]='TaskWindow'
;   K[15]='Init'
;   K[16]='OnGoButtonClicked'
;   K[17]='HasEnoughGold'
;   K[18]='GetGoBtnTrans'
;   K[19]='OnBoxClick'
;   K[20]='HideRewardTip'
;   K[21]='OnMaskClicked'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('TaskWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('TaskWindow')]
0007  GETTABUP  R1 = _ENV[K0('TaskWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  NEWTABLE  R0 = {} (0 items)
0010  SETTABLE  R0[K7('TaskButton')] = K8(1)
0011  SETTABLE  R0[K9('RoomBubble')] = K10(2)
0012  SETTABLE  R0[K11('BoardBubble')] = K12(3)
0013  SETTABUP  _ENV[K6('ETaskWindowRefer')] = R0
0014  GETTABUP  R0 = _ENV[K0('TaskWindow')]
0015  CLOSURE   R1 = closure proto0
0016  SETTABLE  R0[K13('BeforeOpenCheck')] = R1
0017  GETTABUP  R0 = _ENV[K14('TaskWindow')]
0018  CLOSURE   R1 = closure proto1
0019  SETTABLE  R0[K15('Init')] = R1
0020  GETTABUP  R0 = _ENV[K14('TaskWindow')]
0021  CLOSURE   R1 = closure proto2
0022  SETTABLE  R0[K16('OnGoButtonClicked')] = R1
0023  GETTABUP  R0 = _ENV[K14('TaskWindow')]
0024  CLOSURE   R1 = closure proto3
0025  SETTABLE  R0[K17('HasEnoughGold')] = R1
0026  GETTABUP  R0 = _ENV[K14('TaskWindow')]
0027  CLOSURE   R1 = closure proto4
0028  SETTABLE  R0[K18('GetGoBtnTrans')] = R1
0029  GETTABUP  R0 = _ENV[K14('TaskWindow')]
0030  CLOSURE   R1 = closure proto5
0031  SETTABLE  R0[K19('OnBoxClick')] = R1
0032  GETTABUP  R0 = _ENV[K14('TaskWindow')]
0033  CLOSURE   R1 = closure proto6
0034  SETTABLE  R0[K20('HideRewardTip')] = R1
0035  GETTABUP  R0 = _ENV[K14('TaskWindow')]
0036  CLOSURE   R1 = closure proto7
0037  SETTABLE  R0[K21('OnMaskClicked')] = R1
0038  RETURN    return R0..R-1
; ---------- proto0 [BeforeOpenCheck] ----------
  ; fn ?  line 12-19 np=1 va=0 ms=4 code=41 consts=17 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='UIManager'
  ;   K[6]='GetOpenedViewByName'
  ;   K[7]='UIPrefabConfigName'
  ;   K[8]='TaskWindow'
  ;   K[9]='ChapterManager'
  ;   K[10]='curActiveChapterName'
  ;   K[11]='TaskManager'
  ;   K[12]='GetOngoingChapterName'
  ;   K[13]='TimelineManager'
  ;   K[14]='IsPlayingTimeline'
  ;   K[15]='GetOngoingTask'
  ;   K[16]=nil
  ;   upvals: _ENV
  ;   locals: self(0-41)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Main')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 37
  0008  GETTABUP  R1 = _ENV[K0('GM')]
  0009  GETTABLE  R1 = R1[K5('UIManager')]
  0010  SELF      R2 = R1[K6('GetOpenedViewByName')] (self)
  0011  GETTABUP  R3 = _ENV[K7('UIPrefabConfigName')]
  0012  GETTABLE  R3 = R3[K8('TaskWindow')]
  0013  CALL      R1 = call(R1, 1 args, 2 rets)
  0014  TEST      if not R1 then   -> -131055
  0015  JMP       (jump)   -> 37
  0016  GETTABUP  R1 = _ENV[K0('GM')]
  0017  GETTABLE  R1 = R1[K9('ChapterManager')]
  0018  GETTABLE  R1 = R1[K10('curActiveChapterName')]
  0019  GETTABUP  R2 = _ENV[K0('GM')]
  0020  GETTABLE  R2 = R2[K11('TaskManager')]
  0021  SELF      R3 = R2[K12('GetOngoingChapterName')] (self)
  0022  CALL      R2 = call(R2, 1 args, 1 rets)
  0023  EQ        if R0 eq R2   -> -130533
  0024  JMP       (jump)   -> 37
  0025  GETTABUP  R1 = _ENV[K0('GM')]
  0026  GETTABLE  R1 = R1[K13('TimelineManager')]
  0027  SELF      R2 = R1[K14('IsPlayingTimeline')] (self)
  0028  CALL      R1 = call(R1, 1 args, 1 rets)
  0029  TEST      if not R1 then   -> -131040
  0030  JMP       (jump)   -> 37
  0031  GETTABUP  R1 = _ENV[K0('GM')]
  0032  GETTABLE  R1 = R1[K11('TaskManager')]
  0033  SELF      R2 = R1[K15('GetOngoingTask')] (self)
  0034  CALL      R1 = call(R1, 1 args, 1 rets)
  0035  EQ        if R0 eq K16(nil)   -> -130251
  0036  JMP       (jump)   -> 38
  0037  LOADBOOL  R1 = false
  0038  LOADBOOL  R1 = true
  0039  RETURN    return R1..R0
  0040  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 21-66 np=2 va=0 ms=20 code=175 consts=68 upvals=1 protos=1
  ;   K[0]='LogWindowAction'
  ;   K[1]='EBIType'
  ;   K[2]='UIActionType'
  ;   K[3]='Open'
  ;   K[4]='taskId'
  ;   K[5]='GM'
  ;   K[6]='TaskManager'
  ;   K[7]='GetOngoingTask'
  ;   K[8]='roomModel'
  ;   K[9]='ChapterManager'
  ;   K[10]='chapterName'
  ;   K[11]='_task_icon_'
  ;   K[12]='ImageFileConfigName'
  ;   K[13]='HasConfig'
  ;   K[14]='SpriteUtil'
  ;   K[15]='SetImage'
  ;   K[16]='m_iconImg'
  ;   K[17]='m_costText'
  ;   K[18]='text'
  ;   K[19]='GetTaskCost'
  ;   K[20]='GetTaskRewards'
  ;   K[21]='m_layoutGroup'
  ;   K[22]='spacing'
  ;   K[23]='Vector2'
  ;   K[24]=4
  ;   K[25]=20
  ;   K[26]=50
  ;   K[27]=0
  ;   K[28]='m_rewardContent'
  ;   K[29]='Init'
  ;   K[30]='ERewardScene'
  ;   K[31]='Other'
  ;   K[32]='ItemDataModel'
  ;   K[33]='SetRewardsLocked'
  ;   K[34]='GetProgressRewardProgress'
  ;   K[35]='m_progressText'
  ;   K[36]='tostring'
  ;   K[37]='/'
  ;   K[38]='MAX'
  ;   K[39]='m_progressSlider'
  ;   K[40]='value'
  ;   K[41]=1
  ;   K[42]='GetProgressReward'
  ;   K[43]='UIManager'
  ;   K[44]='CanShowTestUI'
  ;   K[45]='m_testText'
  ;   K[46]='gameObject'
  ;   K[47]='SetActive'
  ;   K[48]='TASKID:'
  ;   K[49]='  '
  ;   K[50]='GetTaskSlotsChanges'
  ;   K[51]='ipairs'
  ;   K[52]='Slot'
  ;   K[53]=':'
  ;   K[54]='State'
  ;   K[55]=', '
  ;   K[56]='\nGROUPID:'
  ;   K[57]='GetOngoingGroupId'
  ;   K[58]='\nCLEAN_COST:'
  ;   K[59]='GetTaskCleanGoldCost'
  ;   K[60]='\nEXP:'
  ;   K[61]='GetExpRewardCount'
  ;   K[62]='UIUtil'
  ;   K[63]='m_rewardTip'
  ;   K[64]='IsAutoRun'
  ;   K[65]='DOVirtual'
  ;   K[66]='DelayedCall'
  ;   K[67]=0.2
  ;   upvals: _ENV
  ;   locals: self(0-175), refer(0-175), iconKey(20-175), rewards(44-175), finished(71-175), total(71-175), progressRewards(97-175), showTestInfo(106-175), strTest(117-159), slotChanges(122-159), (for generator)(125-134), (for state)(125-134), (for control)(125-134), _(126-132), changeData(126-132)
  0000  SELF      R3 = R0[K0('LogWindowAction')] (self)
  0001  GETTABUP  R4 = _ENV[K1('EBIType')]
  0002  GETTABLE  R4 = R4[K2('UIActionType')]
  0003  GETTABLE  R4 = R4[K3('Open')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  GETTABUP  R2 = _ENV[K5('GM')]
  0007  GETTABLE  R2 = R2[K6('TaskManager')]
  0008  SELF      R3 = R2[K7('GetOngoingTask')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  SETTABLE  R0[K4('taskId')] = R2
  0011  GETTABUP  R2 = _ENV[K5('GM')]
  0012  GETTABLE  R2 = R2[K9('ChapterManager')]
  0013  GETTABLE  R2 = R2[K8('roomModel')]
  0014  SETTABLE  R0[K8('roomModel')] = R2
  0015  GETTABLE  R2 = R0[K8('roomModel')]
  0016  GETTABLE  R2 = R2[K10('chapterName')]
  0017  LOADK     R3 = K11 '_task_icon_'
  0018  GETTABLE  R4 = R0[K4('taskId')]
  0019  CONCAT    R2 = concat(R2..R2)
  0020  GETTABUP  R3 = _ENV[K12('ImageFileConfigName')]
  0021  GETTABLE  R3 = R3[K13('HasConfig')]
  0022  MOVE      R4 = R0
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  TEST      if not R3 then   -> -131046
  0025  JMP       (jump)   -> 31
  0026  GETTABUP  R3 = _ENV[K14('SpriteUtil')]
  0027  GETTABLE  R3 = R3[K15('SetImage')]
  0028  GETTABLE  R4 = R0[K16('m_iconImg')]
  0029  MOVE      R5 = R0
  0030  CALL      R3 = call(R3, 0 args, 2 rets)
  0031  GETTABLE  R3 = R0[K17('m_costText')]
  0032  GETTABUP  R4 = _ENV[K5('GM')]
  0033  GETTABLE  R4 = R4[K6('TaskManager')]
  0034  SELF      R5 = R4[K19('GetTaskCost')] (self)
  0035  GETTABLE  R6 = R0[K4('taskId')]
  0036  CALL      R4 = call(R4, 1 args, 2 rets)
  0037  SETTABLE  R3[K18('text')] = R4
  0038  GETTABUP  R3 = _ENV[K5('GM')]
  0039  GETTABLE  R3 = R3[K6('TaskManager')]
  0040  SELF      R4 = R3[K20('GetTaskRewards')] (self)
  0041  GETTABLE  R5 = R0[K4('taskId')]
  0042  LOADBOOL  R6 = true
  0043  CALL      R3 = call(R3, 1 args, 3 rets)
  0044  GETTABLE  R4 = R0[K21('m_layoutGroup')]
  0045  GETTABUP  R5 = _ENV[K23('Vector2')]
  0046  LEN       R6 = len R0
  0047  LE        if R0 le R6   -> 12343
  0048  JMP       (jump)   -> 52
  0049  LOADK     R6 = K25 20
  0050  TEST      if not R6 then   -> -131019
  0051  JMP       (jump)   -> 53
  0052  LOADK     R6 = K26 50
  0053  LOADK     R7 = K27 0
  0054  CALL      R5 = call(R5, 1 args, 2 rets)
  0055  SETTABLE  R4[K22('spacing')] = R5
  0056  GETTABLE  R4 = R0[K28('m_rewardContent')]
  0057  SELF      R5 = R4[K29('Init')] (self)
  0058  MOVE      R6 = R0
  0059  GETTABUP  R7 = _ENV[K30('ERewardScene')]
  0060  GETTABLE  R7 = R7[K31('Other')]
  0061  CALL      R4 = call(R4, 0 args, 3 rets)
  0062  GETTABUP  R4 = _ENV[K5('GM')]
  0063  GETTABLE  R4 = R4[K32('ItemDataModel')]
  0064  SELF      R5 = R4[K33('SetRewardsLocked')] (self)
  0065  MOVE      R6 = R0
  0066  CALL      R4 = call(R4, 0 args, 2 rets)
  0067  GETTABUP  R4 = _ENV[K5('GM')]
  0068  GETTABLE  R4 = R4[K6('TaskManager')]
  0069  SELF      R5 = R4[K34('GetProgressRewardProgress')] (self)
  0070  CALL      R4 = call(R4, 2 args, 1 rets)
  0071  GETTABLE  R6 = R0[K35('m_progressText')]
  0072  GETTABUP  R7 = _ENV[K36('tostring')]
  0073  MOVE      R8 = R0
  0074  CALL      R7 = call(R7, 1 args, 1 rets)
  0075  LOADK     R8 = K37 '/'
  0076  GETTABUP  R9 = _ENV[K36('tostring')]
  0077  LT        if R0 lt R5   -> 13908
  0078  JMP       (jump)   -> 81
  0079  TESTSET   if R1 then R10   -> -128430
  0080  JMP       (jump)   -> 82
  0081  LOADK     R10 = K38 'MAX'
  0082  CALL      R9 = call(R9, 1 args, 1 rets)
  0083  CONCAT    R7 = concat(R7..R7)
  0084  SETTABLE  R6[K18('text')] = R7
  0085  GETTABLE  R6 = R0[K39('m_progressSlider')]
  0086  LT        if R0 lt R5   -> 13917
  0087  JMP       (jump)   -> 91
  0088  DIV       R7 = R5 div R4
  0089  TEST      if not R7 then   -> -130980
  0090  JMP       (jump)   -> 92
  0091  LOADK     R7 = K41 1
  0092  SETTABLE  R6[K40('value')] = R7
  0093  GETTABUP  R6 = _ENV[K5('GM')]
  0094  GETTABLE  R6 = R6[K6('TaskManager')]
  0095  SELF      R7 = R6[K42('GetProgressReward')] (self)
  0096  CALL      R6 = call(R6, 1 args, 1 rets)
  0097  GETTABUP  R7 = _ENV[K5('GM')]
  0098  GETTABLE  R7 = R7[K32('ItemDataModel')]
  0099  SELF      R8 = R7[K33('SetRewardsLocked')] (self)
  0100  MOVE      R9 = R0
  0101  CALL      R7 = call(R7, 0 args, 2 rets)
  0102  GETTABUP  R7 = _ENV[K5('GM')]
  0103  GETTABLE  R7 = R7[K43('UIManager')]
  0104  SELF      R8 = R7[K44('CanShowTestUI')] (self)
  0105  CALL      R7 = call(R7, 1 args, 1 rets)
  0106  GETTABLE  R8 = R0[K45('m_testText')]
  0107  GETTABLE  R8 = R8[K46('gameObject')]
  0108  SELF      R9 = R8[K47('SetActive')] (self)
  0109  MOVE      R10 = R0
  0110  CALL      R8 = call(R8, 0 args, 2 rets)
  0111  TEST      if not R7 then   -> -130959
  0112  JMP       (jump)   -> 159
  0113  LOADK     R8 = K48 'TASKID:'
  0114  GETTABLE  R9 = R0[K4('taskId')]
  0115  LOADK     R10 = K49 '  '
  0116  CONCAT    R8 = concat(R8..R8)
  0117  GETTABUP  R9 = _ENV[K5('GM')]
  0118  GETTABLE  R9 = R9[K6('TaskManager')]
  0119  SELF      R10 = R9[K50('GetTaskSlotsChanges')] (self)
  0120  GETTABLE  R11 = R0[K4('taskId')]
  0121  CALL      R9 = call(R9, 1 args, 2 rets)
  0122  GETTABUP  R10 = _ENV[K51('ipairs')]
  0123  MOVE      R11 = R0
  0124  CALL      R10 = call(R10, 3 args, 1 rets)
  0125  JMP       (jump)   -> 132
  0126  MOVE      R15 = R0
  0127  GETTABLE  R16 = R14[K52('Slot')]
  0128  LOADK     R17 = K53 ':'
  0129  GETTABLE  R18 = R14[K54('State')]
  0130  LOADK     R19 = K55 ', '
  0131  CONCAT    R8 = concat(R8..R15)
  0132  TFORCALL  tforcall R10
  0133  TFORLOOP  tforloop R12(sBx=-8)   -> 126
  0134  MOVE      R10 = R0
  0135  LOADK     R11 = K56 '\nGROUPID:'
  0136  GETTABUP  R12 = _ENV[K5('GM')]
  0137  GETTABLE  R12 = R12[K6('TaskManager')]
  0138  SELF      R13 = R12[K57('GetOngoingGroupId')] (self)
  0139  CALL      R12 = call(R12, 1 args, 1 rets)
  0140  CONCAT    R8 = concat(R8..R10)
  0141  MOVE      R10 = R0
  0142  LOADK     R11 = K58 '\nCLEAN_COST:'
  0143  GETTABUP  R12 = _ENV[K5('GM')]
  0144  GETTABLE  R12 = R12[K6('TaskManager')]
  0145  SELF      R13 = R12[K59('GetTaskCleanGoldCost')] (self)
  0146  GETTABLE  R14 = R0[K4('taskId')]
  0147  CALL      R12 = call(R12, 1 args, 2 rets)
  0148  CONCAT    R8 = concat(R8..R10)
  0149  MOVE      R10 = R0
  0150  LOADK     R11 = K60 '\nEXP:'
  0151  GETTABUP  R12 = _ENV[K5('GM')]
  0152  GETTABLE  R12 = R12[K6('TaskManager')]
  0153  SELF      R13 = R12[K61('GetExpRewardCount')] (self)
  0154  GETTABLE  R14 = R0[K4('taskId')]
  0155  CALL      R12 = call(R12, 1 args, 2 rets)
  0156  CONCAT    R8 = concat(R8..R10)
  0157  GETTABLE  R10 = R0[K45('m_testText')]
  0158  SETTABLE  R10[K18('text')] = R8
  0159  GETTABUP  R8 = _ENV[K62('UIUtil')]
  0160  GETTABLE  R8 = R8[K47('SetActive')]
  0161  GETTABLE  R9 = R0[K63('m_rewardTip')]
  0162  GETTABLE  R9 = R9[K46('gameObject')]
  0163  LOADBOOL  R10 = false
  0164  CALL      R8 = call(R8, 0 args, 2 rets)
  0165  GETTABUP  R8 = _ENV[K64('IsAutoRun')]
  0166  CALL      R8 = call(R8, 1 args, 0 rets)
  0167  TEST      if not R8 then   -> -130903
  0168  JMP       (jump)   -> 174
  0169  GETTABUP  R8 = _ENV[K65('DOVirtual')]
  0170  GETTABLE  R8 = R8[K66('DelayedCall')]
  0171  LOADK     R9 = K67 0.2
  0172  CLOSURE   R10 = closure proto0
  0173  CALL      R8 = call(R8, 0 args, 2 rets)
  0174  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 64-64 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='OnGoButtonClicked'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('OnGoButtonClicked')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto2 [OnGoButtonClicked] ----------
  ; fn ?  line 68-86 np=1 va=0 ms=4 code=49 consts=22 upvals=1 protos=0
  ;   K[0]='HideRewardTip'
  ;   K[1]='EventDispatcher'
  ;   K[2]='DispatchEvent'
  ;   K[3]='EEventType'
  ;   K[4]='TaskGoClicked'
  ;   K[5]='GM'
  ;   K[6]='ChapterManager'
  ;   K[7]='curActiveChapterName'
  ;   K[8]='TaskManager'
  ;   K[9]='GetOngoingChapterName'
  ;   K[10]='Close'
  ;   K[11]='HasEnoughGold'
  ;   K[12]='UIManager'
  ;   K[13]='OpenView'
  ;   K[14]='UIPrefabConfigName'
  ;   K[15]='GoPlayWindow'
  ;   K[16]='GoFinishTask'
  ;   K[17]='taskId'
  ;   K[18]='AudioModel'
  ;   K[19]='PlayEffect'
  ;   K[20]='AudioFileConfigName'
  ;   K[21]='SfxTaskStart'
  ;   upvals: _ENV
  ;   locals: self(0-49)
  0000  SELF      R2 = R0[K0('HideRewardTip')] (self)
  0001  LOADBOOL  R3 = true
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  GETTABUP  R1 = _ENV[K1('EventDispatcher')]
  0004  GETTABLE  R1 = R1[K2('DispatchEvent')]
  0005  GETTABUP  R2 = _ENV[K3('EEventType')]
  0006  GETTABLE  R2 = R2[K4('TaskGoClicked')]
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  GETTABUP  R1 = _ENV[K5('GM')]
  0009  GETTABLE  R1 = R1[K6('ChapterManager')]
  0010  GETTABLE  R1 = R1[K7('curActiveChapterName')]
  0011  GETTABUP  R2 = _ENV[K5('GM')]
  0012  GETTABLE  R2 = R2[K8('TaskManager')]
  0013  SELF      R3 = R2[K9('GetOngoingChapterName')] (self)
  0014  CALL      R2 = call(R2, 1 args, 1 rets)
  0015  EQ        if R1 eq R2   -> -130541
  0016  JMP       (jump)   -> 20
  0017  SELF      R2 = R0[K10('Close')] (self)
  0018  CALL      R1 = call(R1, 0 args, 1 rets)
  0019  RETURN    return R0..R-1
  0020  SELF      R2 = R0[K11('HasEnoughGold')] (self)
  0021  CALL      R1 = call(R1, 1 args, 1 rets)
  0022  TEST      if not R1 then   -> -131047
  0023  JMP       (jump)   -> 33
  0024  GETTABUP  R1 = _ENV[K5('GM')]
  0025  GETTABLE  R1 = R1[K12('UIManager')]
  0026  SELF      R2 = R1[K13('OpenView')] (self)
  0027  GETTABUP  R3 = _ENV[K14('UIPrefabConfigName')]
  0028  GETTABLE  R3 = R3[K15('GoPlayWindow')]
  0029  CALL      R1 = call(R1, 0 args, 2 rets)
  0030  SELF      R2 = R0[K10('Close')] (self)
  0031  CALL      R1 = call(R1, 0 args, 1 rets)
  0032  JMP       (jump)   -> 48
  0033  GETTABUP  R1 = _ENV[K5('GM')]
  0034  GETTABLE  R1 = R1[K8('TaskManager')]
  0035  SELF      R2 = R1[K16('GoFinishTask')] (self)
  0036  GETTABLE  R3 = R0[K17('taskId')]
  0037  CALL      R1 = call(R1, 1 args, 2 rets)
  0038  TEST      if not R1 then   -> -131032
  0039  JMP       (jump)   -> 48
  0040  GETTABUP  R1 = _ENV[K5('GM')]
  0041  GETTABLE  R1 = R1[K18('AudioModel')]
  0042  SELF      R2 = R1[K19('PlayEffect')] (self)
  0043  GETTABUP  R3 = _ENV[K20('AudioFileConfigName')]
  0044  GETTABLE  R3 = R3[K21('SfxTaskStart')]
  0045  CALL      R1 = call(R1, 0 args, 2 rets)
  0046  SELF      R2 = R0[K10('Close')] (self)
  0047  CALL      R1 = call(R1, 0 args, 1 rets)
  0048  RETURN    return R0..R-1
; ---------- proto3 [HasEnoughGold] ----------
  ; fn ?  line 88-92 np=1 va=0 ms=6 code=19 consts=10 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='PropertyDataManager'
  ;   K[2]='GetPropertyNum'
  ;   K[3]='EPropertyType'
  ;   K[4]='Gold'
  ;   K[5]='TaskManager'
  ;   K[6]='GetTaskCost'
  ;   K[7]='taskId'
  ;   K[8]='roomModel'
  ;   K[9]='chapterName'
  ;   upvals: _ENV
  ;   locals: self(0-19), coins(6-19), cost(13-19)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('PropertyDataManager')]
  0002  SELF      R2 = R1[K2('GetPropertyNum')] (self)
  0003  GETTABUP  R3 = _ENV[K3('EPropertyType')]
  0004  GETTABLE  R3 = R3[K4('Gold')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  GETTABUP  R2 = _ENV[K0('GM')]
  0007  GETTABLE  R2 = R2[K5('TaskManager')]
  0008  SELF      R3 = R2[K6('GetTaskCost')] (self)
  0009  GETTABLE  R4 = R0[K7('taskId')]
  0010  GETTABLE  R5 = R0[K8('roomModel')]
  0011  GETTABLE  R5 = R5[K9('chapterName')]
  0012  CALL      R2 = call(R2, 1 args, 3 rets)
  0013  LE        if R1 le R1   -> -130032
  0014  JMP       (jump)   -> 16
  0015  LOADBOOL  R3 = false
  0016  LOADBOOL  R3 = true
  0017  RETURN    return R3..R2
  0018  RETURN    return R0..R-1
; ---------- proto4 [GetGoBtnTrans] ----------
  ; fn ?  line 94-96 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_goBtnTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_goBtnTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [OnBoxClick] ----------
  ; fn ?  line 98-101 np=1 va=0 ms=9 code=14 consts=10 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='TaskManager'
  ;   K[2]='GetProgressReward'
  ;   K[3]='m_rewardTip'
  ;   K[4]='Show'
  ;   K[5]='ERewardScene'
  ;   K[6]='Other'
  ;   K[7]='m_boxTrans'
  ;   K[8]=-4
  ;   K[9]=42.5
  ;   upvals: _ENV
  ;   locals: self(0-14), rewards(4-14)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('TaskManager')]
  0002  SELF      R2 = R1[K2('GetProgressReward')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABLE  R2 = R0[K3('m_rewardTip')]
  0005  SELF      R3 = R2[K4('Show')] (self)
  0006  MOVE      R4 = R0
  0007  GETTABUP  R5 = _ENV[K5('ERewardScene')]
  0008  GETTABLE  R5 = R5[K6('Other')]
  0009  GETTABLE  R6 = R0[K7('m_boxTrans')]
  0010  LOADK     R7 = K8 -4
  0011  LOADK     R8 = K9 42.5
  0012  CALL      R2 = call(R2, 0 args, 6 rets)
  0013  RETURN    return R0..R-1
; ---------- proto6 [HideRewardTip] ----------
  ; fn ?  line 103-105 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_rewardTip'
  ;   K[1]='Hide'
  ;   locals: self(0-5), bIgnoreAnim(0-5)
  0000  GETTABLE  R2 = R0[K0('m_rewardTip')]
  0001  SELF      R3 = R2[K1('Hide')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto7 [OnMaskClicked] ----------
  ; fn ?  line 107-109 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='HideRewardTip'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('HideRewardTip')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
