// // GameLevelManager::onUpdateDescriptionCompleted from 0x4c3290 to 0x4c3382 (242 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4daa3a // // 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:50:25 +0000 // int (***__fastcall GameLevelManager::onUpdateDescriptionCompleted(int a1, unsigned __int8 *a2, int a3, int a4))(void) { cocos2d::CCDictionary *v6; // r10 const char *v7; // r5 size_t v8; // r0 size_t v9; // r0 cocos2d::CCArray *v10; // r5 cocos2d::CCString *v11; // r0 const char *CString; // r0 _BOOL4 v13; // r6 int (***result)(void); // r0 int (*v15)(void); // r3 int v16; // [sp+0h] [bp-10h] BYREF unsigned __int8 *v17; // [sp+4h] [bp-Ch] int v18; // [sp+8h] [bp-8h] int v19; // [sp+Ch] [bp-4h] v16 = a1; v17 = a2; v18 = a3; v19 = a4; v6 = *(cocos2d::CCDictionary **)(a1 + 748); v16 = 0; v17 = nullptr; v18 = 0; if ( (*(_BYTE *)a3 & 1) != 0 ) v7 = *(const char **)(a3 + 8); else v7 = (const char *)(a3 + 1); v8 = strlen(v7); std::string::__init(&v16, v7, v8); cocos2d::CCDictionary::removeObjectForKey(v6); std::string::~string((int)&v16); v16 = 0; v17 = nullptr; v18 = 0; v9 = strlen(v7); std::string::__init(&v16, v7, v9); v10 = sub_4C1A88(&v16, "_"); std::string::~string((int)&v16); if ( cocos2d::CCArray::count(v10) > 1u ) { v11 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(v10, 1u); CString = (const char *)cocos2d::CCString::getCString(v11); atoi(CString); } v16 = 0; v17 = nullptr; v18 = 0; std::string::__init(&v16, "-1", 2u); v13 = sub_4A9CC4(a2, (unsigned __int8 *)&v16); std::string::~string((int)&v16); result = *(int (****)(void))(a1 + 888); if ( v13 ) { if ( !result ) return result; v15 = (*result)[1]; } else { if ( !result ) return result; v15 = **result; } return (int (***)(void))v15(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source