//
// cocos2d::CCConfiguration::getCString from 0x5addb4 to 0x5ade10 (92 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::setDefaultValues @ 0x5c2b9e
// > cocos2d::CCDirector::setDefaultValues @ 0x5c2be0
//
// 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 *cocos2d::CCConfiguration::getCString(cocos2d::CCConfiguration *a1, const char *a2, const char *a3)
{
cocos2d::CCDictionary *m_uIndexInArray; // r7
const void *v5; // r7
cocos2d::CCString *v6; // r0
std::string v8; // [sp+8h] [bp-Ch] BYREF
m_uIndexInArray = (cocos2d::CCDictionary *)a1[1].m_uIndexInArray;
sub_776584((int)&v8, (char *)a2);
v5 = (const void *)cocos2d::CCDictionary::objectForKey(m_uIndexInArray, &v8);
sub_774008(&v8);
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)) != nullptr )
{
return cocos2d::CCString::getCString(v6);
}
else
{
return a3;
}
}