// // EditorUI::deleteSmartBlocksFromObjects from 0x38798e to 0x3879e8 (90 bytes) // // 3 xrefs: // > EditorUI::spriteFromObjectString @ 0x387ada // > EditorUI::createPrefab @ 0x3a42bc // > EditorUI::createSmartObjectsFromTemplate @ 0x3a53de // // 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 v4; // r4 int v5; // r0 GameObject *v6; // r5 int v7; // r1 cocos2d::CCArray *StickyGroup; // r0 v4 = 0; while ( v4 < cocos2d::CCArray::count(a2) ) { v5 = cocos2d::CCArray::objectAtIndex(a2, v4); v6 = (GameObject *)v5; if ( *(_DWORD *)(v5 + 1076) == 5 ) { v7 = *(_DWORD *)(v5 + 732); if ( v7 > 0 ) { StickyGroup = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, v7); if ( StickyGroup ) cocos2d::CCArray::removeObject(StickyGroup, v6, 1); } EditorUI::deleteObject(a1, v6, 1); cocos2d::CCArray::removeObjectAtIndex(a2, v4, 1); } else { ++v4; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source