# UI_UIFramework_ActivitySimpleStartWindow_270.luac
; fn @ActivitySimpleStartWindow.lua  line 0-0 np=0 va=1 ms=3 code=49 consts=19 upvals=1 protos=13
;   K[0]='ActivitySimpleStartWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='BeforeOpenCheck'
;   K[7]='_CanOpenWindow'
;   K[8]='Init'
;   K[9]='_OnViewLoaded'
;   K[10]='_OnAllViewLoaded'
;   K[11]='OnViewShowFinished'
;   K[12]='_OnAllViewShowFinished'
;   K[13]='OnViewHideFinished'
;   K[14]='_OnAllViewHideFinished'
;   K[15]='OnViewCloseFinished'
;   K[16]='_OnAllViewCloseFinished'
;   K[17]='OnSkip'
;   K[18]='OnCloseFinish'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('ActivitySimpleStartWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0007  GETTABUP  R1 = _ENV[K0('ActivitySimpleStartWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('BeforeOpenCheck')] = R1
0012  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('_CanOpenWindow')] = R1
0015  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('Init')] = R1
0018  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('_OnViewLoaded')] = R1
0021  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('_OnAllViewLoaded')] = R1
0024  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0025  CLOSURE   R1 = closure proto5
0026  SETTABLE  R0[K11('OnViewShowFinished')] = R1
0027  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0028  CLOSURE   R1 = closure proto6
0029  SETTABLE  R0[K12('_OnAllViewShowFinished')] = R1
0030  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0031  CLOSURE   R1 = closure proto7
0032  SETTABLE  R0[K13('OnViewHideFinished')] = R1
0033  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0034  CLOSURE   R1 = closure proto8
0035  SETTABLE  R0[K14('_OnAllViewHideFinished')] = R1
0036  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0037  CLOSURE   R1 = closure proto9
0038  SETTABLE  R0[K15('OnViewCloseFinished')] = R1
0039  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0040  CLOSURE   R1 = closure proto10
0041  SETTABLE  R0[K16('_OnAllViewCloseFinished')] = R1
0042  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0043  CLOSURE   R1 = closure proto11
0044  SETTABLE  R0[K17('OnSkip')] = R1
0045  GETTABUP  R0 = _ENV[K0('ActivitySimpleStartWindow')]
0046  CLOSURE   R1 = closure proto12
0047  SETTABLE  R0[K18('OnCloseFinish')] = R1
0048  RETURN    return R0..R-1
; ---------- proto0 [BeforeOpenCheck] ----------
  ; fn ?  line 16-26 np=3 va=0 ms=11 code=29 consts=8 upvals=1 protos=0
  ;   K[0]=1
  ;   K[1]=-1
  ;   K[2]='_CanOpenWindow'
  ;   K[3]='GetId'
  ;   K[4]='table'
  ;   K[5]='remove'
  ;   K[6]='Table'
  ;   K[7]='IsEmpty'
  ;   upvals: _ENV
  ;   locals: self(0-29), arrModel(0-29), mapModelId(0-29), model(1-29), (for index)(4-22), (for limit)(4-22), (for step)(4-22), index(5-21)
  0000  LOADNIL   R3..R3 = nil
  0001  LEN       R4 = len R0
  0002  LOADK     R5 = K0 1
  0003  LOADK     R6 = K1 -1
  0004  FORPREP   forprep R4(sBx=16)   -> 21
  0005  GETTABLE  R3 = R1[R7]
  0006  SELF      R9 = R0[K2('_CanOpenWindow')] (self)
  0007  MOVE      R10 = R0
  0008  CALL      R8 = call(R8, 1 args, 2 rets)
  0009  TEST      if not R8 then   -> -131061
  0010  JMP       (jump)   -> 16
  0011  SELF      R9 = R3[K3('GetId')] (self)
  0012  CALL      R8 = call(R8, 1 args, 1 rets)
  0013  GETTABLE  R9 = R2[R3]
  0014  EQ        if R1 eq R9   -> -126951
  0015  JMP       (jump)   -> 21
  0016  GETTABUP  R8 = _ENV[K4('table')]
  0017  GETTABLE  R8 = R8[K5('remove')]
  0018  MOVE      R9 = R0
  0019  MOVE      R10 = R0
  0020  CALL      R8 = call(R8, 0 args, 2 rets)
  0021  FORLOOP   forloop R4(sBx=-17)   -> 5
  0022  GETTABUP  R4 = _ENV[K6('Table')]
  0023  GETTABLE  R4 = R4[K7('IsEmpty')]
  0024  MOVE      R5 = R0
  0025  CALL      R4 = call(R4, 1 args, 1 rets)
  0026  NOT       R4 = not R0
  0027  RETURN    return R4..R3
  0028  RETURN    return R0..R-1
