//
// sub_1003F33F8 from 0x1003f33f8 to 0x1003f3438 (64 bytes)
//
// 1 xrefs:
// > sub_1002E765C @ 0x1002e7660
//
// 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:04:31 +0000
//
int *__fastcall sub_1003F33F8(int *result, __int64 a2, int a3)
{
__int64 v4; // x1
if ( *result )
{
v4 = 0;
while ( *(_QWORD *)(*((_QWORD *)result + 2) + 8 * v4) != a2 )
{
if ( *result == (_DWORD)++v4 )
return result;
}
if ( (_DWORD)v4 != -1 )
return sub_1003F3230(result, v4, a3);
}
return result;
}