// // GameManager::switchCustomObjects from 0x4154b8 to 0x4155e4 (300 bytes) // // 1 xrefs: // > GameManager::reorderKey @ 0x41560c // // 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 11:47:40 +0000 // int __fastcall GameManager::switchCustomObjects(GameManager *this, const char *a2, const char *a3) { int v4; // r7 cocos2d::CCString *v7; // r0 const char *CString; // r10 size_t v9; // r0 cocos2d::CCObject *v10; // r7 int v11; // r10 cocos2d::CCString *v12; // r0 const char *v13; // r0 const char *v14; // r11 size_t v15; // r0 cocos2d::CCObject *v16; // r10 int v17; // r11 cocos2d::CCString *v18; // r0 const char *v19; // r0 const char *v20; // r9 size_t v21; // r0 int v22; // r6 cocos2d::CCString *v23; // r0 const char *v24; // r0 const char *v25; // r8 size_t v26; // r0 int v28; // [sp+0h] [bp-14h] BYREF int v29; // [sp+4h] [bp-10h] int v30; // [sp+8h] [bp-Ch] v4 = *((_DWORD *)this + 84); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); v28 = 0; v29 = 0; v30 = 0; CString = (const char *)cocos2d::CCString::getCString(v7); v9 = strlen(CString); std::string::__init(&v28, CString, v9); v10 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v4, &v28); std::string::~string((int)&v28); v11 = *((_DWORD *)this + 84); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3); v13 = (const char *)cocos2d::CCString::getCString(v12); v28 = 0; v29 = 0; v30 = 0; v14 = v13; v15 = strlen(v13); std::string::__init(&v28, v14, v15); v16 = (cocos2d::CCObject *)cocos2d::CCDictionary::objectForKey(v11, &v28); std::string::~string((int)&v28); cocos2d::CCObject::retain(v10); v17 = *((_DWORD *)this + 84); v18 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a2); v19 = (const char *)cocos2d::CCString::getCString(v18); v28 = 0; v29 = 0; v30 = 0; v20 = v19; v21 = strlen(v19); std::string::__init(&v28, v20, v21); cocos2d::CCDictionary::setObject(v17, v16); std::string::~string((int)&v28); v22 = *((_DWORD *)this + 84); v23 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", a3); v24 = (const char *)cocos2d::CCString::getCString(v23); v28 = 0; v29 = 0; v30 = 0; v25 = v24; v26 = strlen(v24); std::string::__init(&v28, v25, v26); cocos2d::CCDictionary::setObject(v22, v10); std::string::~string((int)&v28); return cocos2d::CCObject::release(v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source