//
// __gnu_uldivmod_helper from 0xaf6704 to 0xaf6740 (60 bytes)
//
// 2 xrefs:
// > __aeabi_uldivmod @ 0xaf6544
// > ??> @ 0x859ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:11:03 +0000
//
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;
}