// // cocos2d::CCConfiguration::getCString from 0x1800c08f0 to 0x1800c09e6 (246 bytes) // // 4 xrefs: // > cocos2d::CCDirector::setDefaultValues @ 0x1800c2d11 // > cocos2d::CCDirector::setDefaultValues @ 0x1800c2d81 // > @ 0x18014cf68 // > @ 0x1801c336c // // This function is hookable on this platform (idp: pc, 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:22:25 +0000 // // Hidden C++ exception states: #wind=1 const char *__fastcall cocos2d::CCConfiguration::getCString(cocos2d::CCConfiguration *this, char *a2, const char *a3) { __int64 v5; // rbx void *v6; // r8 cocos2d::CCString *v7; // rax void *Block[2]; // [rsp+30h] [rbp-38h] BYREF __m128i si128; // [rsp+40h] [rbp-28h] sub_180005A10(Block, a2); v5 = cocos2d::CCDictionary::objectForKey(*((_QWORD *)this + 11), (__int64)Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free_0(v6); } si128 = _mm_load_si128((const __m128i *)&xmmword_1800EC500); LOBYTE(Block[0]) = 0; if ( v5 && (v7 = (cocos2d::CCString *)_RTDynamicCast( v5, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCString `RTTI Type Descriptor', 0)) != nullptr ) { return cocos2d::CCString::getCString(v7); } else { return a3; } }