// // EditorUI::deleteSmartBlocksFromObjects from 0x4827fe to 0x482858 (90 bytes) // // 3 xrefs: // > EditorUI::createPrefab @ 0x487208 // > EditorUI::createSmartObjectsFromTemplate @ 0x4881d0 // > EditorUI::spriteFromObjectString @ 0x6f4fa6 // // 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::deleteSmartBlocksFromObjects(GJBaseGameLayer **this, cocos2d::CCArray *a2) { unsigned int v4; // r4 unsigned int result; // r0 int *v6; // r0 cocos2d::CCObject *v7; // r5 int v8; // r1 cocos2d::CCArray *StickyGroup; // r0 v4 = 0; while ( 1 ) { result = cocos2d::CCArray::count(a2); if ( v4 >= result ) break; v6 = (int *)cocos2d::CCArray::objectAtIndex(a2, v4); v7 = (cocos2d::CCObject *)v6; if ( v6[271] == 5 ) { v8 = v6[185]; if ( v8 > 0 ) { StickyGroup = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(*(this + 236), v8); if ( StickyGroup ) cocos2d::CCArray::removeObject(StickyGroup, v7, 1); } EditorUI::deleteObject((EditorUI *)this, v7, 1); cocos2d::CCArray::removeObjectAtIndex(a2, v4, 1); } else { ++v4; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source