//
// cocos2d::CCConfiguration::getCString from 0x1003c2d34 to 0x1003c2db4 (128 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::setDefaultValues @ 0x100206788
// > cocos2d::CCDirector::setDefaultValues @ 0x100206800
//
// 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:04:03 +0000
//
__int64 __fastcall cocos2d::CCConfiguration::getCString(__int64 a1, char *a2, __int64 a3)
{
__int64 v4; // x20
const void *v5; // x20
void *v6; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v9; // [xsp+1Fh] [xbp-11h]
v4 = *(_QWORD *)(a1 + 88);
sub_100009900(__p, a2);
v5 = (const void *)cocos2d::CCDictionary::objectForKey(v4, __p);
if ( v9 < 0 )
operator delete(__p[0]);
if ( v5 )
{
v6 = __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((__int64)v6);
}
return a3;
}