// // EditorUI::getXMin from 0x140122bc0 to 0x140122cc7 (263 bytes) // // 3 xrefs: // > EditorUI::sliderChanged @ 0x1400e2a7f // > EditorUI::updateSlider @ 0x1400e2b70 // > @ 0x1406c9870 // // 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 // float EditorUI::getXMin(EditorUI *a1, int a2) { __int64 v3; // rcx cocos2d::CCDirector *v4; // rax float ScreenLeft; // xmm0_4 cocos2d::CCLayer *m_objectLayer; // rbx struct cocos2d::CCPoint v7; // rax cocos2d::CCPoint v9[3]; // [rsp+20h] [rbp-18h] BYREF struct cocos2d::CCPoint v10; // [rsp+40h] [rbp+8h] BYREF cocos2d::CCPoint v11; // [rsp+50h] [rbp+18h] BYREF cocos2d::CCPoint v12; // [rsp+58h] [rbp+20h] BYREF ((void (__fastcall *)(cocos2d::CCLayer *, int))a1->m_editorLayer->m_objectLayer->getPosition_0)( a1->m_editorLayer->m_objectLayer, a2); cocos2d::CCPoint::CCPoint(&v11); a1->m_editorLayer->m_objectLayer->setPosition_0( a1->m_editorLayer->m_objectLayer, (const cocos2d::CCPoint *)&dword_1406C1AA8); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); ScreenLeft = cocos2d::CCDirector::getScreenLeft(v4); cocos2d::CCPoint::CCPoint(&v12, ScreenLeft, a1->m_constrainedHeight); m_objectLayer = a1->m_editorLayer->m_objectLayer; cocos2d::CCPoint::CCPoint(v9, -30.0, 60.0); cocos2d::CCNode::convertToWorldSpace(m_objectLayer, &v10); v7 = cocos2d::CCNode::convertToNodeSpace(a1->m_editorLayer, v9); ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v10, v7); a1->m_editorLayer->m_objectLayer->setPosition_0(a1->m_editorLayer->m_objectLayer, &v11); return v12.x - v10.x; }