//
// sub_1002D4C40 from 0x1002d4c40 to 0x1002d4c7e (62 bytes)
//
// 1 xrefs:
// > ??> @ 0x100908970
//
// 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_1002D4C40(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v3; // rcx
result = *(unsigned int *)(a1 + 304);
if ( (_DWORD)result == *(_DWORD *)(a2 + 56) )
{
v3 = a1 + 544;
if ( *(_BYTE *)(a1 + 320) )
v3 = a1 + 632;
return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v3 - 320) + 888LL))(*(_QWORD *)(v3 - 320));
}
return result;
}