// // EditorUI::deleteSmartBlocksFromObjects from 0x100479604 to 0x1004796b4 (176 bytes) // // 3 xrefs: // > EditorUI::spriteFromObjectString @ 0x100184d30 // > EditorUI::createSmartObjectsFromTemplate @ 0x1004793b8 // > sub_1004796B4 @ 0x1004799d0 // // This function is hookable on this platform (idp: arm, 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 11:05:42 +0000 // __int64 __fastcall EditorUI::deleteSmartBlocksFromObjects(__int64 a1, __int64 a2) { __int64 result; // x0 __int64 v5; // x21 __int64 v6; // x0 __n128 v7; // q0 __int64 v8; // x22 int v9; // w1 __int64 v10; // x0 result = sub_1002E757C(a2); if ( (_DWORD)result ) { v5 = 0; do { v6 = sub_1002E75A0(a2, v5); if ( *(_DWORD *)(v6 + 1248) == 5 ) { v8 = v6; v9 = *(_DWORD *)(v6 + 872); if ( v9 >= 1 ) { v7.n128_f64[0] = GJBaseGameLayer::getStickyGroup(*(_QWORD *)(a1 + 1440), v9); if ( v10 ) sub_1002E765C(v10); } EditorUI::deleteObject(a1, v8, 1, v7); sub_1002E7664(a2, v5, 1); } else { v5 = (unsigned int)(v5 + 1); } result = sub_1002E757C(a2); } while ( (unsigned int)v5 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source