// // EditorUI::deleteSmartBlocksFromObjects from 0x696a68 to 0x696b24 (188 bytes) // // 4 xrefs: // > EditorUI::spriteFromObjectString @ 0x696cd8 // > EditorUI::createPrefab @ 0x6c0898 // > EditorUI::createSmartObjectsFromTemplate @ 0x6c24d0 // > @ 0xc1410 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void EditorUI::deleteSmartBlocksFromObjects(EditorUI *a1, cocos2d::CCArray *a2) { unsigned int i; // w19 bool v5; // cf unsigned int v6; // w1 cocos2d::CCArray *v7; // x0 __int64 v8; // x20 int v9; // w1 cocos2d::CCArray *StickyGroup; // x0 for ( i = 0; ; cocos2d::CCArray::removeObjectAtIndex(a2, i, 1) ) { v5 = i >= (unsigned int)cocos2d::CCArray::count(a2); v6 = i; v7 = a2; if ( v5 ) break; while ( 1 ) { v8 = cocos2d::CCArray::objectAtIndex(v7, v6); if ( *(_DWORD *)(v8 + 1232) == 5 ) break; v5 = ++i >= (unsigned int)cocos2d::CCArray::count(a2); v6 = i; v7 = a2; if ( v5 ) return; } v9 = *(_DWORD *)(v8 + 856); if ( v9 > 0 ) { StickyGroup = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, v9); if ( StickyGroup ) cocos2d::CCArray::removeObject(StickyGroup, (cocos2d::CCObject *)v8, 1); } EditorUI::deleteObject(a1, (GameObject *)v8, 1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source