//
// sub_18009C7D0 from 0x18009c7d0 to 0x18009c7fc (44 bytes)
//
// 1 xrefs:
// > sub_180096560 @ 0x180096bca
//
// 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_18009C7D0(__int64 a1)
{
__int64 v1; // rax
if ( *(_WORD *)(a1 + 424) != 1 || (v1 = *(_QWORD *)(*(_QWORD *)(a1 + 120) + 16LL), (*(_BYTE *)(v1 + 124) & 4) != 0) )
{
*(_QWORD *)(a1 + 112) = 0;
return 0;
}
else
{
*(_QWORD *)(a1 + 112) = *(_QWORD *)(v1 + 88);
return 0;
}
}