//
// sub_100242F20 from 0x100242f20 to 0x100242f58 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x100906548
//
// 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:25 +0000
//
_QWORD *__fastcall sub_100242F20(_QWORD *result)
{
unsigned __int64 v1; // x3
_QWORD *v2; // x8
v1 = result[13];
if ( result[14] & 1LL | v1 )
{
v2 = (_QWORD *)(result[11] + ((__int64)result[14] >> 1));
if ( (result[14] & 1LL) != 0 )
v1 = *(_QWORD *)(*v2 + (unsigned int)v1);
return (_QWORD *)((__int64 (__fastcall *)(_QWORD *, _QWORD, _QWORD))v1)(v2, result[8], result[16]);
}
return result;
}