// // cocos2d::CCConfiguration::init from 0x100324760 to 0x10032487c (284 bytes) // // 1 xrefs: // > cocos2d::CCConfiguration::sharedConfiguration @ 0x100324fc4 // // 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::init(cocos2d::CCConfiguration *a1) { cocos2d::CCDictionary *v2; // x0 __int64 v3; // x20 char *v4; // x0 cocos2d::CCObject *v5; // x21 __int64 v6; // x20 __int64 v7; // x21 __int64 v8; // x19 __int64 v9; // x20 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v12; // [xsp+17h] [xbp-39h] void *v13[2]; // [xsp+18h] [xbp-38h] BYREF char v14; // [xsp+2Fh] [xbp-21h] v2 = cocos2d::CCDictionary::create(); *(_QWORD *)&a1[1].m_uIndexInArray = v2; cocos2d::CCObject::retain(v2); v3 = *(_QWORD *)&a1[1].m_uIndexInArray; v4 = (char *)cocos2d::cocos2dVersion(); sub_100009900(v13, v4); v5 = sub_100268E48((__int128 *)v13); sub_100009900(__p, "cocos2d.x.version"); cocos2d::CCDictionary::setObject_1(v3, v5, __p); if ( v12 < 0 ) operator delete(__p[0]); if ( v14 < 0 ) operator delete(v13[0]); v6 = *(_QWORD *)&a1[1].m_uIndexInArray; v7 = sub_1003248BC(0); sub_100009900(v13, "cocos2d.x.compiled_with_profiler"); cocos2d::CCDictionary::setObject_1(v6, v7, v13); if ( v14 < 0 ) operator delete(v13[0]); v8 = *(_QWORD *)&a1[1].m_uIndexInArray; v9 = sub_1003248BC(1); sub_100009900(v13, "cocos2d.x.compiled_with_gl_state_cache"); cocos2d::CCDictionary::setObject_1(v8, v9, v13); if ( v14 < 0 ) operator delete(v13[0]); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source