//
// cocos2d::CCConfiguration::getBool from 0x1003250d4 to 0x10032517c (168 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::setDefaultValues @ 0x1001751f0
// > cocos2d::CCDirector::setDefaultValues @ 0x1001752e0
//
// 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
//
bool __fastcall cocos2d::CCConfiguration::getBool(cocos2d::CCConfiguration *a1, const char *a2, bool a3)
{
__int64 v4; // x20
const void *v5; // x20
_BYTE *v6; // x0
cocos2d::CCString *v7; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v10; // [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 ( v10 < 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 *)&off_1007F0020,
0);
if ( v6 )
{
return v6[56];
}
else
{
v7 = (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 ( v7 )
return cocos2d::CCString::boolValue(v7);
}
}
return a3;
}