//
// GJBaseGameLayer::updateMGOffsetY from 0x5b6a00 to 0x5b6a52 (82 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::activateTriggerEffect @ 0x467be0
// > LevelEditorLayer::updateGameObjects @ 0x46c93a
// > EffectGameObject::triggerObject @ 0x4f5386
// > GJBaseGameLayer::resetLevelVariables @ 0x5b989a
//
// 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:53:38 +0000
//
void __fastcall GJBaseGameLayer::updateMGOffsetY(
GJBaseGameLayer *this,
float a2,
float a3,
int a4,
float a5,
int a6,
int a7)
{
GJGameState *v8; // r0
*((float *)this + 152) = a2;
*((float *)this + 153) = a3;
v8 = (GJBaseGameLayer *)((char *)this + 328);
if ( a3 <= 0.0 )
{
GJGameState::stopTweenAction((unsigned int)v8, 0x14u);
*((_DWORD *)this + 151) = *((_DWORD *)this + 152);
}
else
{
GJGameState::tweenValue(v8, *((float *)this + 151), a2, 0x14u, a3, a4, a5, a6, a7);
}
}