//
// __gnu_uldivmod_helper from 0x8e1704 to 0x8e1740 (60 bytes)
//
// 2 xrefs:
// > __aeabi_uldivmod @ 0x8e1544
// > ??> @ 0x6bf6c
//
// 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
//
unsigned __int64 __fastcall _gnu_uldivmod_helper(unsigned __int64 a1, unsigned __int64 a2, _QWORD *a3)
{
unsigned __int64 result; // r0
result = a1 / a2;
*a3 = a1 - result * a2;
return result;
}