// // EditorUI::repositionObjectsToCenter from 0x10018acd0 to 0x10018ad70 (160 bytes) // // 7 xrefs: // > SetupSmartBlockLayer::onPasteTemplate @ 0x1000787c8 // > EditorUI::spriteFromObjectString @ 0x100184d24 // > EditorUI::doPasteObjects @ 0x10018ac8c // > EditorUI::onCreateObject @ 0x1004775d8 // > EditorUI::createSmartObjectsFromTemplate @ 0x100479324 // > EditorUI::createSmartObjectsFromTemplate @ 0x1004793ac // > sub_1004796B4 @ 0x1004799c4 // // 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 10:59:52 +0000 // __int64 __fastcall EditorUI::repositionObjectsToCenter(__int64 a1, __int64 a2, float32x2_t *a3, char a4) { __int64 result; // x0 __int64 v8; // x21 __int64 v9; // x22 float32x2_t v10; // [xsp+8h] [xbp-38h] BYREF float32x2_t v11; // [xsp+10h] [xbp-30h] BYREF float32x2_t v12; // [xsp+18h] [xbp-28h] BYREF EditorUI::getGroupCenter(a2, a4, (float *)&v12); sub_10002632C(a3, &v12, &v11); result = sub_1002E757C(a2); if ( (_DWORD)result ) { v8 = 0; do { v9 = sub_1002E75A0(a2, v8); sub_1000262F4(&v10, (double *)&v11); EditorUI::moveObject(a1, v9, &v10); v8 = (unsigned int)(v8 + 1); result = sub_1002E757C(a2); } while ( (unsigned int)v8 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source