// // GJLevelList::removeLevelFromList from 0x4d8dc8 to 0x4d8e56 (142 bytes) // // 1 xrefs: // > LevelListLayer::cellPerformedAction @ 0x6d5cfc // // 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:54 +0000 // int __fastcall GJLevelList::removeLevelFromList(GJLevelList *this, int a2, int a3, int a4) { _BYTE *v6; // r4 _DWORD *v7; // r1 _DWORD *v8; // r3 size_t v9; // r4 char *v10; // r4 char *v11; // r3 cocos2d::CCDictionary *v12; // r8 int result; // r0 _DWORD v14[4]; // [sp+0h] [bp-10h] BYREF v14[0] = this; v14[1] = a2; v14[2] = a3; v14[3] = a4; v6 = *((_BYTE **)this + 67); v7 = *((_DWORD **)this + 66); while ( 1 ) { v8 = v7; if ( v7 == (_DWORD *)v6 ) break; ++v7; if ( *v8 == a2 ) { v9 = v6 - (_BYTE *)v7; if ( v9 >> 2 ) v8 = memmove(v8, v7, v9); v10 = (char *)v8 + v9; while ( 1 ) { v11 = *((char **)this + 67); if ( v10 == v11 ) break; *((_DWORD *)this + 67) = v11 - 4; } GJLevelList::updateLevelsString(this); break; } } v12 = *((cocos2d::CCDictionary **)this + 101); GameToolbox::intToString((GameToolbox *)v14, a2); cocos2d::CCDictionary::removeObjectForKey(v12); result = std::string::~string((int)v14); *((_BYTE *)this + 331) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source