# UI_Window_RewardWindow_435.luac
; fn @RewardWindow.lua  line 0-0 np=0 va=1 ms=14 code=266 consts=51 upvals=1 protos=9
;   K[0]='typeof'
;   K[1]='Image'
;   K[2]='RewardWindow'
;   K[3]='setmetatable'
;   K[4]='disableWindowMaskOnOpenView'
;   K[5]=0.5
;   K[6]='canCloseByAndroidBack'
;   K[7]=false
;   K[8]='canClickWindowMask'
;   K[9]=true
;   K[10]='windowMaskAlpha'
;   K[11]='EWindowMaskAlpha'
;   K[12]='Dark'
;   K[13]='hideHudAnchorType'
;   K[14]='EHudAnchorType'
;   K[15]='All'
;   K[16]='disableEffectWhenCloseView'
;   K[17]='BaseWindow'
;   K[18]='__index'
;   K[19]='arrRewardPos'
;   K[20]=1
;   K[21]='Vector'
;   K[22]='Create'
;   K[23]=0
;   K[24]=2
;   K[25]=-120
;   K[26]=120
;   K[27]=3
;   K[28]=-220
;   K[29]=220
;   K[30]=4
;   K[31]=-300
;   K[32]=-100
;   K[33]=100
;   K[34]=300
;   K[35]=5
;   K[36]=140
;   K[37]=-140
;   K[38]=6
;   K[39]=7
;   K[40]=8
;   K[41]='Open'
;   K[42]='Init'
;   K[43]='_UpdateRewardContent'
;   K[44]='_UpdateRewardContentLayout'
;   K[45]='RewardWindow'
;   K[46]='OnWindowMaskClicked'
;   K[47]='OnCloseView'
;   K[48]='OnDestroy'
;   K[49]='FilterRewards'
;   K[50]='ScrollRewardWindow'
;   upvals: _ENV
;   locals: imageType(3-266)
0000  GETTABUP  R0 = _ENV[K0('typeof')]
0001  GETTABUP  R1 = _ENV[K1('Image')]
0002  CALL      R0 = call(R0, 1 args, 1 rets)
0003  GETTABUP  R1 = _ENV[K3('setmetatable')]
0004  NEWTABLE  R2 = {} (0 items)
0005  SETTABLE  R2[K4('disableWindowMaskOnOpenView')] = K5(0.5)
0006  SETTABLE  R2[K6('canCloseByAndroidBack')] = K7(false)
0007  SETTABLE  R2[K8('canClickWindowMask')] = K9(true)
0008  GETTABUP  R3 = _ENV[K11('EWindowMaskAlpha')]
0009  GETTABLE  R3 = R3[K12('Dark')]
0010  SETTABLE  R2[K10('windowMaskAlpha')] = R3
0011  NEWTABLE  R3 = {} (1 items)
0012  GETTABUP  R4 = _ENV[K14('EHudAnchorType')]
0013  GETTABLE  R4 = R4[K15('All')]
0014  SETLIST   setlist R3[B=1,C=1]
0015  SETTABLE  R2[K13('hideHudAnchorType')] = R3
0016  SETTABLE  R2[K16('disableEffectWhenCloseView')] = K9(true)
0017  GETTABUP  R3 = _ENV[K17('BaseWindow')]
0018  CALL      R1 = call(R1, 1 args, 2 rets)
0019  SETTABUP  _ENV[K2('RewardWindow')] = R1
0020  GETTABUP  R1 = _ENV[K2('RewardWindow')]
0021  GETTABUP  R2 = _ENV[K2('RewardWindow')]
0022  SETTABLE  R1[K18('__index')] = R2
0023  GETTABUP  R1 = _ENV[K2('RewardWindow')]
0024  NEWTABLE  R2 = {} (0 items)
0025  NEWTABLE  R3 = {} (0 items)
0026  GETTABUP  R4 = _ENV[K21('Vector')]
0027  GETTABLE  R4 = R4[K22('Create')]
0028  LOADK     R5 = K23 0
0029  LOADK     R6 = K23 0
0030  CALL      R4 = call(R4, -1 args, 2 rets)
0031  SETLIST   setlist R3[B=1,C=0]
0032  SETTABLE  R2[K20(1)] = R3
0033  NEWTABLE  R3 = {} (1 items)
0034  GETTABUP  R4 = _ENV[K21('Vector')]
0035  GETTABLE  R4 = R4[K22('Create')]
0036  LOADK     R5 = K25 -120
0037  LOADK     R6 = K23 0
0038  CALL      R4 = call(R4, 1 args, 2 rets)
0039  GETTABUP  R5 = _ENV[K21('Vector')]
0040  GETTABLE  R5 = R5[K22('Create')]
0041  LOADK     R6 = K26 120
0042  LOADK     R7 = K23 0
0043  CALL      R5 = call(R5, -1 args, 2 rets)
0044  SETLIST   setlist R3[B=1,C=0]
0045  SETTABLE  R2[K24(2)] = R3
0046  NEWTABLE  R3 = {} (2 items)
0047  GETTABUP  R4 = _ENV[K21('Vector')]
0048  GETTABLE  R4 = R4[K22('Create')]
0049  LOADK     R5 = K28 -220
0050  LOADK     R6 = K23 0
0051  CALL      R4 = call(R4, 1 args, 2 rets)
0052  GETTABUP  R5 = _ENV[K21('Vector')]
0053  GETTABLE  R5 = R5[K22('Create')]
0054  LOADK     R6 = K23 0
0055  LOADK     R7 = K23 0
0056  CALL      R5 = call(R5, 1 args, 2 rets)
0057  GETTABUP  R6 = _ENV[K21('Vector')]
0058  GETTABLE  R6 = R6[K22('Create')]
0059  LOADK     R7 = K29 220
0060  LOADK     R8 = K23 0
0061  CALL      R6 = call(R6, -1 args, 2 rets)
0062  SETLIST   setlist R3[B=1,C=0]
0063  SETTABLE  R2[K27(3)] = R3
0064  NEWTABLE  R3 = {} (3 items)
0065  GETTABUP  R4 = _ENV[K21('Vector')]
0066  GETTABLE  R4 = R4[K22('Create')]
0067  LOADK     R5 = K31 -300
0068  LOADK     R6 = K23 0
0069  CALL      R4 = call(R4, 1 args, 2 rets)
0070  GETTABUP  R5 = _ENV[K21('Vector')]
0071  GETTABLE  R5 = R5[K22('Create')]
0072  LOADK     R6 = K32 -100
0073  LOADK     R7 = K23 0
0074  CALL      R5 = call(R5, 1 args, 2 rets)
0075  GETTABUP  R6 = _ENV[K21('Vector')]
0076  GETTABLE  R6 = R6[K22('Create')]
0077  LOADK     R7 = K33 100
0078  LOADK     R8 = K23 0
0079  CALL      R6 = call(R6, 1 args, 2 rets)
0080  GETTABUP  R7 = _ENV[K21('Vector')]
0081  GETTABLE  R7 = R7[K22('Create')]
0082  LOADK     R8 = K34 300
0083  LOADK     R9 = K23 0
0084  CALL      R7 = call(R7, -1 args, 2 rets)
0085  SETLIST   setlist R3[B=1,C=0]
0086  SETTABLE  R2[K30(4)] = R3
0087  NEWTABLE  R3 = {} (4 items)
0088  GETTABUP  R4 = _ENV[K21('Vector')]
0089  GETTABLE  R4 = R4[K22('Create')]
0090  LOADK     R5 = K28 -220
0091  LOADK     R6 = K36 140
0092  CALL      R4 = call(R4, 1 args, 2 rets)
0093  GETTABUP  R5 = _ENV[K21('Vector')]
0094  GETTABLE  R5 = R5[K22('Create')]
0095  LOADK     R6 = K23 0
0096  LOADK     R7 = K36 140
0097  CALL      R5 = call(R5, 1 args, 2 rets)
0098  GETTABUP  R6 = _ENV[K21('Vector')]
0099  GETTABLE  R6 = R6[K22('Create')]
0100  LOADK     R7 = K29 220
0101  LOADK     R8 = K36 140
0102  CALL      R6 = call(R6, 1 args, 2 rets)
0103  GETTABUP  R7 = _ENV[K21('Vector')]
0104  GETTABLE  R7 = R7[K22('Create')]
0105  LOADK     R8 = K25 -120
0106  LOADK     R9 = K37 -140
0107  CALL      R7 = call(R7, 1 args, 2 rets)
0108  GETTABUP  R8 = _ENV[K21('Vector')]
0109  GETTABLE  R8 = R8[K22('Create')]
0110  LOADK     R9 = K26 120
0111  LOADK     R10 = K37 -140
0112  CALL      R8 = call(R8, -1 args, 2 rets)
0113  SETLIST   setlist R3[B=1,C=0]
0114  SETTABLE  R2[K35(5)] = R3
0115  NEWTABLE  R3 = {} (5 items)
0116  GETTABUP  R4 = _ENV[K21('Vector')]
0117  GETTABLE  R4 = R4[K22('Create')]
0118  LOADK     R5 = K31 -300
0119  LOADK     R6 = K36 140
0120  CALL      R4 = call(R4, 1 args, 2 rets)
0121  GETTABUP  R5 = _ENV[K21('Vector')]
0122  GETTABLE  R5 = R5[K22('Create')]
0123  LOADK     R6 = K32 -100
0124  LOADK     R7 = K36 140
0125  CALL      R5 = call(R5, 1 args, 2 rets)
0126  GETTABUP  R6 = _ENV[K21('Vector')]
0127  GETTABLE  R6 = R6[K22('Create')]
0128  LOADK     R7 = K33 100
0129  LOADK     R8 = K36 140
0130  CALL      R6 = call(R6, 1 args, 2 rets)
0131  GETTABUP  R7 = _ENV[K21('Vector')]
0132  GETTABLE  R7 = R7[K22('Create')]
0133  LOADK     R8 = K34 300
0134  LOADK     R9 = K36 140
0135  CALL      R7 = call(R7, 1 args, 2 rets)
0136  GETTABUP  R8 = _ENV[K21('Vector')]
0137  GETTABLE  R8 = R8[K22('Create')]
0138  LOADK     R9 = K25 -120
0139  LOADK     R10 = K37 -140
0140  CALL      R8 = call(R8, 1 args, 2 rets)
0141  GETTABUP  R9 = _ENV[K21('Vector')]
0142  GETTABLE  R9 = R9[K22('Create')]
0143  LOADK     R10 = K26 120
0144  LOADK     R11 = K37 -140
0145  CALL      R9 = call(R9, -1 args, 2 rets)
0146  SETLIST   setlist R3[B=1,C=0]
0147  SETTABLE  R2[K38(6)] = R3
0148  NEWTABLE  R3 = {} (6 items)
0149  GETTABUP  R4 = _ENV[K21('Vector')]
0150  GETTABLE  R4 = R4[K22('Create')]
0151  LOADK     R5 = K31 -300
0152  LOADK     R6 = K36 140
0153  CALL      R4 = call(R4, 1 args, 2 rets)
0154  GETTABUP  R5 = _ENV[K21('Vector')]
0155  GETTABLE  R5 = R5[K22('Create')]
0156  LOADK     R6 = K32 -100
0157  LOADK     R7 = K36 140
0158  CALL      R5 = call(R5, 1 args, 2 rets)
0159  GETTABUP  R6 = _ENV[K21('Vector')]
0160  GETTABLE  R6 = R6[K22('Create')]
0161  LOADK     R7 = K33 100
0162  LOADK     R8 = K36 140
0163  CALL      R6 = call(R6, 1 args, 2 rets)
0164  GETTABUP  R7 = _ENV[K21('Vector')]
0165  GETTABLE  R7 = R7[K22('Create')]
0166  LOADK     R8 = K34 300
0167  LOADK     R9 = K36 140
0168  CALL      R7 = call(R7, 1 args, 2 rets)
0169  GETTABUP  R8 = _ENV[K21('Vector')]
0170  GETTABLE  R8 = R8[K22('Create')]
0171  LOADK     R9 = K28 -220
0172  LOADK     R10 = K37 -140
0173  CALL      R8 = call(R8, 1 args, 2 rets)
0174  GETTABUP  R9 = _ENV[K21('Vector')]
0175  GETTABLE  R9 = R9[K22('Create')]
0176  LOADK     R10 = K23 0
0177  LOADK     R11 = K37 -140
0178  CALL      R9 = call(R9, 1 args, 2 rets)
0179  GETTABUP  R10 = _ENV[K21('Vector')]
0180  GETTABLE  R10 = R10[K22('Create')]
0181  LOADK     R11 = K29 220
0182  LOADK     R12 = K37 -140
0183  CALL      R10 = call(R10, -1 args, 2 rets)
0184  SETLIST   setlist R3[B=1,C=0]
0185  SETTABLE  R2[K39(7)] = R3
0186  NEWTABLE  R3 = {} (7 items)
0187  GETTABUP  R4 = _ENV[K21('Vector')]
0188  GETTABLE  R4 = R4[K22('Create')]
0189  LOADK     R5 = K31 -300
0190  LOADK     R6 = K36 140
0191  CALL      R4 = call(R4, 1 args, 2 rets)
0192  GETTABUP  R5 = _ENV[K21('Vector')]
0193  GETTABLE  R5 = R5[K22('Create')]
0194  LOADK     R6 = K32 -100
0195  LOADK     R7 = K36 140
0196  CALL      R5 = call(R5, 1 args, 2 rets)
0197  GETTABUP  R6 = _ENV[K21('Vector')]
0198  GETTABLE  R6 = R6[K22('Create')]
0199  LOADK     R7 = K33 100
0200  LOADK     R8 = K36 140
0201  CALL      R6 = call(R6, 1 args, 2 rets)
0202  GETTABUP  R7 = _ENV[K21('Vector')]
0203  GETTABLE  R7 = R7[K22('Create')]
0204  LOADK     R8 = K34 300
0205  LOADK     R9 = K36 140
0206  CALL      R7 = call(R7, 1 args, 2 rets)
0207  GETTABUP  R8 = _ENV[K21('Vector')]
0208  GETTABLE  R8 = R8[K22('Create')]
0209  LOADK     R9 = K31 -300
0210  LOADK     R10 = K37 -140
0211  CALL      R8 = call(R8, 1 args, 2 rets)
0212  GETTABUP  R9 = _ENV[K21('Vector')]
0213  GETTABLE  R9 = R9[K22('Create')]
0214  LOADK     R10 = K32 -100
0215  LOADK     R11 = K37 -140
0216  CALL      R9 = call(R9, 1 args, 2 rets)
0217  GETTABUP  R10 = _ENV[K21('Vector')]
0218  GETTABLE  R10 = R10[K22('Create')]
0219  LOADK     R11 = K33 100
0220  LOADK     R12 = K37 -140
0221  CALL      R10 = call(R10, 1 args, 2 rets)
0222  GETTABUP  R11 = _ENV[K21('Vector')]
0223  GETTABLE  R11 = R11[K22('Create')]
0224  LOADK     R12 = K34 300
0225  LOADK     R13 = K37 -140
0226  CALL      R11 = call(R11, -1 args, 2 rets)
0227  SETLIST   setlist R3[B=1,C=0]
0228  SETTABLE  R2[K40(8)] = R3
0229  SETTABLE  R1[K19('arrRewardPos')] = R2
0230  GETTABUP  R1 = _ENV[K2('RewardWindow')]
0231  CLOSURE   R2 = closure proto0
0232  SETTABLE  R1[K41('Open')] = R2
0233  GETTABUP  R1 = _ENV[K2('RewardWindow')]
0234  CLOSURE   R2 = closure proto1
0235  SETTABLE  R1[K42('Init')] = R2
0236  GETTABUP  R1 = _ENV[K2('RewardWindow')]
0237  CLOSURE   R2 = closure proto2
0238  SETTABLE  R1[K43('_UpdateRewardContent')] = R2
0239  GETTABUP  R1 = _ENV[K2('RewardWindow')]
0240  CLOSURE   R2 = closure proto3
0241  SETTABLE  R1[K44('_UpdateRewardContentLayout')] = R2
0242  GETTABUP  R1 = _ENV[K45('RewardWindow')]
0243  CLOSURE   R2 = closure proto4
0244  SETTABLE  R1[K46('OnWindowMaskClicked')] = R2
0245  GETTABUP  R1 = _ENV[K45('RewardWindow')]
0246  CLOSURE   R2 = closure proto5
0247  SETTABLE  R1[K47('OnCloseView')] = R2
0248  GETTABUP  R1 = _ENV[K45('RewardWindow')]
0249  CLOSURE   R2 = closure proto6
0250  SETTABLE  R1[K48('OnDestroy')] = R2
0251  GETTABUP  R1 = _ENV[K45('RewardWindow')]
0252  CLOSURE   R2 = closure proto7
0253  SETTABLE  R1[K49('FilterRewards')] = R2
0254  GETTABUP  R1 = _ENV[K3('setmetatable')]
0255  NEWTABLE  R2 = {} (0 items)
0256  GETTABUP  R3 = _ENV[K45('RewardWindow')]
0257  CALL      R1 = call(R1, 1 args, 2 rets)
0258  SETTABUP  _ENV[K50('ScrollRewardWindow')] = R1
0259  GETTABUP  R1 = _ENV[K50('ScrollRewardWindow')]
0260  GETTABUP  R2 = _ENV[K50('ScrollRewardWindow')]
0261  SETTABLE  R1[K18('__index')] = R2
0262  GETTABUP  R1 = _ENV[K50('ScrollRewardWindow')]
0263  CLOSURE   R2 = closure proto8
0264  SETTABLE  R1[K43('_UpdateRewardContent')] = R2
0265  RETURN    return R0..R-1
; ---------- proto0 [Open] ----------
  ; fn ?  line 43-45 np=8 va=0 ms=19 code=15 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='AnimatedRewardWindow'
  ;   upvals: _ENV
  ;   locals: arrRewards(0-15), titleTextKey(0-15), playRewardAnim(0-15), rewardScene(0-15), initCallback(0-15), closeCallback(0-15), bLockEventDuringAnimation(0-15), bNoFilterReward(0-15)
  0000  GETTABUP  R8 = _ENV[K0('GM')]
  0001  GETTABLE  R8 = R8[K1('UIManager')]
  0002  SELF      R9 = R8[K2('OpenView')] (self)
  0003  GETTABUP  R10 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R10 = R10[K4('AnimatedRewardWindow')]
  0005  MOVE      R11 = R0
  0006  MOVE      R12 = R0
  0007  MOVE      R13 = R0
  0008  MOVE      R14 = R0
  0009  MOVE      R15 = R0
  0010  MOVE      R16 = R0
  0011  MOVE      R17 = R0
  0012  MOVE      R18 = R0
  0013  CALL      R8 = call(R8, 0 args, 10 rets)
  0014  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 48-74 np=9 va=0 ms=13 code=37 consts=19 upvals=1 protos=1
  ;   K[0]='m_arrRewards'
  ;   K[1]='FilterRewards'
  ;   K[2]='m_bPlayRewardAnimation'
  ;   K[3]='m_rewardScene'
  ;   K[4]='m_bLockEventDuringAnimation'
  ;   K[5]='m_closeCallback'
  ;   K[6]='m_titleText'
  ;   K[7]='text'
  ;   K[8]='GM'
  ;   K[9]='GameTextModel'
  ;   K[10]='GetText'
  ;   K[11]='m_rewardContent'
  ;   K[12]='bNoFilterReward'
  ;   K[13]=true
  ;   K[14]='_UpdateRewardContent'
  ;   K[15]='IsAutoRun'
  ;   K[16]='DOVirtual'
  ;   K[17]='DelayedCall'
  ;   K[18]=0.2
  ;   upvals: _ENV
  ;   locals: self(0-37), arrRewards(0-37), titleTextKey(0-37), playRewardAnim(0-37), rewardScene(0-37), initCallback(0-37), closeCallback(0-37), bLockEventDuringAnimation(0-37), bNoFilterReward(0-37)
  0000  SETTABLE  R0[K0('m_arrRewards')] = R1
  0001  SELF      R10 = R0[K1('FilterRewards')] (self)
  0002  CALL      R9 = call(R9, 0 args, 1 rets)
  0003  SETTABLE  R0[K2('m_bPlayRewardAnimation')] = R3
  0004  SETTABLE  R0[K3('m_rewardScene')] = R4
  0005  SETTABLE  R0[K4('m_bLockEventDuringAnimation')] = R7
  0006  SETTABLE  R0[K5('m_closeCallback')] = R6
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 16
  0009  GETTABLE  R9 = R0[K6('m_titleText')]
  0010  GETTABUP  R10 = _ENV[K8('GM')]
  0011  GETTABLE  R10 = R10[K9('GameTextModel')]
  0012  SELF      R11 = R10[K10('GetText')] (self)
  0013  MOVE      R12 = R0
  0014  CALL      R10 = call(R10, 1 args, 2 rets)
  0015  SETTABLE  R9[K7('text')] = R10
  0016  TEST      if not R8 then   -> -131054
  0017  JMP       (jump)   -> 20
  0018  GETTABLE  R9 = R0[K11('m_rewardContent')]
  0019  SETTABLE  R9[K12('bNoFilterReward')] = K13(true)
  0020  SELF      R10 = R0[K14('_UpdateRewardContent')] (self)
  0021  CALL      R9 = call(R9, 0 args, 1 rets)
  0022  TEST      if not R5 then   -> -131048
  0023  JMP       (jump)   -> 27
  0024  MOVE      R9 = R0
  0025  MOVE      R10 = R0
  0026  CALL      R9 = call(R9, 0 args, 1 rets)
  0027  GETTABUP  R9 = _ENV[K15('IsAutoRun')]
  0028  CALL      R9 = call(R9, 1 args, 0 rets)
  0029  TEST      if not R9 then   -> -131041
  0030  JMP       (jump)   -> 36
  0031  GETTABUP  R9 = _ENV[K16('DOVirtual')]
  0032  GETTABLE  R9 = R9[K17('DelayedCall')]
  0033  LOADK     R10 = K18 0.2
  0034  CLOSURE   R11 = closure proto0
  0035  CALL      R9 = call(R9, 0 args, 2 rets)
  0036  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 72-72 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='OnWindowMaskClicked'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('OnWindowMaskClicked')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto2 [_UpdateRewardContent] ----------
  ; fn ?  line 76-84 np=1 va=0 ms=6 code=34 consts=18 upvals=1 protos=0
  ;   K[0]='m_rewardContent'
  ;   K[1]='Init'
  ;   K[2]='m_arrRewards'
  ;   K[3]='m_rewardScene'
  ;   K[4]='AddHandlerAndRecordMap'
  ;   K[5]='event'
  ;   K[6]='SimpleRewardContent'
  ;   K[7]='EventType'
  ;   K[8]='OnUpdateRewards'
  ;   K[9]='obj'
  ;   K[10]='method'
  ;   K[11]='_UpdateRewardContentLayout'
  ;   K[12]='UIUtil'
  ;   K[13]='UpdateSortingOrder'
  ;   K[14]='gameObject'
  ;   K[15]='GetSortingOrder'
  ;   K[16]=1
  ;   K[17]='m_effectGo'
  ;   upvals: _ENV
  ;   locals: self(0-34)
  0000  GETTABLE  R1 = R0[K0('m_rewardContent')]
  0001  SELF      R2 = R1[K1('Init')] (self)
  0002  GETTABLE  R3 = R0[K2('m_arrRewards')]
  0003  GETTABLE  R4 = R0[K3('m_rewardScene')]
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  GETTABUP  R1 = _ENV[K4('AddHandlerAndRecordMap')]
  0006  GETTABLE  R2 = R0[K0('m_rewardContent')]
  0007  GETTABLE  R2 = R2[K5('event')]
  0008  GETTABUP  R3 = _ENV[K6('SimpleRewardContent')]
  0009  GETTABLE  R3 = R3[K7('EventType')]
  0010  GETTABLE  R3 = R3[K8('OnUpdateRewards')]
  0011  NEWTABLE  R4 = {} (0 items)
  0012  SETTABLE  R4[K9('obj')] = R0
  0013  GETTABLE  R5 = R0[K11('_UpdateRewardContentLayout')]
  0014  SETTABLE  R4[K10('method')] = R5
  0015  CALL      R1 = call(R1, 0 args, 3 rets)
  0016  GETTABUP  R1 = _ENV[K12('UIUtil')]
  0017  GETTABLE  R1 = R1[K13('UpdateSortingOrder')]
  0018  GETTABLE  R2 = R0[K0('m_rewardContent')]
  0019  GETTABLE  R2 = R2[K14('gameObject')]
  0020  SELF      R4 = R0[K15('GetSortingOrder')] (self)
  0021  CALL      R3 = call(R3, 1 args, 1 rets)
  0022  SUB       R3 = K16(1) sub R3
  0023  CALL      R1 = call(R1, 0 args, 2 rets)
  0024  GETTABUP  R1 = _ENV[K12('UIUtil')]
  0025  GETTABLE  R1 = R1[K13('UpdateSortingOrder')]
  0026  GETTABLE  R2 = R0[K17('m_effectGo')]
  0027  SELF      R4 = R0[K15('GetSortingOrder')] (self)
  0028  CALL      R3 = call(R3, 1 args, 1 rets)
  0029  SUB       R3 = K16(1) sub R3
  0030  CALL      R1 = call(R1, 0 args, 2 rets)
  0031  SELF      R2 = R0[K11('_UpdateRewardContentLayout')] (self)
  0032  CALL      R1 = call(R1, 0 args, 1 rets)
  0033  RETURN    return R0..R-1
