//
// GJBaseGameLayer::updateMGOffsetY from 0x9e3884 to 0x9e3900 (124 bytes)
//
// 5 xrefs:
// > LevelEditorLayer::activateTriggerEffect @ 0x795a88
// > LevelEditorLayer::updateGameObjects @ 0x79e114
// > EffectGameObject::triggerObject @ 0x89876c
// > GJBaseGameLayer::resetLevelVariables @ 0x9e7874
// > ??> @ 0x73b40
//
// 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 12:58:57 +0000
//
__int64 __fastcall GJBaseGameLayer::updateMGOffsetY(
GJBaseGameLayer *this,
float a2,
float a3,
int a4,
float a5,
int a6,
int a7)
{
__int64 result; // x0
*((float *)this + 176) = a2;
*((float *)this + 177) = a3;
if ( a3 > 0.0 )
return GJGameState::tweenValue(
(GJBaseGameLayer *)((char *)this + 424),
*((float *)this + 175),
a2,
20,
a3,
a4,
a5,
a6,
a7);
GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 20);
result = *((unsigned int *)this + 176);
*((_DWORD *)this + 175) = result;
return result;
}