//
// cocos2d::CCConfiguration::getCString from 0x100325038 to 0x1003250b8 (128 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::setDefaultValues @ 0x10017520c
// > cocos2d::CCDirector::setDefaultValues @ 0x100175284
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
const char *__fastcall cocos2d::CCConfiguration::getCString(
cocos2d::CCConfiguration *a1,
const char *a2,
const char *a3)
{
__int64 v4; // x20
const void *v5; // x20
cocos2d::CCString *v6; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v9; // [xsp+1Fh] [xbp-11h]
v4 = *(_QWORD *)&a1[1].m_uIndexInArray;
sub_100009900(__p, (char *)a2);
v5 = (const void *)cocos2d::CCDictionary::objectForKey_1(v4, __p);
if ( v9 < 0 )
operator delete(__p[0]);
if ( v5 )
{
v6 = (cocos2d::CCString *)__dynamic_cast(
v5,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCString,
0);
if ( v6 )
return cocos2d::CCString::getCString(v6);
}
return a3;
}