// // EditorUI::deleteTypeFromObjects from 0x482858 to 0x4828b8 (96 bytes) // // 1 xrefs: // > EditorUI::spriteFromObjectString @ 0x6f4fb2 // // 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:49:23 +0000 // unsigned int __fastcall EditorUI::deleteTypeFromObjects(GJBaseGameLayer **this, int a2, cocos2d::CCArray *a3) { unsigned int v6; // r4 unsigned int result; // r0 int *v8; // r0 cocos2d::CCObject *v9; // r5 int v10; // r1 cocos2d::CCArray *StickyGroup; // r0 v6 = 0; while ( 1 ) { result = cocos2d::CCArray::count(a3); if ( v6 >= result ) break; v8 = (int *)cocos2d::CCArray::objectAtIndex(a3, v6); v9 = (cocos2d::CCObject *)v8; if ( v8[223] == a2 ) { v10 = v8[185]; if ( v10 > 0 ) { StickyGroup = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(*(this + 236), v10); if ( StickyGroup ) cocos2d::CCArray::removeObject(StickyGroup, v9, 1); } EditorUI::deleteObject((EditorUI *)this, v9, 1); cocos2d::CCArray::removeObjectAtIndex(a3, v6, 1); } else { ++v6; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source