//
// sub_180097FE0 from 0x180097fe0 to 0x18009801c (60 bytes)
//
// 1 xrefs:
// > sub_1800E14F0 @ 0x1800e1b44
//
// 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_180097FE0(__int64 a1, _DWORD *a2)
{
__int64 v2; // r8
if ( !a1 || !a2 )
return 31;
v2 = *((_QWORD *)off_1801AED20 + *(int *)(a1 + 48) + 44);
if ( !*(_BYTE *)(v2 + 8) )
return 67;
*a2 = *(_DWORD *)(v2 + 1744);
return 0;
}