//
// 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!
//
// 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
//
int __fastcall sub_913D0(int result, int a2)
{
do
result += a2;
while ( result - a2 < 0 );
do
result -= a2;
while ( result >= a2 );
return result;
}