//
// sub_100449CD0 from 0x100449cd0 to 0x100449d14 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x10084d490
//
// 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_100449CD0(__int64 *a1, int a2, _DWORD *a3, _BYTE *a4)
{
__int64 v4; // x8
_DWORD *v5; // x8
__int64 result; // x0
if ( !a3 )
return 31;
v4 = *a1;
if ( a2 != 4 )
{
if ( a2 == 1 )
{
v5 = (_DWORD *)(v4 + 668);
goto LABEL_7;
}
return 31;
}
v5 = (_DWORD *)(v4 + 680);
LABEL_7:
*a3 = *v5;
result = 0;
if ( a4 )
*a4 = 0;
return result;
}