.text:00864162 push 4 ; jumptable 00863E58 case 4
.text:00864164 lea eax, [ebp+var_54]
.text:00864167 push eax
.text:00864168 mov ecx, [ebp+arg_0]
.text:0086416B call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:00864171 push 4
.text:00864173 lea ecx, [ebp+var_58]
.text:00864176 push ecx
.text:00864177 mov ecx, [ebp+arg_0]
.text:0086417A call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:00864180 cmp [ebp+var_54], 0
.text:00864184 jz loc_86435C
.text:0086418A cmp [ebp+var_58], 10h
.text:0086418E jnb loc_864355
.text:00864194 mov edx, dword_A86D18
.text:0086419A mov eax, [edx+4D4Ch]
.text:008641A0 mov [ebp+var_60], eax
.text:008641A3 push 1
.text:008641A5 lea ecx, [ebp+var_65]
.text:008641A8 push ecx
.text:008641A9 mov ecx, [ebp+arg_0]
.text:008641AC call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:008641B2 mov edx, dword_A86D18
.text:008641B8 mov [ebp+var_834], edx
.text:008641BE cmp [ebp+var_60], 0
.text:008641C2 jl short loc_8641CA
.text:008641C4 cmp [ebp+var_60], 10h
.text:008641C8 jl short loc_8641F4
.text:008641CA
.text:008641CA loc_8641CA: ; CODE XREF: sub_863D80+442j
.text:008641CA push 0
.text:008641CC push offset aStruct__netudp ; "struct __NetUdpInfo *__thiscall CGameCo"...
.text:008641D1 push 4C4h
.text:008641D6 push 0
.text:008641D8 call ds:?SetEnv@i3Error@@YAXPBDH0W4I3LOG_TYPE@@@Z ; i3Error::SetEnv(char const *,int,char const *,I3LOG_TYPE)
.text:008641DE add esp, 10h
.text:008641E1 push offset aIdx0Idx16 ; "((idx) >= 0) && ((idx) < (16))"
.text:008641E6 push offset aAssertedS ; "Asserted : %s"
.text:008641EB call ds:?Log@i3Error@@YAXPBDZZ ; i3Error::Log(char const *,...)
.text:008641F1 add esp, 8
.text:008641F4
.text:008641F4 loc_8641F4: ; CODE XREF: sub_863D80+448j
.text:008641F4 push 0Dh
.text:008641F6 mov eax, [ebp+var_60]
.text:008641F9 imul eax, 0Dh
.text:008641FC mov ecx, [ebp+var_834]
.text:00864202 lea edx, [ecx+eax+4596Ch]
.text:00864209 push edx
.text:0086420A mov ecx, [ebp+arg_0]
.text:0086420D call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:00864213 mov eax, [ebp+var_58]
.text:00864216 mov [ebp+var_83C], eax
.text:0086421C mov ecx, dword_A86D18
.text:00864222 mov [ebp+var_838], ecx
.text:00864228 cmp [ebp+var_83C], 0
.text:0086422F jl short loc_86423A
.text:00864231 cmp [ebp+var_83C], 10h
.text:00864238 jl short loc_864264
.text:0086423A
.text:0086423A loc_86423A: ; CODE XREF: sub_863D80+4AFj
.text:0086423A push 0
.text:0086423C push offset aStruct__netudp ; "struct __NetUdpInfo *__thiscall CGameCo"...
.text:00864241 push 4C4h
.text:00864246 push 0
.text:00864248 call ds:?SetEnv@i3Error@@YAXPBDH0W4I3LOG_TYPE@@@Z ; i3Error::SetEnv(char const *,int,char const *,I3LOG_TYPE)
.text:0086424E add esp, 10h
.text:00864251 push offset aIdx0Idx16 ; "((idx) >= 0) && ((idx) < (16))"
.text:00864256 push offset aAssertedS ; "Asserted : %s"
.text:0086425B call ds:?Log@i3Error@@YAXPBDZZ ; i3Error::Log(char const *,...)
.text:00864261 add esp, 8
.text:00864264
.text:00864264 loc_864264: ; CODE XREF: sub_863D80+4B8j
.text:00864264 push 0Dh
.text:00864266 mov edx, [ebp+var_83C]
.text:0086426C imul edx, 0Dh
.text:0086426F mov eax, [ebp+var_838]
.text:00864275 lea ecx, [eax+edx+4596Ch]
.text:0086427C push ecx
.text:0086427D mov ecx, [ebp+arg_0]
.text:00864280 call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:00864286 push 4
.text:00864288 lea edx, [ebp+var_70]
.text:0086428B push edx
.text:0086428C mov ecx, [ebp+arg_0]
.text:0086428F call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:00864295 push 2
.text:00864297 lea eax, [ebp+var_64]
.text:0086429A push eax
.text:0086429B mov ecx, [ebp+arg_0]
.text:0086429E call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:008642A4 push 4
.text:008642A6 lea ecx, [ebp+var_74]
.text:008642A9 push ecx
.text:008642AA mov ecx, [ebp+arg_0]
.text:008642AD call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:008642B3 push 4
.text:008642B5 lea edx, [ebp+var_6C]
.text:008642B8 push edx
.text:008642B9 mov ecx, [ebp+arg_0]
.text:008642BC call ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
.text:008642C2 movzx eax, [ebp+var_65]
.text:008642C6 mov [ebp+var_844], eax
.text:008642CC mov ecx, dword_A86D18
.text:008642D2 mov [ebp+var_840], ecx
.text:008642D8 mov edx, [ebp+var_840]
.text:008642DE mov eax, [ebp+var_844]
.text:008642E4 mov [edx+338h], eax
.text:008642EA mov cl, [ebp+var_65]
.text:008642ED mov [ebp+var_BD4], cl
.text:008642F3 cmp [ebp+var_BD4], 2
.text:008642FA jb short loc_864340
.text:008642FC cmp [ebp+var_BD4], 3
.text:00864303 jbe short loc_864307
.text:00864305 jmp short loc_864340
.text:00864307 ; ---------------------------------------------------------------------------
.text:00864307
.text:00864307 loc_864307: ; CODE XREF: sub_863D80+583j
.text:00864307 mov edx, dword_A86D18
.text:0086430D mov eax, [edx+4D50h]
.text:00864313 mov [ebp+var_848], eax
.text:00864319 mov ecx, [ebp+var_58]
.text:0086431C cmp ecx, [ebp+var_848]
.text:00864322 jnz short loc_864340
.text:00864324 mov edx, [ebp+var_6C]
.text:00864327 push edx
.text:00864328 mov eax, [ebp+var_74]
.text:0086432B push eax
.text:0086432C movzx ecx, [ebp+var_64]
.text:00864330 push ecx
.text:00864331 mov edx, [ebp+var_70]
.text:00864334 push edx
.text:00864335 mov ecx, dword_A86D18
.text:0086433B call sub_46CFB0
.text:00864340
.text:00864340 loc_864340: ; CODE XREF: sub_863D80+57Aj
.text:00864340 ; sub_863D80+585j ...
.text:00864340 push 1
.text:00864342 mov ecx, dword_A86CD4
.text:00864348 call sub_4C0FE0
.text:0086434D mov eax, [ebp+var_58]
.text:00864350 mov [ebp+var_5C], eax
.text:00864353 jmp short loc_86435A
.text:00864355 ; ---------------------------------------------------------------------------
.text:00864355