; ---------- proto3 [_UpdateRewardContentLayout] ----------
  ; fn ?  line 86-113 np=1 va=0 ms=14 code=63 consts=21 upvals=1 protos=0
  ;   K[0]='m_rewardContent'
  ;   K[1]='GetRewardCount'
  ;   K[2]='rewardLayout'
  ;   K[3]='m_rewardLayoutScale'
  ;   K[4]=nil
  ;   K[5]='m_rewardLayoutEnabled'
  ;   K[6]='transform'
  ;   K[7]='localScale'
  ;   K[8]='x'
  ;   K[9]='enabled'
  ;   K[10]='SetLocalScaleXY'
  ;   K[11]=1
  ;   K[12]=1.1
  ;   K[13]=2
  ;   K[14]=8
  ;   K[15]=false
  ;   K[16]='RewardWindow'
  ;   K[17]='arrRewardPos'
  ;   K[18]='GetRewardItem'
  ;   K[19]='SetLocalPosXY'
  ;   K[20]='y'
  ;   upvals: _ENV
  ;   locals: self(0-63), rewardCount(3-63), rewardLayout(5-63), arrPos(36-59), (for index)(39-59), (for limit)(39-59), (for step)(39-59), i(40-58), pos(49-58), rewardItem(53-58)
  0000  GETTABLE  R1 = R0[K0('m_rewardContent')]
  0001  SELF      R2 = R1[K1('GetRewardCount')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K0('m_rewardContent')]
  0004  GETTABLE  R2 = R2[K2('rewardLayout')]
  0005  GETTABLE  R3 = R0[K3('m_rewardLayoutScale')]
  0006  EQ        if R1 eq K4(nil)   -> -129268
  0007  JMP       (jump)   -> 11
  0008  GETTABLE  R3 = R0[K5('m_rewardLayoutEnabled')]
  0009  EQ        if R0 eq K4(nil)   -> -129265
  0010  JMP       (jump)   -> 17
  0011  GETTABLE  R3 = R2[K6('transform')]
  0012  GETTABLE  R3 = R3[K7('localScale')]
  0013  GETTABLE  R3 = R3[K8('x')]
  0014  SETTABLE  R0[K3('m_rewardLayoutScale')] = R3
  0015  GETTABLE  R3 = R2[K9('enabled')]
  0016  SETTABLE  R0[K5('m_rewardLayoutEnabled')] = R3
  0017  GETTABLE  R3 = R0[K0('m_rewardContent')]
  0018  GETTABLE  R3 = R3[K2('rewardLayout')]
  0019  GETTABLE  R3 = R3[K6('transform')]
  0020  SELF      R4 = R3[K10('SetLocalScaleXY')] (self)
  0021  EQ        if R0 eq K11(1)   -> -130270
  0022  JMP       (jump)   -> 26
  0023  LOADK     R5 = K12 1.1
  0024  TEST      if not R5 then   -> -131045
  0025  JMP       (jump)   -> 27
  0026  GETTABLE  R5 = R0[K3('m_rewardLayoutScale')]
  0027  CALL      R3 = call(R3, 0 args, 2 rets)
  0028  LE        if R0 le R1   -> 6687
  0029  JMP       (jump)   -> 60
  0030  LE        if R0 le K14(8)   -> -130258
  0031  JMP       (jump)   -> 60
  0032  SETTABLE  R2[K9('enabled')] = K15(false)
  0033  GETTABUP  R3 = _ENV[K16('RewardWindow')]
  0034  GETTABLE  R3 = R3[K17('arrRewardPos')]
  0035  GETTABLE  R3 = R3[R1]
  0036  LOADK     R4 = K11 1
  0037  MOVE      R5 = R0
  0038  LOADK     R6 = K11 1
  0039  FORPREP   forprep R4(sBx=18)   -> 58
  0040  TEST      if not R3 then   -> -131030
  0041  JMP       (jump)   -> 45
  0042  GETTABLE  R8 = R3[R7]
  0043  TEST      if not R8 then   -> -131026
  0044  JMP       (jump)   -> 49
  0045  GETTABUP  R8 = _ENV[K16('RewardWindow')]
  0046  GETTABLE  R8 = R8[K17('arrRewardPos')]
  0047  GETTABLE  R8 = R8[K11(1)]
  0048  GETTABLE  R8 = R8[K11(1)]
  0049  GETTABLE  R9 = R0[K0('m_rewardContent')]
  0050  SELF      R10 = R9[K18('GetRewardItem')] (self)
  0051  MOVE      R11 = R0
  0052  CALL      R9 = call(R9, 1 args, 2 rets)
  0053  GETTABLE  R10 = R9[K6('transform')]
  0054  SELF      R11 = R10[K19('SetLocalPosXY')] (self)
  0055  GETTABLE  R12 = R8[K8('x')]
  0056  GETTABLE  R13 = R8[K20('y')]
  0057  CALL      R10 = call(R10, 0 args, 3 rets)
  0058  FORLOOP   forloop R4(sBx=-19)   -> 40
  0059  JMP       (jump)   -> 62
  0060  GETTABLE  R3 = R0[K5('m_rewardLayoutEnabled')]
  0061  SETTABLE  R2[K9('enabled')] = R3
  0062  RETURN    return R0..R-1
