//
// SetupCameraOffsetTrigger::updateMoveCommandPosX from 0xaaec10 to 0xaaed08 (248 bytes)
//
// 3 xrefs:
// > SetupCameraOffsetTrigger::sliderXChanged @ 0xaaed40
// > SetupCameraOffsetTrigger::textChanged @ 0xaaefe0
// > ??> @ 0x505f0
//
// 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:00:55 +0000
//
__int64 __fastcall SetupCameraOffsetTrigger::updateMoveCommandPosX(SetupCameraOffsetTrigger *this)
{
__int64 v2; // x1
__int64 v3; // x19
unsigned int v5; // w19
unsigned int v6; // w1
const cocos2d::CCPoint *v7; // x21
_BYTE v8[4]; // [xsp+58h] [xbp+58h] BYREF
float v9; // [xsp+5Ch] [xbp+5Ch]
_BYTE v10[8]; // [xsp+60h] [xbp+60h] BYREF
v2 = *((_QWORD *)this + 85);
if ( v2 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (const cocos2d::CCPoint *)(v2 + 1488));
v3 = *((_QWORD *)this + 85);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (float)*((int *)this + 276), v9);
cocos2d::CCPoint::operator=(v3 + 1488, v10);
}
else
{
v5 = 0;
while ( v5 < (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 86)) )
{
v6 = v5++;
v7 = (const cocos2d::CCPoint *)(cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v6) + 1488);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, v7);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (float)*((int *)this + 276), v9);
cocos2d::CCPoint::operator=(v7, v10);
}
}
return _stack_chk_guard;
}