# LineRaceActivity_View_LineRaceActivityTipCell_1980.luac
; fn @LineRaceActivityTipCell.lua  line 0-0 np=0 va=1 ms=2 code=9 consts=3 upvals=1 protos=1
;   K[0]='LineRaceActivityTipCell'
;   K[1]='__index'
;   K[2]='Init'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('LineRaceActivityTipCell')] = R0
0002  GETTABUP  R0 = _ENV[K0('LineRaceActivityTipCell')]
0003  GETTABUP  R1 = _ENV[K0('LineRaceActivityTipCell')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('LineRaceActivityTipCell')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-16 np=3 va=0 ms=10 code=31 consts=12 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetMyRank'
  ;   K[2]=1
  ;   K[3]='lineRace_hint_1'
  ;   K[4]='lineRace_hint_2'
  ;   K[5]='m_descText'
  ;   K[6]='text'
  ;   K[7]='GM'
  ;   K[8]='GameTextModel'
  ;   K[9]='GetText'
  ;   K[10]='m_guestsText'
  ;   K[11]='UpdateLeftGuestsCount'
  ;   upvals: _ENV
  ;   locals: self(0-31), model(0-31), descIndex(0-31), rank(7-31), descText(17-30)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  SETTABLE  R0[K0('m_model')] = R1
  0004  GETTABLE  R3 = R0[K0('m_model')]
  0005  SELF      R4 = R3[K1('GetMyRank')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 30
  0009  TEST      if not R3 then   -> -131061
  0010  JMP       (jump)   -> 30
  0011  EQ        if R0 eq K2(1)   -> -129777
  0012  JMP       (jump)   -> 16
  0013  LOADK     R4 = K3 'lineRace_hint_1'
  0014  TEST      if not R4 then   -> -131055
  0015  JMP       (jump)   -> 17
  0016  LOADK     R4 = K4 'lineRace_hint_2'
  0017  GETTABLE  R5 = R0[K5('m_descText')]
  0018  GETTABUP  R6 = _ENV[K7('GM')]
  0019  GETTABLE  R6 = R6[K8('GameTextModel')]
  0020  SELF      R7 = R6[K9('GetText')] (self)
  0021  MOVE      R8 = R0
  0022  MOVE      R9 = R0
  0023  CALL      R6 = call(R6, 1 args, 3 rets)
  0024  SETTABLE  R5[K6('text')] = R6
  0025  GETTABLE  R5 = R0[K10('m_guestsText')]
  0026  GETTABLE  R6 = R0[K0('m_model')]
  0027  SELF      R7 = R6[K11('UpdateLeftGuestsCount')] (self)
  0028  CALL      R6 = call(R6, 1 args, 1 rets)
  0029  SETTABLE  R5[K6('text')] = R6
  0030  RETURN    return R0..R-1
