//
// SetupMGTrigger::updateMoveCommandPosY from 0x1405bdea0 to 0x1405bdf8f (239 bytes)
//
// 5 xrefs:
// > SetupMGTrigger::sliderYChanged @ 0x1405bdb28
// > SetupMGTrigger::textChanged @ 0x1405bde1b
// > ??> @ 0x1408e01b8
// > ??> @ 0x1408e01c8
// > ??> @ 0x14092dfe0
//
// This function is hookable on this platform (idp: pc, 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 11:34:46 +0000
//
void __fastcall SetupMGTrigger::updateMoveCommandPosY(__int64 a1)
{
__int64 v1; // rdx
__int64 v3; // rax
unsigned int i; // esi
const struct cocos2d::CCPoint *v5; // rbx
__int64 v6; // rax
float v7; // [rsp+30h] [rbp+8h] BYREF
char v8; // [rsp+38h] [rbp+10h] BYREF
v1 = *(_QWORD *)(a1 + 680);
if ( v1 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, (const struct cocos2d::CCPoint *)(v1 + 1504));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, v7, (float)*(int *)(a1 + 1072));
cocos2d::CCPoint::operator=(*(_QWORD *)(a1 + 680) + 1504LL, v3);
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); ++i )
{
v5 = (struct cocos2d::CCObject *)((char *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), i)
+ 1504);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, v5);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, v7, (float)*(int *)(a1 + 1072));
cocos2d::CCPoint::operator=(v5, v6);
}
}
}