//
// sub_913D0 from 0x913d0 to 0x913e0 (16 bytes)
//
// 10 xrefs:
// > sub_90AC4 @ 0x90bba
// > sub_90AC4 @ 0x90bc6
// > sub_90AC4 @ 0x90cde
// > sub_90AC4 @ 0x90cea
// > sub_90AC4 @ 0x90dce
// > sub_90AC4 @ 0x90dda
// > sub_90AC4 @ 0x91060
// > sub_90AC4 @ 0x9106c
// > sub_90AC4 @ 0x91392
// > sub_90AC4 @ 0x9139e
//
// 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 11:41:26 +0000
//
int __fastcall sub_913D0(int result, int a2)
{
do
result += a2;
while ( result - a2 < 0 );
do
result -= a2;
while ( result >= a2 );
return result;
}