//
// sub_1002634B0 from 0x1002634b0 to 0x1002634e4 (52 bytes)
//
// 1 xrefs:
// > ??> @ 0x100911dd8
//
// 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:01:40 +0000
//
__int64 __fastcall sub_1002634B0(__int64 result)
{
int v1; // w9
v1 = *(_DWORD *)(result + 56);
if ( (v1 & 0x80000000) == 0 && v1 < *(_DWORD *)(result + 16) )
{
*(_DWORD *)(result + 56) = v1 + 1;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(result - 696) + 1344LL))(result - 696);
}
return result;
}