; ---------- proto4 [OnWindowMaskClicked] ----------
  ; fn ?  line 115-121 np=1 va=0 ms=3 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_bClosing'
  ;   K[1]=true
  ;   K[2]='BaseWindow'
  ;   K[3]='OnWindowMaskClicked'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_bClosing')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K0('m_bClosing')] = K1(true)
  0005  GETTABUP  R1 = _ENV[K2('BaseWindow')]
  0006  GETTABLE  R1 = R1[K3('OnWindowMaskClicked')]
  0007  MOVE      R2 = R0
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto5 [OnCloseView] ----------
  ; fn ?  line 123-140 np=1 va=0 ms=10 code=41 consts=15 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_closeCallback'
  ;   K[3]=nil
  ;   K[4]='m_bPlayRewardAnimation'
  ;   K[5]='m_rewardContent'
  ;   K[6]='PlayRewardAnimation'
  ;   K[7]='m_bLockEventDuringAnimation'
  ;   K[8]='ipairs'
  ;   K[9]='m_arrRewards'
  ;   K[10]='GM'
  ;   K[11]='PropertyDataManager'
  ;   K[12]='IsPropertyType'
  ;   K[13]='PROPERTY_TYPE'
  ;   K[14]='PlayPropertyIncreaseAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-41), (for generator)(22-40), (for state)(22-40), (for control)(22-40), _(23-38), rewardData(23-38)
  0000  GETTABUP  R1 = _ENV[K0('BaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseView')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_closeCallback')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 11
  0007  GETTABLE  R1 = R0[K2('m_closeCallback')]
  0008  MOVE      R2 = R0
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K2('m_closeCallback')] = K3(nil)
  0011  GETTABLE  R1 = R0[K4('m_bPlayRewardAnimation')]
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 19
  0014  GETTABLE  R1 = R0[K5('m_rewardContent')]
  0015  SELF      R2 = R1[K6('PlayRewardAnimation')] (self)
  0016  GETTABLE  R3 = R0[K7('m_bLockEventDuringAnimation')]
  0017  CALL      R1 = call(R1, 0 args, 2 rets)
  0018  JMP       (jump)   -> 40
  0019  GETTABUP  R1 = _ENV[K8('ipairs')]
  0020  GETTABLE  R2 = R0[K9('m_arrRewards')]
  0021  CALL      R1 = call(R1, 3 args, 1 rets)
  0022  JMP       (jump)   -> 38
  0023  GETTABUP  R6 = _ENV[K10('GM')]
  0024  GETTABLE  R6 = R6[K11('PropertyDataManager')]
  0025  SELF      R7 = R6[K12('IsPropertyType')] (self)
  0026  GETTABUP  R8 = _ENV[K13('PROPERTY_TYPE')]
  0027  GETTABLE  R8 = R5[R8]
  0028  CALL      R6 = call(R6, 1 args, 2 rets)
  0029  TEST      if not R6 then   -> -131041
  0030  JMP       (jump)   -> 38
  0031  GETTABUP  R6 = _ENV[K10('GM')]
  0032  GETTABLE  R6 = R6[K11('PropertyDataManager')]
  0033  SELF      R7 = R6[K14('PlayPropertyIncreaseAnimation')] (self)
  0034  NEWTABLE  R8 = {} (1 items)
  0035  MOVE      R9 = R0
  0036  SETLIST   setlist R8[B=1,C=1]
  0037  CALL      R6 = call(R6, 0 args, 2 rets)
  0038  TFORCALL  tforcall R1
  0039  TFORLOOP  tforloop R3(sBx=-17)   -> 23
  0040  RETURN    return R0..R-1
