//
// sub_1003B55D4 from 0x1003b55d4 to 0x1003b5620 (76 bytes)
//
// 1 xrefs:
// > sub_1003B5494 @ 0x1003b5558
//
// 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_1003B55D4(__int64 result, __int64 a2)
{
__int64 v2; // x19
__int64 v3; // x0
*(_BYTE *)(result + 1006) = 1;
if ( *(_BYTE *)(result + 1005) == 1 )
{
v2 = result;
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
return sub_1003B5620(v2, v3);
}
return result;
}