// // GJLevelList::removeLevelFromList from 0x10058f5c0 to 0x10058f671 (177 bytes) // // 1 xrefs: // > LevelListLayer::cellPerformedAction @ 0x10034ad99 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:32:26 +0000 // void __fastcall GJLevelList::removeLevelFromList(std::string *a1, int a2) { _DWORD *size; // r14 std::string::pointer data; // rax size_t v4; // r15 __int64 v5; // r14 size_t v6[7]; // [rsp+8h] [rbp-38h] BYREF size = (_DWORD *)a1[13].__r_.__value_.__l.__size_; data = a1[13].__r_.__value_.__l.__data_; if ( size != (_DWORD *)data ) { v4 = data - (std::string::pointer)size - 4; while ( *size != a2 ) { ++size; v4 -= 4LL; if ( size == (_DWORD *)data ) goto LABEL_9; } if ( size + 1 != (_DWORD *)data ) memmove(size, size + 1, v4); a1[13].__r_.__value_.__r.__words[2] = (std::string::size_type)size + v4; GJLevelList::updateLevelsString(a1); } LABEL_9: v5 = a1[22].__r_.__value_.__l.__size_; GameToolbox::intToString(v6, a2); cocos2d::CCDictionary::removeObjectForKey(v5, (char *)v6); if ( (v6[0] & 1) != 0 ) operator delete((void *)v6[2]); a1[16].__r_.__value_.__s.__data_[14] = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source