//
// cocos2d::CCConfiguration::getBool from 0x7b3f10 to 0x7b3fa0 (144 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::setDefaultValues @ 0x7c9e16
// > cocos2d::CCDirector::setDefaultValues @ 0x7c9ea0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:09 +0000
//
int __fastcall cocos2d::CCConfiguration::getBool(cocos2d::CCConfiguration *this, const char *a2, int a3)
{
int v4; // r9
size_t v6; // r0
const void *v7; // r8
unsigned __int8 *v8; // r0
cocos2d::CCString *v10; // r0
int v11[3]; // [sp+0h] [bp-14h] BYREF
v4 = *((_DWORD *)this + 20);
memset(v11, 0, sizeof(v11));
v6 = strlen(a2);
std::string::__init(v11, a2, v6);
v7 = (const void *)cocos2d::CCDictionary::objectForKey(v4, v11);
std::string::~string((int)v11);
if ( !v7 )
return a3;
v8 = (unsigned __int8 *)_dynamic_cast(
v7,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCBool,
0);
if ( v8 )
return v8[52];
v10 = (cocos2d::CCString *)_dynamic_cast(
v7,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCString,
0);
if ( v10 )
return cocos2d::CCString::boolValue(v10);
else
return a3;
}