//
// sub_99A1A8 from 0x99a1a8 to 0x99a1bc (20 bytes)
//
// 5 xrefs:
// > sub_998F70 @ 0x999198
// > sub_998F70 @ 0x99943c
// > sub_998F70 @ 0x9995e0
// > sub_999D24 @ 0x999e0a
// > sub_999D24 @ 0x99a116
//
// 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:06:44 +0000
//
__int64 *__fastcall sub_99A1A8(__int64 *result, int a2)
{
__int64 v2; // r2
v2 = *result;
if ( (HIDWORD(v2) - (int)v2) >> 2 > a2 )
*((_DWORD *)result + 1) = v2 + 4 * a2;
return result;
}