// // cocos2d::CCConfiguration::getBool from 0x5ade1c to 0x5ade92 (118 bytes) // // 2 xrefs: // > cocos2d::CCDirector::setDefaultValues @ 0x5c2b8e // > cocos2d::CCDirector::setDefaultValues @ 0x5c2c18 // // 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 cocos2d::CCConfiguration::getBool(cocos2d::CCConfiguration *a1, const char *a2, bool a3) { cocos2d::CCDictionary *m_uIndexInArray; // r7 const void *v5; // r7 _BYTE *v6; // r0 cocos2d::CCString *v8; // r0 std::string v9; // [sp+8h] [bp-Ch] BYREF m_uIndexInArray = (cocos2d::CCDictionary *)a1[1].m_uIndexInArray; sub_776584((int)&v9, (char *)a2); v5 = (const void *)cocos2d::CCDictionary::objectForKey(m_uIndexInArray, &v9); sub_774008(&v9); if ( !v5 ) return a3; v6 = _dynamic_cast( v5, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCBool, 0); if ( v6 ) return v6[52]; v8 = (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 ( v8 ) return cocos2d::CCString::boolValue(v8); else return a3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source