//
// sub_1003B5924 from 0x1003b5924 to 0x1003b5970 (76 bytes)
//
// 1 xrefs:
// > sub_1003B57D0 @ 0x1003b58a8
//
// 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:03:56 +0000
//
__int64 __fastcall sub_1003B5924(__int64 result, __int64 a2)
{
__int64 v2; // x19
__int64 v3; // x0
*(_BYTE *)(result + 1004) = 1;
if ( *(_BYTE *)(result + 1003) == 1 )
{
v2 = result;
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
return sub_1003B5970(v2, v3);
}
return result;
}