// // GameLevelManager::onDownloadUserMessageCompleted from 0x4cc9bc to 0x4cca9a (222 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4dad3a // // 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:41 +0000 // int (***__fastcall GameLevelManager::onDownloadUserMessageCompleted( GameLevelManager *a1, unsigned __int8 *a2, int a3))(void) { const char *v5; // r5 _BOOL4 v6; // r6 int v7; // r3 int v8; // r3 size_t v9; // r0 GJUserMessage *v10; // r0 cocos2d::CCDictionary *v11; // r1 cocos2d::CCNode *v12; // r4 int (***result)(void); // r0 int (*v14)(void); // r3 int v15; // [sp+0h] [bp-14h] BYREF int v16; // [sp+4h] [bp-10h] int v17; // [sp+8h] [bp-Ch] if ( (*(_BYTE *)a3 & 1) != 0 ) v5 = *(const char **)(a3 + 8); else v5 = (const char *)(a3 + 1); GameLevelManager::getSplitIntFromKey(a1, v5, 1u); GameLevelManager::removeDLFromActive(a1, v5); v15 = 0; v16 = 0; v17 = 0; std::string::__init(&v15, "-1", 2u); v6 = sub_4A9CC4(a2, (unsigned __int8 *)&v15); std::string::~string((int)&v15); if ( v6 ) goto LABEL_10; v7 = *a2; v15 = 0; v8 = v7 << 31; v16 = 0; if ( v8 >= 0 ) ++a2; v17 = 0; if ( v8 < 0 ) a2 = *((unsigned __int8 **)a2 + 2); v9 = strlen((const char *)a2); std::string::__init(&v15, a2, v9); v10 = (GJUserMessage *)GameLevelManager::responseToDict((cocos2d::CCDictionary *)&v15, 0); v12 = GJUserMessage::create(v10, v11); std::string::~string((int)&v15); if ( v12 ) { GameLevelManager::storeUserMessage((int)a1, v12); result = *((int (****)(void))a1 + 226); if ( !result ) return result; v14 = **result; } else { LABEL_10: result = *((int (****)(void))a1 + 226); if ( !result ) return result; v14 = (*result)[1]; } return (int (***)(void))v14(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source