//
// sub_D0D73C from 0xd0d73c to 0xd0d7cc (144 bytes)
//
// 2 xrefs:
// > sub_D0E134 @ 0xd0e170
// > sub_D0E35C @ 0xd0e518
//
// 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_D0D73C(__int64 a1, __int64 a2)
{
if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 200) + 48LL))(*(_QWORD *)(a1 + 200)) )
return (unsigned int)*(_QWORD *)(a1 + 16) - (unsigned int)*(_QWORD *)(a1 + 24);
else
return (unsigned int)*(_QWORD *)(a1 + 208)
+ (*(unsigned int (__fastcall **)(_QWORD, __int64, _QWORD, _QWORD, _QWORD))(**(_QWORD **)(a1 + 200) + 56LL))(
*(_QWORD *)(a1 + 200),
a2,
*(_QWORD *)(a1 + 208),
*(_QWORD *)(a1 + 224),
*(_QWORD *)(a1 + 16) - *(_QWORD *)(a1 + 8))
- (unsigned int)*(_QWORD *)(a1 + 232);
}