; ---------- proto6 [OnDestroy] ----------
  ; fn ?  line 142-147 np=1 va=0 ms=4 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_rewardContent'
  ;   K[3]=nil
  ;   K[4]='RemoveAllHandlers'
  ;   K[5]='event'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('BaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_rewardContent')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 12
  0007  GETTABUP  R1 = _ENV[K4('RemoveAllHandlers')]
  0008  GETTABLE  R2 = R0[K2('m_rewardContent')]
  0009  GETTABLE  R2 = R2[K5('event')]
  0010  MOVE      R3 = R0
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
; ---------- proto7 [FilterRewards] ----------
  ; fn ?  line 150-167 np=1 va=0 ms=11 code=40 consts=10 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrRewards'
  ;   K[2]='AlbumActivityModel'
  ;   K[3]='IsCardPropertyType'
  ;   K[4]='PROPERTY_TYPE'
  ;   K[5]='IsLastNewCardPropertyType'
  ;   K[6]='RewardApi'
  ;   K[7]='CheckRewardTypeValid'
  ;   K[8]='table'
  ;   K[9]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-40), bChange(1-40), arrRewards(2-40), (for generator)(5-36), (for state)(5-36), (for control)(5-36), _(6-34), reward(6-34)
  0000  LOADBOOL  R1 = false
  0001  NEWTABLE  R2 = {} (0 items)
  0002  GETTABUP  R3 = _ENV[K0('ipairs')]
  0003  GETTABLE  R4 = R0[K1('m_arrRewards')]
  0004  CALL      R3 = call(R3, 3 args, 1 rets)
  0005  JMP       (jump)   -> 34
  0006  GETTABUP  R8 = _ENV[K2('AlbumActivityModel')]
  0007  GETTABLE  R8 = R8[K3('IsCardPropertyType')]
  0008  GETTABUP  R9 = _ENV[K4('PROPERTY_TYPE')]
  0009  GETTABLE  R9 = R7[R9]
  0010  CALL      R8 = call(R8, 1 args, 1 rets)
  0011  TEST      if not R8 then   -> -131058
  0012  JMP       (jump)   -> 20
  0013  GETTABUP  R8 = _ENV[K2('AlbumActivityModel')]
  0014  GETTABLE  R8 = R8[K5('IsLastNewCardPropertyType')]
  0015  GETTABUP  R9 = _ENV[K4('PROPERTY_TYPE')]
  0016  GETTABLE  R9 = R7[R9]
  0017  CALL      R8 = call(R8, 1 args, 1 rets)
  0018  TEST      if not R8 then   -> -131052
  0019  JMP       (jump)   -> 29
  0020  GETTABUP  R8 = _ENV[K6('RewardApi')]
  0021  GETTABLE  R8 = R8[K7('CheckRewardTypeValid')]
  0022  GETTABUP  R9 = _ENV[K4('PROPERTY_TYPE')]
  0023  GETTABLE  R9 = R7[R9]
  0024  CALL      R8 = call(R8, 1 args, 1 rets)
  0025  TEST      if not R8 then   -> -131045
  0026  JMP       (jump)   -> 29
  0027  LOADBOOL  R1 = true
  0028  JMP       (jump)   -> 34
  0029  GETTABUP  R8 = _ENV[K8('table')]
  0030  GETTABLE  R8 = R8[K9('insert')]
  0031  MOVE      R9 = R0
  0032  MOVE      R10 = R0
  0033  CALL      R8 = call(R8, 0 args, 2 rets)
  0034  TFORCALL  tforcall R3
  0035  TFORLOOP  tforloop R5(sBx=-30)   -> 6
  0036  TEST      if not R1 then   -> -131034
  0037  JMP       (jump)   -> 39
  0038  SETTABLE  R0[K1('m_arrRewards')] = R2
  0039  RETURN    return R0..R-1
