// // EditorUI::repositionObjectsToCenter from 0xbd8cdc to 0xbd8db0 (212 bytes) // // 8 xrefs: // > EditorUI::createPrefab @ 0x7c9e34 // > EditorUI::onCreateObject @ 0x7ca4e8 // > EditorUI::createSmartObjectsFromTemplate @ 0x7cb54c // > EditorUI::createSmartObjectsFromTemplate @ 0x7cb5b8 // > SetupSmartBlockLayer::onPasteTemplate @ 0xb15dbc // > EditorUI::doPasteObjects @ 0xbda004 // > EditorUI::spriteFromObjectString @ 0xbde18c // > @ 0x8b3d8 // // 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 13:03:41 +0000 // __int64 __fastcall EditorUI::repositionObjectsToCenter(EditorUI *a1, cocos2d::CCArray *a2, __int64 a3, bool a4) { unsigned int v7; // w19 long double v8; // q0 unsigned int v9; // w1 __int64 v10; // x22 __int64 v12; // [xsp+50h] [xbp+50h] BYREF __int64 v13; // [xsp+58h] [xbp+58h] BYREF _BYTE v14[8]; // [xsp+60h] [xbp+60h] BYREF v7 = 0; EditorUI::getGroupCenter(&v12, a1, a2, a4); cocos2d::CCPoint::operator-(&v13, a3, &v12, v8); while ( v7 < (unsigned int)cocos2d::CCArray::count(a2) ) { v9 = v7++; v10 = cocos2d::CCArray::objectAtIndex(a2, v9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, (const cocos2d::CCPoint *)&v13); EditorUI::moveObject(a1, v10, v14); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source