//
// sub_1000073C4 from 0x1000073c4 to 0x100007460 (156 bytes)
//
// 1 xrefs:
// > sub_10007BD94 @ 0x10007be64
//
// 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 10:57:11 +0000
//
__int64 __fastcall sub_1000073C4(__int64 result, __int64 a2, int a3)
{
__int64 v4; // x20
__int64 v5; // x21
if ( a3 >= 1 )
{
result = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(result + 56), a2);
if ( result )
{
v4 = result;
result = sub_1002E757C(result);
if ( (_DWORD)result )
{
result = sub_1002E757C(v4);
if ( (_DWORD)result )
{
v5 = 0;
while ( *(_DWORD *)(sub_1002E75A0(v4, v5) + 104) != a3 )
{
v5 = (unsigned int)(v5 + 1);
result = sub_1002E757C(v4);
if ( (unsigned int)v5 >= (unsigned int)result )
return result;
}
return sub_1002E7664(v4, v5, 1);
}
}
}
}
return result;
}