// // EditorUI::moveGamelayer from 0x68f474 to 0x68f508 (148 bytes) // // 4 xrefs: // > EditorUI::scrollWheel @ 0x6965f0 // > EditorUI::keyDown @ 0x6c5cf0 // > EditorUI::keyDown @ 0x6c5d10 // > @ 0x386a0 // // 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 // // local variable allocation has failed, the output may be wrong! void EditorUI::moveGamelayer(EditorUI *a1, cocos2d::CCPoint a2) { __int64 v2; // x1 cocos2d::CCLayer *m_objectLayer; // x21 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x23 __int64 v6; // x0 __int64 v7; // [xsp+48h] [xbp+48h] __int64 v8; // [xsp+50h] [xbp+50h] BYREF m_objectLayer = a1->m_editorLayer->m_objectLayer; v7 = v2; setPosition = m_objectLayer->setPosition; v6 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, long double, long double))m_objectLayer->getPosition)( m_objectLayer, *(long double *)&a2.x, *(long double *)&a2.y); cocos2d::CCPoint::operator+(&v8, v6, v7); setPosition(m_objectLayer, (const cocos2d::CCPoint *)&v8); EditorUI::constrainGameLayerPosition(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source