// // GameLevelManager::onRequestThreadMembersCompleted from 0x4d48a8 to 0x4d498c (228 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4db824 // // 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:50 +0000 // int __fastcall GameLevelManager::onRequestThreadMembersCompleted(int a1, unsigned __int8 *a2, int a3, int a4) { const char *v4; // r9 cocos2d::CCDictionary *v7; // r10 bool v9; // nf size_t v10; // r0 int v11; // r0 int v12; // r0 int v13; // r4 const char *v14; // r4 _BOOL4 v15; // r9 int result; // r0 int (*v17)(void); // r3 int v18; // [sp+0h] [bp-10h] BYREF unsigned __int8 *v19; // [sp+4h] [bp-Ch] int v20; // [sp+8h] [bp-8h] int v21; // [sp+Ch] [bp-4h] v18 = a1; v19 = a2; v20 = a3; v21 = a4; v7 = *(cocos2d::CCDictionary **)(a1 + 748); v9 = (*(_BYTE *)a3 & 1) != 0; if ( (*(_BYTE *)a3 & 1) == 0 ) v4 = (const char *)(a3 + 1); v18 = 0; if ( v9 ) v4 = *(const char **)(a3 + 8); v19 = nullptr; v20 = 0; v10 = strlen(v4); std::string::__init(&v18, v4, v10); cocos2d::CCDictionary::removeObjectForKey(v7); std::string::~string((int)&v18); v11 = std::string::find((unsigned __int8 *)a3, 95, 0); if ( v11 == -1 ) { v14 = nullptr; } else { v12 = v11 + 1; if ( (*(_BYTE *)a3 & 1) != 0 ) v13 = *(_DWORD *)(a3 + 8); else v13 = a3 + 1; v14 = (const char *)atoi((const char *)(v12 + v13)); } v18 = 0; v19 = nullptr; v20 = 0; std::string::__init(&v18, "-1", 2u); v15 = sub_4A9CC4(a2, (unsigned __int8 *)&v18); std::string::~string((int)&v18); if ( v15 ) { result = *(_DWORD *)(a1 + 840); if ( !result ) return result; v17 = *(int (**)(void))(*(_DWORD *)result + 44); } else { GameLevelManager::storeThreadManifest(a1, v14, a2); result = *(_DWORD *)(a1 + 840); if ( !result ) return result; v17 = *(int (**)(void))(*(_DWORD *)result + 40); } return v17(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source