//
// GJBaseGameLayer::updateMGOffsetY from 0x100299488 to 0x10029950c (132 bytes)
//
// 3 xrefs:
// > sub_1003F823C @ 0x1003f8310
// > sub_100402770 @ 0x100402a70
// > EffectGameObject::triggerObject @ 0x10042bfa4
//
// 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 11:02:07 +0000
//
float __fastcall GJBaseGameLayer::updateMGOffsetY(__int64 a1, int a2, int a3, int a4, float a5, float a6, float a7)
{
float result; // s0
int v9; // [xsp+Ch] [xbp-14h] BYREF
*(float *)(a1 + 704) = a5;
*(float *)(a1 + 708) = a6;
if ( a6 <= 0.0 )
{
v9 = 20;
sub_10001BB58((_QWORD *)(a1 + 1016), &v9);
result = *(float *)(a1 + 704);
*(float *)(a1 + 700) = result;
}
else
{
sub_10027409C(a1 + 424, 20, a2, a3, a4, *(float *)(a1 + 700), a5, a6, a7);
}
return result;
}