; ---------- proto8 [_UpdateRewardContent] ----------
  ; fn ?  line 174-197 np=1 va=0 ms=13 code=66 consts=26 upvals=1 protos=0
  ;   K[0]='m_rewardContent'
  ;   K[1]='Init'
  ;   K[2]='m_arrRewards'
  ;   K[3]='m_rewardScene'
  ;   K[4]=12
  ;   K[5]='UIUtil'
  ;   K[6]='UpdateSortingOrder'
  ;   K[7]='gameObject'
  ;   K[8]='GetSortingOrder'
  ;   K[9]=1
  ;   K[10]='m_effectGo'
  ;   K[11]='GetRewardCount'
  ;   K[12]='m_rewardsGroup'
  ;   K[13]='transform'
  ;   K[14]='SetLocalScaleXY'
  ;   K[15]=1.1
  ;   K[16]=8
  ;   K[17]='enabled'
  ;   K[18]=false
  ;   K[19]='m_rewardContentSizeFitter'
  ;   K[20]='RewardWindow'
  ;   K[21]='arrRewardPos'
  ;   K[22]='GetRewardItem'
  ;   K[23]='SetLocalPosXY'
  ;   K[24]='x'
  ;   K[25]='y'
  ;   upvals: _ENV
  ;   locals: self(0-66), rewardCount(25-66), arrPos(42-65), (for index)(45-65), (for limit)(45-65), (for step)(45-65), i(46-64), pos(55-64), rewardItem(59-64)
  0000  GETTABLE  R1 = R0[K0('m_rewardContent')]
  0001  SELF      R2 = R1[K1('Init')] (self)
  0002  GETTABLE  R3 = R0[K2('m_arrRewards')]
  0003  GETTABLE  R4 = R0[K3('m_rewardScene')]
  0004  LOADNIL   R5..R5 = nil
  0005  LOADK     R6 = K4 12
  0006  CALL      R1 = call(R1, 0 args, 5 rets)
  0007  GETTABUP  R1 = _ENV[K5('UIUtil')]
  0008  GETTABLE  R1 = R1[K6('UpdateSortingOrder')]
  0009  GETTABLE  R2 = R0[K0('m_rewardContent')]
  0010  GETTABLE  R2 = R2[K7('gameObject')]
  0011  SELF      R4 = R0[K8('GetSortingOrder')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  SUB       R3 = K9(1) sub R3
  0014  CALL      R1 = call(R1, 0 args, 2 rets)
  0015  GETTABUP  R1 = _ENV[K5('UIUtil')]
  0016  GETTABLE  R1 = R1[K6('UpdateSortingOrder')]
  0017  GETTABLE  R2 = R0[K10('m_effectGo')]
  0018  SELF      R4 = R0[K8('GetSortingOrder')] (self)
  0019  CALL      R3 = call(R3, 1 args, 1 rets)
  0020  SUB       R3 = K9(1) sub R3
  0021  CALL      R1 = call(R1, 0 args, 2 rets)
  0022  GETTABLE  R1 = R0[K0('m_rewardContent')]
  0023  SELF      R2 = R1[K11('GetRewardCount')] (self)
  0024  CALL      R1 = call(R1, 1 args, 1 rets)
  0025  EQ        if R0 eq K9(1)   -> -130268
  0026  JMP       (jump)   -> 33
  0027  GETTABLE  R2 = R0[K12('m_rewardsGroup')]
  0028  GETTABLE  R2 = R2[K13('transform')]
  0029  SELF      R3 = R2[K14('SetLocalScaleXY')] (self)
  0030  LOADK     R4 = K15 1.1
  0031  CALL      R2 = call(R2, 0 args, 2 rets)
  0032  JMP       (jump)   -> 65
  0033  LE        if R0 le K16(8)   -> -130253
  0034  JMP       (jump)   -> 65
  0035  GETTABLE  R2 = R0[K12('m_rewardsGroup')]
  0036  SETTABLE  R2[K17('enabled')] = K18(false)
  0037  GETTABLE  R2 = R0[K19('m_rewardContentSizeFitter')]
  0038  SETTABLE  R2[K17('enabled')] = K18(false)
  0039  GETTABUP  R2 = _ENV[K20('RewardWindow')]
  0040  GETTABLE  R2 = R2[K21('arrRewardPos')]
  0041  GETTABLE  R2 = R2[R1]
  0042  LOADK     R3 = K9 1
  0043  MOVE      R4 = R0
  0044  LOADK     R5 = K9 1
  0045  FORPREP   forprep R3(sBx=18)   -> 64
  0046  TEST      if not R2 then   -> -131024
  0047  JMP       (jump)   -> 51
  0048  GETTABLE  R7 = R2[R6]
  0049  TEST      if not R7 then   -> -131020
  0050  JMP       (jump)   -> 55
  0051  GETTABUP  R7 = _ENV[K20('RewardWindow')]
  0052  GETTABLE  R7 = R7[K21('arrRewardPos')]
  0053  GETTABLE  R7 = R7[K9(1)]
  0054  GETTABLE  R7 = R7[K9(1)]
  0055  GETTABLE  R8 = R0[K0('m_rewardContent')]
  0056  SELF      R9 = R8[K22('GetRewardItem')] (self)
  0057  MOVE      R10 = R0
  0058  CALL      R8 = call(R8, 1 args, 2 rets)
  0059  GETTABLE  R9 = R8[K13('transform')]
  0060  SELF      R10 = R9[K23('SetLocalPosXY')] (self)
  0061  GETTABLE  R11 = R7[K24('x')]
  0062  GETTABLE  R12 = R7[K25('y')]
  0063  CALL      R9 = call(R9, 0 args, 3 rets)
  0064  FORLOOP   forloop R3(sBx=-19)   -> 46
  0065  RETURN    return R0..R-1
