//
// GJBaseGameLayer::updateMGOffsetY from 0x14033eec0 to 0x14033ef5f (159 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::activateTriggerEffect @ 0x1403fbf20
// > EffectGameObject::triggerObject @ 0x1406490cd
// > ??> @ 0x14091fd00
//
// 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:30:38 +0000
//
__int64 __fastcall GJBaseGameLayer::updateMGOffsetY(float *a1, float a2, float a3, int a4, int a5, int a6, int a7)
{
__int64 v8; // rcx
__int64 result; // rax
int v10; // [rsp+68h] [rbp+10h] BYREF
a1[176] = a2;
v8 = (__int64)(a1 + 106);
a1[177] = a3;
if ( a3 > 0.0 )
return GJGameState::tweenValue(v8, a1[175], a2, 20, SLODWORD(a3), a4, a5, a6, a7);
v10 = 20;
sub_140355080(a1 + 266, &v10);
result = *((unsigned int *)a1 + 176);
*((_DWORD *)a1 + 175) = result;
return result;
}