//
// __aeabi_uldivmod from 0xaf651c to 0xaf6558 (60 bytes)
//
// 51 xrefs:
// > fmt::internal::FormatDecimal
@ 0x81bc32
// > fmt::internal::FormatDecimal @ 0x81bc44
// > fmt::internal::FormatDecimal @ 0x81c40c
// > fmt::internal::FormatDecimal @ 0x81c41e
// > sub_834700 @ 0x834b00
// > sub_834700 @ 0x834b14
// > sub_83508C @ 0x8356c0
// > sub_83508C @ 0x8356d4
// > sub_835D40 @ 0x836148
// > sub_835D40 @ 0x83615c
// > sub_8366D8 @ 0x836ad0
// > sub_8366D8 @ 0x836ae4
// > lwsl_emit_stderr @ 0x8564f4
// > lwsl_emit_stderr @ 0x856504
// > lwsl_emit_stderr @ 0x856516
// > _TIFFMultiply64 @ 0x8aff50
// > sub_8C2BA0 @ 0x8c2eac
// > sub_8C7090 @ 0x8c71a4
// > sub_8C7090 @ 0x8c724c
// > _TIFFDefaultStripSize @ 0x9004e8
// > TIFFScanlineSize64 @ 0x9007c0
// > sub_922700 @ 0x922756
// > sub_922AF8 @ 0x922b9a
// > sub_931D48 @ 0x9321f8
// > sub_931D48 @ 0x93258a
// > sub_9467D8 @ 0x94684a
// > sub_9467D8 @ 0x94688a
// > sub_9467D8 @ 0x9468aa
// > sub_9467D8 @ 0x9468be
// > WebPSafeMalloc @ 0x946c68
// > WebPSafeCalloc @ 0x946cb0
// > std::__ndk1::this_thread::sleep_for @ 0x97e9c6
// > sub_996B70 @ 0x9973de
// > sub_997EA8 @ 0x997eb8
// > sub_998F70 @ 0x9997cc
// > sub_999D24 @ 0x999f8e
// > sub_9E2500 @ 0x9e2600
// > sub_9E2500 @ 0x9e2620
// > sub_9E2500 @ 0x9e2808
// > sub_9E2500 @ 0x9e2828
// > BN_mod_word @ 0x9ed3cc
// > bn_div_words @ 0xa7f174
// > BN_div @ 0xa812a8
// > SCT_print @ 0xae4df8
// > SCT_print @ 0xae4e10
// > SCT_print @ 0xae4e24
// > SCT_print @ 0xae4e58
// > EVP_PBE_scrypt @ 0xae83f0
// > EVP_PBE_scrypt @ 0xae8454
// > EVP_PBE_scrypt @ 0xae8724
// > ??> @ 0x672ec
//
// 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
//
int __fastcall _aeabi_uldivmod(__int64 a1, __int64 a2)
{
if ( a2 )
return _gnu_uldivmod_helper(a1);
if ( a1 )
LODWORD(a1) = -1;
return _aeabi_idiv0(a1);
}