// // GameLevelManager::onUnblockUserCompleted from 0x4c29f0 to 0x4c2ac4 (212 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4dac4a // // 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 // unsigned int __fastcall GameLevelManager::onUnblockUserCompleted(int a1, unsigned __int8 *a2, char *a3) { cocos2d::CCDictionary *v5; // r9 char v6; // r1 const char *v7; // r4 size_t v8; // r0 int SplitIntFromKey; // r0 int v10; // r4 _BOOL4 v11; // r8 unsigned int result; // r0 int v13; // r3 int v14; // [sp+0h] [bp-14h] BYREF int v15; // [sp+4h] [bp-10h] int v16; // [sp+8h] [bp-Ch] v5 = *(cocos2d::CCDictionary **)(a1 + 748); v14 = 0; v6 = *a3; v15 = 0; v16 = 0; if ( (v6 & 1) != 0 ) v7 = *((const char **)a3 + 2); else v7 = a3 + 1; v8 = strlen(v7); std::string::__init(&v14, v7, v8); cocos2d::CCDictionary::removeObjectForKey(v5); std::string::~string((int)&v14); SplitIntFromKey = GameLevelManager::getSplitIntFromKey((GameLevelManager *)a1, v7, 1u); v14 = 0; v15 = 0; v16 = 0; v10 = SplitIntFromKey; std::string::__init(&v14, "-1", 2u); v11 = sub_4A9CC4(a2, (unsigned __int8 *)&v14); std::string::~string((int)&v14); result = *(_DWORD *)(a1 + 888); if ( v11 ) { if ( result ) return (*(int (__fastcall **)(unsigned int, int, int))(*(_DWORD *)result + 4))(result, v10, 41); } else { if ( result ) (**(void (__fastcall ***)(unsigned int, int, int))result)(result, v10, 41); cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)(a1 + 764), v10); return GameLevelManager::removeUserFromList(a1, v10, 1, v13); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source