// // EditorUI::deleteSmartBlocksFromObjects from 0x100014660 to 0x100014758 (248 bytes) // // 3 xrefs: // > EditorUI::createSmartObjectsFromTemplate @ 0x10001436a // > EditorUI::createPrefab @ 0x100014cae // > EditorUI::spriteFromObjectString @ 0x100638a81 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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 12:18:54 +0000 // __int64 __fastcall EditorUI::deleteSmartBlocksFromObjects(__int64 a1, __int64 a2) { __int64 result; // rax unsigned int v4; // r15d __int64 v5; // rax __int64 v6; // r12 __int64 v7; // rsi __int64 StickyGroup; // rax result = sub_1007FEF90(a2); if ( (_DWORD)result ) { v4 = 0; do { while ( 1 ) { v5 = sub_1007FEFE0(a2, v4); if ( *(_DWORD *)(v5 + 1248) == 5 ) break; ++v4; result = sub_1007FEF90(a2); if ( v4 >= (unsigned int)result ) return result; } v6 = v5; v7 = *(unsigned int *)(v5 + 872); if ( (int)v7 > 0 ) { StickyGroup = GJBaseGameLayer::getStickyGroup(*(_QWORD *)(a1 + 1440), v7); if ( StickyGroup ) sub_1007FF140(StickyGroup, v6, 1); } *(_BYTE *)(v6 + 1132) = *(_BYTE *)(v6 + 1133); EditorUI::deselectObject(a1, v6); LevelEditorLayer::removeObject(*(_QWORD *)(a1 + 1440), v6, 1); EditorUI::deactivateRotationControl(a1); EditorUI::deactivateScaleControl(a1); sub_100611790(a1); sub_1007FF150(a2, v4, 1); result = sub_1007FEF90(a2); } while ( v4 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source