// // EditorUI::deleteSmartBlocksFromObjects from 0x100034650 to 0x100034708 (184 bytes) // // 3 xrefs: // > EditorUI::spriteFromObjectString @ 0x100034141 // > EditorUI::createSmartObjectsFromTemplate @ 0x100043159 // > EditorUI::createPrefab @ 0x100043d1c // // 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 __fastcall EditorUI::deleteSmartBlocksFromObjects(EditorUI *a1, cocos2d::CCArray *a2) { unsigned int v3; // r15d __int64 v4; // rax GameObject *v5; // r12 int v6; // esi cocos2d::CCArray *StickyGroup; // rax if ( (unsigned int)sub_100720070(a2) ) { v3 = 0; do { while ( 1 ) { v4 = sub_1007200C0(a2, v3); if ( *(_DWORD *)(v4 + 1248) == 5 ) break; if ( ++v3 >= (unsigned int)sub_100720070(a2) ) return; } v5 = (GameObject *)v4; v6 = *(_DWORD *)(v4 + 872); if ( v6 > 0 ) { StickyGroup = GJBaseGameLayer::getStickyGroup(a1->m_editorLayer, v6); if ( StickyGroup ) sub_100720220(StickyGroup, v5, 1); } EditorUI::deleteObject(a1, v5, 1); sub_100720230(a2, v3, 1); } while ( v3 < (unsigned int)sub_100720070(a2) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source