# AlbumActivity_View_AlbumViewHelper_1113.luac
; fn @AlbumViewHelper.lua  line 0-0 np=0 va=1 ms=3 code=16 consts=5 upvals=1 protos=4
;   K[0]='AlbumViewHelper'
;   K[1]='__index'
;   K[2]='ContinueChainView'
;   K[3]='ContinueAlbumChainView'
;   K[4]='ContinueLimitAlbumChainView'
;   upvals: _ENV
;   locals: checkValidFunc(6-16)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('AlbumViewHelper')] = R0
0002  GETTABUP  R0 = _ENV[K0('AlbumViewHelper')]
0003  GETTABUP  R1 = _ENV[K0('AlbumViewHelper')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  CLOSURE   R0 = closure proto0
0006  GETTABUP  R1 = _ENV[K0('AlbumViewHelper')]
0007  CLOSURE   R2 = closure proto1
0008  SETTABLE  R1[K2('ContinueChainView')] = R2
0009  GETTABUP  R1 = _ENV[K0('AlbumViewHelper')]
0010  CLOSURE   R2 = closure proto2
0011  SETTABLE  R1[K3('ContinueAlbumChainView')] = R2
0012  GETTABUP  R1 = _ENV[K0('AlbumViewHelper')]
0013  CLOSURE   R2 = closure proto3
0014  SETTABLE  R1[K4('ContinueLimitAlbumChainView')] = R2
0015  RETURN    return R0..R-1
; ---------- proto0 [ContinueChainView] ----------
  ; fn ?  line 5-7 np=2 va=0 ms=4 code=16 consts=5 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='GetId'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Released'
  ;   upvals: _ENV
  ;   locals: activityModel(0-16), activityId(0-16)
  0000  EQ        if R1 eq K0(nil)   -> -130814
  0001  JMP       (jump)   -> 12
  0002  SELF      R3 = R0[K1('GetId')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  EQ        if R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 12
  0006  SELF      R3 = R0[K2('GetState')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  GETTABUP  R3 = _ENV[K3('ActivityState')]
  0009  GETTABLE  R3 = R3[K4('Released')]
  0010  EQ        if R0 eq R3   -> -130033
  0011  JMP       (jump)   -> 13
  0012  LOADBOOL  R2 = false
  0013  LOADBOOL  R2 = true
  0014  RETURN    return R2..R1
  0015  RETURN    return R0..R-1
; ---------- proto1 [ContinueChainView] ----------
  ; fn ?  line 9-33 np=8 va=0 ms=18 code=37 consts=3 upvals=1 protos=1
  ;   K[0]='AlbumViewHelper'
  ;   K[1]='ContinueLimitAlbumChainView'
  ;   K[2]='ContinueAlbumChainView'
  ;   upvals: _ENV
  ;   locals: albumId(0-37), limitAlbumId(0-37), albumModel(0-37), limitAlbumModel(0-37), listSetFinish(0-37), bAllAlbum(0-37), bAllLimitAlbum(0-37), badgeId(0-37), chainViewFunc(1-37), bPoped(9-37), bFinished(9-37)
  0000  CLOSURE   R8 = closure proto0
  0001  GETTABUP  R9 = _ENV[K0('AlbumViewHelper')]
  0002  GETTABLE  R9 = R9[K1('ContinueLimitAlbumChainView')]
  0003  MOVE      R10 = R0
  0004  MOVE      R11 = R0
  0005  MOVE      R12 = R0
  0006  MOVE      R13 = R0
  0007  MOVE      R14 = R0
  0008  CALL      R9 = call(R9, 2 args, 5 rets)
  0009  TEST      if not R9 then   -> -131061
  0010  JMP       (jump)   -> 16
  0011  TEST      if not R10 then   -> -131059
  0012  JMP       (jump)   -> 14
  0013  LOADBOOL  R6 = false
  0014  LOADBOOL  R11 = true
  0015  RETURN    return R11..R10
  0016  GETTABUP  R11 = _ENV[K0('AlbumViewHelper')]
  0017  GETTABLE  R11 = R11[K2('ContinueAlbumChainView')]
  0018  MOVE      R12 = R0
  0019  MOVE      R13 = R0
  0020  MOVE      R14 = R0
  0021  MOVE      R15 = R0
  0022  MOVE      R16 = R0
  0023  MOVE      R17 = R0
  0024  CALL      R11 = call(R11, 2 args, 6 rets)
  0025  MOVE      R10 = R0
  0026  MOVE      R9 = R0
  0027  TEST      if not R9 then   -> -131043
  0028  JMP       (jump)   -> 34
  0029  TEST      if not R10 then   -> -131041
  0030  JMP       (jump)   -> 32
  0031  LOADBOOL  R5 = false
  0032  LOADBOOL  R11 = true
  0033  RETURN    return R11..R10
  0034  LOADBOOL  R11 = false
  0035  RETURN    return R11..R10
  0036  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 10-12 np=0 va=0 ms=9 code=12 consts=2 upvals=9 protos=0
    ;   K[0]='AlbumViewHelper'
    ;   K[1]='ContinueChainView'
    ;   upvals: _ENV, albumId, limitAlbumId, albumModel, limitAlbumModel, listSetFinish, bAllAlbum, bAllLimitAlbum, badgeId
    0000  GETTABUP  R0 = _ENV[K0('AlbumViewHelper')]
    0001  GETTABLE  R0 = R0[K1('ContinueChainView')]
    0002  GETUPVAL  R1 = _ENV
    0003  GETUPVAL  R2 = _ENV
    0004  GETUPVAL  R3 = _ENV
    0005  GETUPVAL  R4 = _ENV
    0006  GETUPVAL  R5 = _ENV
    0007  GETUPVAL  R6 = _ENV
    0008  GETUPVAL  R7 = _ENV
    0009  GETUPVAL  R8 = _ENV
    0010  CALL      R0 = call(R0, 0 args, 8 rets)
    0011  RETURN    return R0..R-1
; ---------- proto2 [ContinueAlbumChainView] ----------
  ; fn ?  line 37-53 np=6 va=0 ms=10 code=46 consts=4 upvals=2 protos=1
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='TryOpenSetRewardWindow'
  ;   K[3]='TryOpenFinishRewardWindow'
  ;   upvals: _ENV, checkValidFunc
  ;   locals: albumId(0-46), albumModel(0-46), listSetFinish(0-46), bAllAlbum(0-46), badgeId(0-46), chainViewFunc(0-46)
  0000  TEST      if not R5 then   -> -131069
  0001  JMP       (jump)   -> 4
  0002  CLOSURE   R6 = closure proto0
  0003  MOVE      R5 = R0
  0004  GETTABUP  R6 = _ENV[K0('Table')]
  0005  GETTABLE  R6 = R6[K1('IsEmpty')]
  0006  MOVE      R7 = R0
  0007  CALL      R6 = call(R6, 1 args, 1 rets)
  0008  TEST      if not R6 then   -> -131061
  0009  JMP       (jump)   -> 25
  0010  GETUPVAL  R6 = _ENV
  0011  MOVE      R7 = R0
  0012  MOVE      R8 = R0
  0013  CALL      R6 = call(R6, 1 args, 2 rets)
  0014  TEST      if not R6 then   -> -131056
  0015  JMP       (jump)   -> 25
  0016  SELF      R7 = R1[K2('TryOpenSetRewardWindow')] (self)
  0017  MOVE      R8 = R0
  0018  MOVE      R9 = R0
  0019  CALL      R6 = call(R6, 1 args, 3 rets)
  0020  TEST      if not R6 then   -> -131050
  0021  JMP       (jump)   -> 25
  0022  LOADBOOL  R6 = true
  0023  LOADBOOL  R7 = false
  0024  RETURN    return R6..R5
  0025  TEST      if not R3 then   -> -131045
  0026  JMP       (jump)   -> 42
  0027  GETUPVAL  R6 = _ENV
  0028  MOVE      R7 = R0
  0029  MOVE      R8 = R0
  0030  CALL      R6 = call(R6, 1 args, 2 rets)
  0031  TEST      if not R6 then   -> -131039
  0032  JMP       (jump)   -> 42
  0033  SELF      R7 = R1[K3('TryOpenFinishRewardWindow')] (self)
  0034  MOVE      R8 = R0
  0035  CALL      R6 = call(R6, 1 args, 2 rets)
  0036  TEST      if not R6 then   -> -131034
  0037  JMP       (jump)   -> 42
  0038  LOADBOOL  R3 = false
  0039  LOADBOOL  R6 = true
  0040  LOADBOOL  R7 = true
  0041  RETURN    return R6..R5
  0042  LOADBOOL  R6 = false
  0043  LOADBOOL  R7 = false
  0044  RETURN    return R6..R5
  0045  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 38-40 np=0 va=0 ms=6 code=9 consts=2 upvals=6 protos=0
    ;   K[0]='AlbumViewHelper'
    ;   K[1]='ContinueAlbumChainView'
    ;   upvals: _ENV, albumId, albumModel, listSetFinish, bAllAlbum, badgeId
    0000  GETTABUP  R0 = _ENV[K0('AlbumViewHelper')]
    0001  GETTABLE  R0 = R0[K1('ContinueAlbumChainView')]
    0002  GETUPVAL  R1 = _ENV
    0003  GETUPVAL  R2 = _ENV
    0004  GETUPVAL  R3 = _ENV
    0005  GETUPVAL  R4 = _ENV
    0006  GETUPVAL  R5 = _ENV
    0007  CALL      R0 = call(R0, 0 args, 5 rets)
    0008  RETURN    return R0..R-1
; ---------- proto3 [ContinueLimitAlbumChainView] ----------
  ; fn ?  line 55-70 np=5 va=0 ms=9 code=46 consts=4 upvals=2 protos=1
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='TryOpenSetRewardWindow'
  ;   K[3]='TryOpenFinishRewardWindow'
  ;   upvals: _ENV, checkValidFunc
  ;   locals: limitAlbumId(0-46), limitAlbumModel(0-46), listSetFinish(0-46), bAllLimitAlbum(0-46), chainViewFunc(0-46)
  0000  TEST      if not R4 then   -> -131069
  0001  JMP       (jump)   -> 4
  0002  CLOSURE   R5 = closure proto0
  0003  MOVE      R4 = R0
  0004  GETTABUP  R5 = _ENV[K0('Table')]
  0005  GETTABLE  R5 = R5[K1('IsEmpty')]
  0006  MOVE      R6 = R0
  0007  CALL      R5 = call(R5, 1 args, 1 rets)
  0008  TEST      if not R5 then   -> -131061
  0009  JMP       (jump)   -> 25
  0010  GETUPVAL  R5 = _ENV
  0011  MOVE      R6 = R0
  0012  MOVE      R7 = R0
  0013  CALL      R5 = call(R5, 1 args, 2 rets)
  0014  TEST      if not R5 then   -> -131056
  0015  JMP       (jump)   -> 25
  0016  SELF      R6 = R1[K2('TryOpenSetRewardWindow')] (self)
  0017  MOVE      R7 = R0
  0018  MOVE      R8 = R0
  0019  CALL      R5 = call(R5, 1 args, 3 rets)
  0020  TEST      if not R5 then   -> -131050
  0021  JMP       (jump)   -> 25
  0022  LOADBOOL  R5 = true
  0023  LOADBOOL  R6 = false
  0024  RETURN    return R5..R4
  0025  TEST      if not R3 then   -> -131045
  0026  JMP       (jump)   -> 42
  0027  GETUPVAL  R5 = _ENV
  0028  MOVE      R6 = R0
  0029  MOVE      R7 = R0
  0030  CALL      R5 = call(R5, 1 args, 2 rets)
  0031  TEST      if not R5 then   -> -131039
  0032  JMP       (jump)   -> 42
  0033  SELF      R6 = R1[K3('TryOpenFinishRewardWindow')] (self)
  0034  MOVE      R7 = R0
  0035  CALL      R5 = call(R5, 1 args, 2 rets)
  0036  TEST      if not R5 then   -> -131034
  0037  JMP       (jump)   -> 42
  0038  LOADBOOL  R3 = false
  0039  LOADBOOL  R5 = true
  0040  LOADBOOL  R6 = true
  0041  RETURN    return R5..R4
  0042  LOADBOOL  R5 = false
  0043  LOADBOOL  R6 = false
  0044  RETURN    return R5..R4
  0045  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 56-58 np=0 va=0 ms=5 code=8 consts=2 upvals=5 protos=0
    ;   K[0]='AlbumViewHelper'
    ;   K[1]='ContinueLimitAlbumChainView'
    ;   upvals: _ENV, limitAlbumId, limitAlbumModel, listSetFinish, bAllLimitAlbum
    0000  GETTABUP  R0 = _ENV[K0('AlbumViewHelper')]
    0001  GETTABLE  R0 = R0[K1('ContinueLimitAlbumChainView')]
    0002  GETUPVAL  R1 = _ENV
    0003  GETUPVAL  R2 = _ENV
    0004  GETUPVAL  R3 = _ENV
    0005  GETUPVAL  R4 = _ENV
    0006  CALL      R0 = call(R0, 0 args, 4 rets)
    0007  RETURN    return R0..R-1
