//
// sub_1004485EC from 0x1004485ec to 0x100448674 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x10084d360
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1004485EC(__int64 *a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
__int64 v8; // x8
int v9; // w8
int v10; // w8
v8 = *a1;
if ( a2 == 2 )
{
v10 = *(_DWORD *)(v8 + 740);
*a3 = v10;
if ( a4 )
sub_1004C7414(a4, 0x20u, (int)"%d", a4, a5, a6, a7, a8, v10);
return 0;
}
if ( a2 == 3 )
{
v9 = *(_DWORD *)(v8 + 752);
*a3 = v9;
if ( a4 )
sub_1004C6BD0(a4, off_10084D280[v9 + 1], 32);
return 0;
}
return 31;
}