; ---------- proto1 [_CanOpenWindow] ----------
  ; fn ?  line 30-33 np=2 va=0 ms=4 code=14 consts=4 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='Ended'
  ;   upvals: _ENV
  ;   locals: self(0-14), model(0-14), state(2-14)
  0000  SELF      R3 = R1[K0('GetState')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R3 = R3[K2('Started')]
  0004  EQ        if R1 eq R3   -> -130039
  0005  JMP       (jump)   -> 11
  0006  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0007  GETTABLE  R3 = R3[K3('Ended')]
  0008  EQ        if R1 eq R3   -> -130035
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R3 = false
  0011  LOADBOOL  R3 = true
  0012  RETURN    return R3..R2
  0013  RETURN    return R0..R-1
; ---------- proto2 [Init] ----------
  ; fn ?  line 38-66 np=4 va=0 ms=19 code=37 consts=15 upvals=1 protos=2
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_loadRoot'
  ;   K[3]='gameObject'
  ;   K[4]='m_arrModel'
  ;   K[5]='m_mapView'
  ;   K[6]='m_toLoadCount'
  ;   K[7]='ipairs'
  ;   K[8]='GM'
  ;   K[9]='ResourceLoader'
  ;   K[10]='LoadPrefab'
  ;   K[11]='DataResource'
  ;   K[12]='UIPrefabConfig'
  ;   K[13]='GetConfig'
  ;   K[14]='V3Zero'
  ;   upvals: _ENV
  ;   locals: self(0-37), arrModel(0-37), mapModelId(0-37), mapPrefabName(0-37), (for generator)(15-36), (for state)(15-36), (for control)(15-36), _(16-34), model(16-34), currentModel(17-34), failCallback(18-34), successCallback(19-34)
  0000  GETTABUP  R4 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R4 = R4[K1('SetActive')]
  0002  GETTABLE  R5 = R0[K2('m_loadRoot')]
  0003  GETTABLE  R5 = R5[K3('gameObject')]
  0004  LOADBOOL  R6 = false
  0005  CALL      R4 = call(R4, 0 args, 2 rets)
  0006  SETTABLE  R0[K4('m_arrModel')] = R1
  0007  NEWTABLE  R4 = {} (0 items)
  0008  SETTABLE  R0[K5('m_mapView')] = R4
  0009  GETTABLE  R4 = R0[K4('m_arrModel')]
  0010  LEN       R4 = len R0
  0011  SETTABLE  R0[K6('m_toLoadCount')] = R4
  0012  GETTABUP  R4 = _ENV[K7('ipairs')]
  0013  GETTABLE  R5 = R0[K4('m_arrModel')]
  0014  CALL      R4 = call(R4, 3 args, 1 rets)
  0015  JMP       (jump)   -> 34
  0016  MOVE      R9 = R0
  0017  CLOSURE   R10 = closure proto0
  0018  CLOSURE   R11 = closure proto1
  0019  GETTABUP  R12 = _ENV[K8('GM')]
  0020  GETTABLE  R12 = R12[K9('ResourceLoader')]
  0021  SELF      R13 = R12[K10('LoadPrefab')] (self)
  0022  GETTABUP  R14 = _ENV[K8('GM')]
  0023  GETTABLE  R14 = R14[K11('DataResource')]
  0024  GETTABLE  R14 = R14[K12('UIPrefabConfig')]
  0025  SELF      R15 = R14[K13('GetConfig')] (self)
  0026  GETTABLE  R16 = R3[R9]
  0027  CALL      R14 = call(R14, 1 args, 2 rets)
  0028  GETTABLE  R15 = R0[K2('m_loadRoot')]
  0029  GETTABUP  R16 = _ENV[K14('V3Zero')]
  0030  MOVE      R17 = R0
  0031  MOVE      R18 = R0
  0032  CALL      R12 = call(R12, 0 args, 6 rets)
  0033  JMP       (jump)   -> 34
  0034  TFORCALL  tforcall R4
  0035  TFORLOOP  tforloop R6(sBx=-20)   -> 16
  0036  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 47-50 np=0 va=0 ms=3 code=9 consts=4 upvals=3 protos=0
    ;   K[0]='Table'
    ;   K[1]='ListRemove'
    ;   K[2]='m_arrModel'
    ;   K[3]='_OnViewLoaded'
    ;   upvals: _ENV, self, currentModel
    0000  GETTABUP  R0 = _ENV[K0('Table')]
    0001  GETTABLE  R0 = R0[K1('ListRemove')]
    0002  GETTABUP  R1 = self[K2('m_arrModel')]
    0003  GETUPVAL  R2 = _ENV
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETUPVAL  R0 = _ENV
    0006  SELF      R1 = R0[K3('_OnViewLoaded')] (self)
    0007  CALL      R0 = call(R0, 0 args, 1 rets)
    0008  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 51-63 np=1 va=0 ms=7 code=29 consts=7 upvals=5 protos=0
    ;   K[0]='GetLuaTable'
    ;   K[1]='BeforeOpenCheck'
    ;   K[2]='AddressableLoader'
    ;   K[3]='Destroy'
    ;   K[4]='Init'
    ;   K[5]='m_mapView'
    ;   K[6]='_OnViewLoaded'
    ;   upvals: currentModel, mapModelId, _ENV, failCallback, self
    ;   locals: go(0-29), simpleStartView(2-29)
    0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  SELF      R3 = R1[K1('BeforeOpenCheck')] (self)
    0003  GETUPVAL  R4 = currentModel
    0004  GETUPVAL  R5 = currentModel
    0005  GETTABUP  R5 = mapModelId[R5]
    0006  CALL      R2 = call(R2, 1 args, 3 rets)
    0007  TEST      if not R2 then   -> -131062
    0008  JMP       (jump)   -> 16
    0009  GETTABUP  R2 = _ENV[K2('AddressableLoader')]
    0010  GETTABLE  R2 = R2[K3('Destroy')]
    0011  MOVE      R3 = R0
    0012  CALL      R2 = call(R2, 0 args, 1 rets)
    0013  GETUPVAL  R2 = currentModel
    0014  CALL      R2 = call(R2, 0 args, 0 rets)
    0015  RETURN    return R0..R-1
    0016  SELF      R3 = R1[K4('Init')] (self)
    0017  GETUPVAL  R4 = currentModel
    0018  GETUPVAL  R5 = currentModel
    0019  GETUPVAL  R6 = currentModel
    0020  GETTABUP  R6 = mapModelId[R6]
    0021  CALL      R2 = call(R2, 0 args, 4 rets)
    0022  GETTABUP  R2 = self[K5('m_mapView')]
    0023  GETUPVAL  R3 = currentModel
    0024  SETTABLE  R2[R3] = R1
    0025  GETUPVAL  R2 = currentModel
    0026  SELF      R3 = R2[K6('_OnViewLoaded')] (self)
    0027  CALL      R2 = call(R2, 0 args, 1 rets)
    0028  RETURN    return R0..R-1
; ---------- proto3 [_OnViewLoaded] ----------
  ; fn ?  line 68-73 np=1 va=0 ms=3 code=9 consts=4 upvals=0 protos=0
  ;   K[0]='m_toLoadCount'
  ;   K[1]=1
  ;   K[2]=0
  ;   K[3]='_OnAllViewLoaded'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_toLoadCount')]
  0001  SUB       R1 = K1(1) sub R1
  0002  SETTABLE  R0[K0('m_toLoadCount')] = R1
  0003  GETTABLE  R1 = R0[K0('m_toLoadCount')]
  0004  LE        if R0 le K2(0)   -> -130296
  0005  JMP       (jump)   -> 8
  0006  SELF      R2 = R0[K3('_OnAllViewLoaded')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto4 [_OnAllViewLoaded] ----------
  ; fn ?  line 75-86 np=1 va=0 ms=8 code=30 consts=13 upvals=1 protos=0
  ;   K[0]='LayoutRebuilder'
  ;   K[1]='ForceRebuildLayoutImmediate'
  ;   K[2]='m_loadRoot'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='gameObject'
  ;   K[6]='m_toShowCount'
  ;   K[7]='m_arrModel'
  ;   K[8]=0
  ;   K[9]='_OnAllViewShowFinished'
  ;   K[10]='ipairs'
  ;   K[11]='m_mapView'
  ;   K[12]='OnAllViewLoaded'
  ;   upvals: _ENV
  ;   locals: self(0-30), (for generator)(22-29), (for state)(22-29), (for control)(22-29), _(23-27), model(23-27)
  0000  GETTABUP  R1 = _ENV[K0('LayoutRebuilder')]
  0001  GETTABLE  R1 = R1[K1('ForceRebuildLayoutImmediate')]
  0002  GETTABLE  R2 = R0[K2('m_loadRoot')]
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K3('UIUtil')]
  0005  GETTABLE  R1 = R1[K4('SetActive')]
  0006  GETTABLE  R2 = R0[K2('m_loadRoot')]
  0007  GETTABLE  R2 = R2[K5('gameObject')]
  0008  LOADBOOL  R3 = true
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  GETTABLE  R1 = R0[K7('m_arrModel')]
  0011  LEN       R1 = len R0
  0012  SETTABLE  R0[K6('m_toShowCount')] = R1
  0013  GETTABLE  R1 = R0[K6('m_toShowCount')]
  0014  LE        if R0 le K8(0)   -> -130280
  0015  JMP       (jump)   -> 19
  0016  SELF      R2 = R0[K9('_OnAllViewShowFinished')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
  0019  GETTABUP  R1 = _ENV[K10('ipairs')]
  0020  GETTABLE  R2 = R0[K7('m_arrModel')]
  0021  CALL      R1 = call(R1, 3 args, 1 rets)
  0022  JMP       (jump)   -> 27
  0023  GETTABLE  R6 = R0[K11('m_mapView')]
  0024  GETTABLE  R6 = R6[R5]
  0025  SELF      R7 = R6[K12('OnAllViewLoaded')] (self)
  0026  CALL      R6 = call(R6, 0 args, 1 rets)
  0027  TFORCALL  tforcall R1
  0028  TFORLOOP  tforloop R3(sBx=-6)   -> 23
  0029  RETURN    return R0..R-1
; ---------- proto5 [OnViewShowFinished] ----------
  ; fn ?  line 88-93 np=1 va=0 ms=3 code=9 consts=4 upvals=0 protos=0
  ;   K[0]='m_toShowCount'
  ;   K[1]=1
  ;   K[2]=0
  ;   K[3]='_OnAllViewShowFinished'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_toShowCount')]
  0001  SUB       R1 = K1(1) sub R1
  0002  SETTABLE  R0[K0('m_toShowCount')] = R1
  0003  GETTABLE  R1 = R0[K0('m_toShowCount')]
  0004  LE        if R0 le K2(0)   -> -130296
  0005  JMP       (jump)   -> 8
  0006  SELF      R2 = R0[K3('_OnAllViewShowFinished')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto6 [_OnAllViewShowFinished] ----------
  ; fn ?  line 95-104 np=1 va=0 ms=8 code=20 consts=7 upvals=1 protos=0
  ;   K[0]='m_toHideCount'
  ;   K[1]='m_arrModel'
  ;   K[2]=0
  ;   K[3]='_OnAllViewHideFinished'
  ;   K[4]='ipairs'
  ;   K[5]='m_mapView'
  ;   K[6]='OnAllViewShowFinished'
  ;   upvals: _ENV
  ;   locals: self(0-20), (for generator)(12-19), (for state)(12-19), (for control)(12-19), _(13-17), model(13-17)
  0000  GETTABLE  R1 = R0[K1('m_arrModel')]
  0001  LEN       R1 = len R0
  0002  SETTABLE  R0[K0('m_toHideCount')] = R1
  0003  GETTABLE  R1 = R0[K0('m_toHideCount')]
  0004  LE        if R0 le K2(0)   -> -130296
  0005  JMP       (jump)   -> 9
  0006  SELF      R2 = R0[K3('_OnAllViewHideFinished')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
  0009  GETTABUP  R1 = _ENV[K4('ipairs')]
  0010  GETTABLE  R2 = R0[K1('m_arrModel')]
  0011  CALL      R1 = call(R1, 3 args, 1 rets)
  0012  JMP       (jump)   -> 17
  0013  GETTABLE  R6 = R0[K5('m_mapView')]
  0014  GETTABLE  R6 = R6[R5]
  0015  SELF      R7 = R6[K6('OnAllViewShowFinished')] (self)
  0016  CALL      R6 = call(R6, 0 args, 1 rets)
  0017  TFORCALL  tforcall R1
  0018  TFORLOOP  tforloop R3(sBx=-6)   -> 13
  0019  RETURN    return R0..R-1
; ---------- proto7 [OnViewHideFinished] ----------
  ; fn ?  line 106-115 np=1 va=0 ms=3 code=13 consts=5 upvals=0 protos=0
  ;   K[0]='m_toHideCount'
  ;   K[1]=nil
  ;   K[2]=1
  ;   K[3]=0
  ;   K[4]='_OnAllViewHideFinished'
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_toHideCount')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_toHideCount')]
  0005  SUB       R1 = K2(1) sub R1
  0006  SETTABLE  R0[K0('m_toHideCount')] = R1
  0007  GETTABLE  R1 = R0[K0('m_toHideCount')]
  0008  LE        if R0 le K3(0)   -> -130291
  0009  JMP       (jump)   -> 12
  0010  SELF      R2 = R0[K4('_OnAllViewHideFinished')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto8 [_OnAllViewHideFinished] ----------
  ; fn ?  line 117-127 np=1 va=0 ms=8 code=22 consts=8 upvals=1 protos=0
  ;   K[0]='m_toCloseCount'
  ;   K[1]='m_arrModel'
  ;   K[2]='Close'
  ;   K[3]=0
  ;   K[4]='_OnAllViewCloseFinished'
  ;   K[5]='ipairs'
  ;   K[6]='m_mapView'
  ;   K[7]='OnAllViewHideFinished'
  ;   upvals: _ENV
  ;   locals: self(0-22), (for generator)(14-21), (for state)(14-21), (for control)(14-21), _(15-19), model(15-19)
  0000  GETTABLE  R1 = R0[K1('m_arrModel')]
  0001  LEN       R1 = len R0
  0002  SETTABLE  R0[K0('m_toCloseCount')] = R1
  0003  SELF      R2 = R0[K2('Close')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  GETTABLE  R1 = R0[K0('m_toCloseCount')]
  0006  LE        if R0 le K3(0)   -> -130293
  0007  JMP       (jump)   -> 11
  0008  SELF      R2 = R0[K4('_OnAllViewCloseFinished')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
  0011  GETTABUP  R1 = _ENV[K5('ipairs')]
  0012  GETTABLE  R2 = R0[K1('m_arrModel')]
  0013  CALL      R1 = call(R1, 3 args, 1 rets)
  0014  JMP       (jump)   -> 19
  0015  GETTABLE  R6 = R0[K6('m_mapView')]
  0016  GETTABLE  R6 = R6[R5]
  0017  SELF      R7 = R6[K7('OnAllViewHideFinished')] (self)
  0018  CALL      R6 = call(R6, 0 args, 1 rets)
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-6)   -> 15
  0021  RETURN    return R0..R-1
; ---------- proto9 [OnViewCloseFinished] ----------
  ; fn ?  line 129-138 np=1 va=0 ms=3 code=13 consts=5 upvals=0 protos=0
  ;   K[0]='m_toCloseCount'
  ;   K[1]=nil
  ;   K[2]=1
  ;   K[3]=0
  ;   K[4]='_OnAllViewCloseFinished'
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_toCloseCount')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_toCloseCount')]
  0005  SUB       R1 = K2(1) sub R1
  0006  SETTABLE  R0[K0('m_toCloseCount')] = R1
  0007  GETTABLE  R1 = R0[K0('m_toCloseCount')]
  0008  LE        if R0 le K3(0)   -> -130291
  0009  JMP       (jump)   -> 12
  0010  SELF      R2 = R0[K4('_OnAllViewCloseFinished')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto10 [_OnAllViewCloseFinished] ----------
  ; fn ?  line 140-143 np=1 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_bAllViewCloseFinished'
  ;   K[1]=true
  ;   K[2]='OnCloseFinish'
  ;   locals: self(0-5)
  0000  SETTABLE  R0[K0('m_bAllViewCloseFinished')] = K1(true)
  0001  SELF      R2 = R0[K2('OnCloseFinish')] (self)
  0002  LOADBOOL  R3 = true
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto11 [OnSkip] ----------
  ; fn ?  line 145-147 np=2 va=0 ms=5 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='ListRemove'
  ;   K[2]='m_arrModel'
  ;   upvals: _ENV
  ;   locals: self(0-6), model(0-6)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('ListRemove')]
  0002  GETTABLE  R3 = R0[K2('m_arrModel')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto12 [OnCloseFinish] ----------
  ; fn ?  line 149-157 np=2 va=0 ms=4 code=15 consts=5 upvals=1 protos=0
  ;   K[0]='m_bCloseFinish'
  ;   K[1]=true
  ;   K[2]='m_bAllViewCloseFinished'
  ;   K[3]='BaseWindow'
  ;   K[4]='OnCloseFinish'
  ;   upvals: _ENV
  ;   locals: self(0-15), bFromAllViewCloseFinished(0-15)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  SETTABLE  R0[K0('m_bCloseFinish')] = K1(true)
  0003  GETTABLE  R2 = R0[K2('m_bAllViewCloseFinished')]
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  GETTABLE  R2 = R0[K0('m_bCloseFinish')]
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABUP  R2 = _ENV[K3('BaseWindow')]
  0011  GETTABLE  R2 = R2[K4('OnCloseFinish')]
  0012  MOVE      R3 = R0
  0013  CALL      R2 = call(R2, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
