//
// sub_10038FCF4 from 0x10038fcf4 to 0x10038fdf0 (252 bytes)
//
// 2 xrefs:
// > sub_1001FC030 @ 0x1001fc1c0
// > sub_1002D0568 @ 0x1002d0624
//
// 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:37 +0000
//
__int64 __fastcall sub_10038FCF4(__int64 a1, const char *a2, float a3)
{
void *v6; // x0
char *CString; // x21
__int64 v8; // x22
__int64 v9; // x0
__int64 v10; // x22
__int64 v11; // x19
__int64 v12; // x20
__int64 v13; // x19
void *__p[2]; // [xsp+18h] [xbp-48h] BYREF
char v16; // [xsp+2Fh] [xbp-31h]
v6 = sub_1003065B0("%s%f", a2, a3);
CString = (char *)cocos2d::CCString::getCString((__int64)v6);
v8 = *(_QWORD *)(a1 + 56);
sub_100009900(__p, CString);
v9 = cocos2d::CCDictionary::objectForKey(v8, __p);
v10 = v9;
if ( v16 < 0 )
{
operator delete(__p[0]);
if ( v10 )
goto LABEL_3;
}
else if ( v9 )
{
LABEL_3:
v11 = *(_QWORD *)(a1 + 56);
sub_100009900(__p, CString);
v12 = cocos2d::CCDictionary::objectForKey(v11, __p);
goto LABEL_6;
}
v12 = sub_10038FE14(a2, a3);
v13 = *(_QWORD *)(a1 + 56);
sub_100009900(__p, CString);
cocos2d::CCDictionary::setObject(v13, v12, __p);
LABEL_6:
if ( v16 < 0 )
operator delete(__p[0]);
return v12;
}