// // GameLevelManager::onAdminThreadActionCompleted from 0x4b1d2c to 0x4b1e60 (308 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4db524 // // 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:03 +0000 // int __fastcall GameLevelManager::onAdminThreadActionCompleted(int a1, unsigned __int8 *a2, int a3) { const char *v3; // r7 cocos2d::CCDictionary *v5; // r8 bool v8; // nf size_t v9; // r0 unsigned int v10; // r7 unsigned int v11; // r0 unsigned int v12; // r8 char *v13; // r0 char *v14; // r0 _BOOL4 v15; // r8 int result; // r0 int v17; // [sp+8h] [bp-10h] BYREF int v18; // [sp+Ch] [bp-Ch] char *v19; // [sp+10h] [bp-8h] v5 = *(cocos2d::CCDictionary **)(a1 + 748); v8 = (*(_BYTE *)a3 & 1) != 0; if ( (*(_BYTE *)a3 & 1) == 0 ) v3 = (const char *)(a3 + 1); v17 = 0; if ( v8 ) v3 = *(const char **)(a3 + 8); v18 = 0; v19 = nullptr; v9 = strlen(v3); std::string::__init(&v17, v3, v9); cocos2d::CCDictionary::removeObjectForKey(v5); std::string::~string((int)&v17); v10 = std::string::find((unsigned __int8 *)a3, 95, 0); v11 = std::string::rfind((unsigned __int8 *)a3, 95, 0xFFFFFFFF); v12 = v11; if ( v10 != -1 && v11 != -1 && v11 > v10 ) { std::string::basic_string(&v17, (unsigned __int8 *)a3, v10 + 1, v11 - 1 - v10); if ( (v17 & 1) != 0 ) v13 = v19; else v13 = (char *)&v17 + 1; atoi(v13); std::string::~string((int)&v17); std::string::basic_string(&v17, (unsigned __int8 *)a3, v12 + 1, 0xFFFFFFFF); if ( (v17 & 1) != 0 ) v14 = v19; else v14 = (char *)&v17 + 1; atoi(v14); std::string::~string((int)&v17); } v17 = 0; v18 = 0; v19 = nullptr; std::string::__init(&v17, "-1", 2u); v15 = sub_4A9CC4(a2, (unsigned __int8 *)&v17); std::string::~string((int)&v17); result = *(_DWORD *)(a1 + 840); if ( v15 ) { if ( result ) return (*(int (__fastcall **)(int))(*(_DWORD *)result + 36))(result); } else if ( result ) { return (*(int (__fastcall **)(int))(*(_DWORD *)result + 32))(result); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source