//
// cocos2d::CCDictionary::getFirstKey from 0x1004a4e74 to 0x1004a4ecc (88 bytes)
//
// 4 xrefs:
// > sub_1000BA8D8 @ 0x1000ba90c
// > sub_1000BB4C4 @ 0x1000bb4f8
// > sub_1000BB594 @ 0x1000bb5c8
// > sub_1000CC414 @ 0x1000cc458
//
// 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:06:04 +0000
//
std::string *__usercall cocos2d::CCDictionary::getFirstKey@(__int64 a1@, std::string *a2@)
{
std::string *result; // x0
__int64 v5; // x1
result = (std::string *)sub_100009900(a2, "");
v5 = *(_QWORD *)(a1 + 56);
if ( v5 && *(_DWORD *)(*(_QWORD *)(v5 + 272) + 16LL) && *(_DWORD *)(a1 + 64) == 1 )
return std::string::append(a2, (const std::string::value_type *)v5);
return result;
}