//
// EditorUI::getXMin from 0x7c6a30 to 0x7c6b60 (304 bytes)
//
// 3 xrefs:
// > EditorUI::xPosFromValue @ 0x7c6b80
// > EditorUI::valueFromXPos @ 0x7c6cb8
// > ??> @ 0xf58d8
//
// 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 12:54:09 +0000
//
float __fastcall EditorUI::getXMin(EditorUI *this, int a2)
{
const cocos2d::CCPoint *v4; // x0
cocos2d::CCDirector *v5; // x0
cocos2d::CCDirector *v6; // x0
float v7; // s0
float v8; // s2
cocos2d::CCNode *v9; // x24
long double v10; // q0
_BYTE v12[8]; // [xsp+48h] [xbp+48h] BYREF
float v13; // [xsp+50h] [xbp+50h] BYREF
__int64 v14; // [xsp+58h] [xbp+58h] BYREF
__int64 v15; // [xsp+60h] [xbp+60h] BYREF
v4 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 180) + 3920LL)
+ 192LL))(*(_QWORD *)(*((_QWORD *)this + 180) + 3920LL));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v4);
v5 = (cocos2d::CCDirector *)(*(__int64 (__fastcall **)(_QWORD, int *))(**(_QWORD **)(*((_QWORD *)this + 180) + 3920LL)
+ 184LL))(
*(_QWORD *)(*((_QWORD *)this + 180) + 3920LL),
&dword_155C778);
v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);
cocos2d::CCDirector::getScreenLeft(v6);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, v7, *((float *)this + 213));
v8 = (float)a2;
v9 = *(cocos2d::CCNode **)(*((_QWORD *)this + 180) + 3920LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, (float)(v8 * 30.0) + -30.0, 60.0);
cocos2d::CCNode::convertToWorldSpace(&v14, v9, (const cocos2d::CCPoint *)&v15);
cocos2d::CCNode::convertToNodeSpace(&v15, *((cocos2d::CCNode **)this + 180), (const cocos2d::CCPoint *)&v14);
*(__n128 *)&v10 = cocos2d::CCPoint::operator=(&v14, &v15);
(*(void (__fastcall **)(_QWORD, _BYTE *, long double))(**(_QWORD **)(*((_QWORD *)this + 180) + 3920LL) + 184LL))(
*(_QWORD *)(*((_QWORD *)this + 180) + 3920LL),
v12,
v10);
return v13 - *(float *)&v14;
}