//
// sub_10051DC7C from 0x10051dc7c to 0x10051dcdc (96 bytes)
//
// 1 xrefs:
// > sub_100537D24 @ 0x100538644
//
// 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_10051DC7C(__int64 a1)
{
if ( *(_DWORD *)(a1 + 72) == 8480 )
{
(*(void (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 200LL) + 120LL))(a1, 0, 0);
*(_DWORD *)(a1 + 72) = 8481;
}
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 200LL) + 128LL))(a1);
}