//
// sub_10048DFC8 from 0x10048dfc8 to 0x10048e03c (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008517c0
//
// 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_10048DFC8(__int64 a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8)
{
_DWORD *v8; // x8
int v9; // w8
v8 = (_DWORD *)(*(_QWORD *)a1 + 33996LL);
if ( a2 == 1 )
{
v9 = *(_DWORD *)(*(_QWORD *)a1 + 34000LL);
*a3 = v9;
if ( a4 )
goto LABEL_6;
return 0;
}
if ( !a2 )
{
*a3 = *v8;
if ( a4 )
{
v9 = *v8;
LABEL_6:
sub_1004C7414(a4, 0x20u, (int)"%d", a4, a5, a6, a7, a8, v9);
}
return 0;
}
return 31;
}