//
// sub_1002EAFA8 from 0x1002eafa8 to 0x1002eaff8 (80 bytes)
//
// 4 xrefs:
// > sub_100399C98 @ 0x100399ccc
// > sub_100399DFC @ 0x100399e70
// > sub_1003C08B8 @ 0x1003c0930
// > sub_1003C11CC @ 0x1003c1224
//
// 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:02:53 +0000
//
__int64 __fastcall sub_1002EAFA8(__int64 a1, char *a2)
{
__int64 v2; // x19
__int64 v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v2 = *(_QWORD *)(a1 + 320);
sub_100009900(__p, a2);
v3 = cocos2d::CCDictionary::objectForKey(v2, __p);
if ( v6 < 0 )
operator delete(__p[0]);
return v3;
}