//
// sub_10045F068 from 0x10045f068 to 0x10045f098 (48 bytes)
//
// 3 xrefs:
// > sub_10043DDA0 @ 0x10043ddfc
// > sub_1004433EC @ 0x100443694
// > sub_1004433EC @ 0x100443730
//
// 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_10045F068(__int64 a1, _QWORD *a2)
{
__int64 v2; // x8
if ( !a2 )
return 31;
v2 = *(_QWORD *)(a1 + 472);
if ( v2 )
{
*a2 = *(_QWORD *)(v2 + 48);
return 0;
}
else
{
*a2 = 0;
return 30;
}
}