//
// GameManager::logLoadedIconInfo from 0x10036c310 to 0x10036c3f6 (230 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:29:00 +0000
//
void __fastcall GameManager::logLoadedIconInfo(__int64 a1)
{
int i; // r12d
__int64 v2; // rax
_QWORD *v3; // r15
_QWORD *v4; // r13
int v5; // eax
_DWORD *v6; // rax
__int64 v7; // rcx
int v8; // [rsp+0h] [rbp-2Ch]
v8 = *(_DWORD *)(*(_QWORD *)(a1 + 1232) + 32LL) + 7;
if ( v8 > 0 )
{
for ( i = 0; i != v8; ++i )
{
v2 = *(_QWORD *)(a1 + 1168);
v3 = (_QWORD *)(a1 + 1168);
v4 = (_QWORD *)(a1 + 1168);
LABEL_7:
if ( v2 )
{
do
{
v4 = (_QWORD *)v2;
v5 = *(_DWORD *)(v2 + 28);
if ( i < v5 )
{
v2 = *v4;
v3 = v4;
goto LABEL_7;
}
if ( i <= v5 )
goto LABEL_4;
v2 = v4[1];
}
while ( v2 );
v3 = v4 + 1;
}
v6 = operator new(0x28u);
v6[7] = i;
v6[8] = 0;
*(_OWORD *)v6 = 0;
*((_QWORD *)v6 + 2) = v4;
*v3 = v6;
v7 = **(_QWORD **)(a1 + 1160);
if ( v7 )
*(_QWORD *)(a1 + 1160) = v7;
sub_10001B680(*(__int64 **)(a1 + 1168), (__int64 *)v6);
++*(_QWORD *)(a1 + 1176);
LABEL_4:
;
}
}
}