//
// __aeabi_uldivmod from 0xdbf50 to 0xdbf8c (60 bytes)
//
// 4 xrefs:
// > j___aeabi_uldivmod @ 0xe1358
// > ??> @ 0x29bc
// > j___aeabi_uldivmod @ 0xe1358
// > ??> @ 0xe6a40
//
// 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
//
int __fastcall _aeabi_uldivmod(__int64 a1, __int64 a2)
{
if ( a2 )
return j___gnu_uldivmod_helper(a1);
if ( a1 )
a1 = -1;
return j___aeabi_idiv0_0(a1, HIDWORD(a1));
}