//
// SetupMGTrigger::updateMoveCommandPosY from 0x69a3fc to 0x69a4a4 (168 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::textChanged @ 0x69a552
// > SetupMGTrigger::sliderYChanged @ 0x69a8ba
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:17 +0000
//
unsigned int __fastcall SetupMGTrigger::updateMoveCommandPosY(SetupMGTrigger *this)
{
int v1; // r1
unsigned int v3; // r4
unsigned int result; // r0
int v5; // r0
int v6; // r8
int v7; // r7
float v8[2]; // [sp+4h] [bp-8h] BYREF
_BYTE v9[8]; // [sp+Ch] [bp+0h] BYREF
v1 = *((_DWORD *)this + 132);
if ( v1 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (const cocos2d::CCPoint *)(v1 + 1308));
v7 = *((_DWORD *)this + 132);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v8[0], (float)*((int *)this + 188));
return cocos2d::CCPoint::operator=(v7 + 1308, v9);
}
else
{
v3 = 0;
while ( 1 )
{
result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 133));
if ( v3 >= result )
break;
v5 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), v3++);
v6 = v5 + 1308;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (const cocos2d::CCPoint *)(v5 + 1308));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v8[0], (float)*((int *)this + 188));
cocos2d::CCPoint::operator=(v6, v9);
}
}
return result;
}