//
// sub_D77A8 from 0xd77a8 to 0xd77d8 (48 bytes)
//
// 1 xrefs:
// > sub_7BC78 @ 0x7bd68
//
// 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_D77A8(__int64 a1)
{
__int64 (__fastcall *v1)(__int64); // x8
__int64 result; // x0
if ( !*(_BYTE *)(a1 + 786) )
return 0;
v1 = *(__int64 (__fastcall **)(__int64))(a1 + 872);
if ( !v1 )
return 0;
result = v1(a1 + 8);
if ( !(_DWORD)result )
return 0;
return result;
}