//
// sub_1002A9070 from 0x1002a9070 to 0x1002a90d0 (96 bytes)
//
// 1 xrefs:
// > sub_1002A903C @ 0x1002a9050
//
// 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:02:16 +0000
//
__int64 __fastcall sub_1002A9070(__int64 result, __int64 a2)
{
__int64 v2; // x22
__int64 v4; // x20
v2 = *(_QWORD *)(result + 16);
if ( v2 != a2 )
{
v4 = result;
do
{
*(_QWORD *)(v4 + 16) = v2 - 128;
sub_1000184EC(v2 - 48);
sub_1000184EC(v2 - 88);
result = sub_1000184EC(v2 - 128);
v2 = *(_QWORD *)(v4 + 16);
}
while ( v2 != a2 );
}
return result;
}