// // EditorUI::moveGamelayer from 0x3813e4 to 0x381436 (82 bytes) // // 2 xrefs: // > EditorUI::scrollWheel @ 0x3876f4 // > EditorUI::keyDown @ 0x3a70ba // // 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 // void EditorUI::moveGamelayer(EditorUI *a1, cocos2d::CCPoint a2) { float x; // r9 cocos2d::CCLayer *m_objectLayer; // r5 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 int v6; // r0 _BYTE v7[8]; // [sp+4h] [bp+0h] BYREF x = a2.x; m_objectLayer = a1->m_editorLayer->m_objectLayer; setPosition = m_objectLayer->setPosition; v6 = ((int (__fastcall *)(cocos2d::CCLayer *, _DWORD, _DWORD))m_objectLayer->getPosition)( m_objectLayer, LODWORD(a2.x), LODWORD(a2.y)); cocos2d::CCPoint::operator+(v7, v6, LODWORD(x)); setPosition(m_objectLayer, (const cocos2d::CCPoint *)v7); EditorUI::constrainGameLayerPosition(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source