//
// SimplePlayer::asyncLoadIcon from 0x100359be0 to 0x100359ce4 (260 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:53 +0000
//
void __fastcall SimplePlayer::asyncLoadIcon(__int64 a1, __int64 a2, __int64 a3)
{
unsigned int v3; // ebx
double v5; // xmm0_8
__int64 v6; // rax
__int64 v7; // rdx
__int64 v8; // rdi
__int64 v9; // rdi
__int64 v10; // rdi
__int64 v11; // rdi
__int64 v12; // rdi
double v13; // xmm0_8
__int64 v14; // rax
v3 = a3;
*(_QWORD *)&v5 = GameManager::sharedState(a1, a2, a3).u64[0];
if ( (unsigned __int8)GameManager::isIconLoaded(v6, (unsigned int)a2, v3, v5) )
{
SimplePlayer::updatePlayerFrame(a1, a2, v3);
}
else
{
*(_BYTE *)(a1 + 672) = 1;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 600) + 344LL))(*(_QWORD *)(a1 + 600), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 608) + 344LL))(*(_QWORD *)(a1 + 608), 0);
v8 = *(_QWORD *)(a1 + 616);
if ( v8 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 344LL))(v8, 0);
v9 = *(_QWORD *)(a1 + 624);
if ( v9 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 344LL))(v9, 0);
v10 = *(_QWORD *)(a1 + 632);
if ( v10 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 344LL))(v10, 0);
v11 = *(_QWORD *)(a1 + 640);
if ( v11 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 344LL))(v11, 0);
v12 = *(_QWORD *)(a1 + 648);
if ( v12 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v12 + 344LL))(v12, 0);
*(_QWORD *)&v13 = GameManager::sharedState(v12, 0, v7).u64[0];
GameManager::loadIconAsync(v14, (unsigned int)a2, v3, *(unsigned int *)(a1 + 664), a1, v13);
}
}