//
// __gnu_ldivmod_helper from 0x8e16c8 to 0x8e1704 (60 bytes)
//
// 2 xrefs:
// > __aeabi_ldivmod @ 0x8e1508
// > ??> @ 0x6bf5c
//
// 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 _gnu_ldivmod_helper(__int64 a1, __int64 a2, _QWORD *a3)
{
__int64 result; // r0
result = a1 / a2;
*a3 = a1 - a2 * result;
return result;
}