//
// sub_100507D90 from 0x100507d90 to 0x100507dbd (45 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095a4d0
//
// 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_100507D90(__int64 a1, int a2)
{
__int64 result; // rax
result = *(_QWORD *)(a1 + 16);
if ( *(_DWORD *)(result + 328) - *(_DWORD *)(result + 332) == a2 )
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 88) + 328LL))(*(_QWORD *)(a1 + 88), 0);
return result;
}