//
// sub_100553F78 from 0x100553f78 to 0x100553fa8 (48 bytes)
//
// 4 xrefs:
// > sub_1006135F8 @ 0x10061395c
// > sub_1006141FC @ 0x100614574
// > sub_1006145BC @ 0x100614674
// > sub_100614B8C @ 0x100614c6c
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:07:55 +0000
//
__int64 __fastcall sub_100553F78(__int64 a1, int a2)
{
int v3; // w9
v3 = *(_DWORD *)(a1 + 32) + a2;
if ( a2 && v3 > *(_DWORD *)(a1 + 28) )
return 4294967165LL;
*(_DWORD *)(a1 + 32) = v3;
return 0;
}