// // cocos2d::CCConfiguration::getCString from 0x7b3e8c to 0x7b3f02 (118 bytes) // // 2 xrefs: // > cocos2d::CCDirector::setDefaultValues @ 0x7c9e26 // > cocos2d::CCDirector::setDefaultValues @ 0x7c9e68 // // 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 // const char *__fastcall cocos2d::CCConfiguration::getCString( cocos2d::CCConfiguration *this, const char *a2, const char *a3) { int v4; // r9 size_t v6; // r0 const void *v7; // r8 cocos2d::CCString *v8; // r0 int v10[3]; // [sp+0h] [bp-14h] BYREF v4 = *((_DWORD *)this + 20); memset(v10, 0, sizeof(v10)); v6 = strlen(a2); std::string::__init(v10, a2, v6); v7 = (const void *)cocos2d::CCDictionary::objectForKey(v4, v10); std::string::~string((int)v10); if ( v7 && (v8 = (cocos2d::CCString *)_dynamic_cast( v7, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCString, 0)) != nullptr ) { return (const char *)cocos2d::CCString::getCString(v8); } else { return a3; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source