//
// GJBaseGameLayer::triggerGravityChange from 0x9a04c0 to 0x9a0518 (88 bytes)
//
// 2 xrefs:
// > EffectGameObject::triggerObject @ 0x898948
// > ??> @ 0x69880
//
// 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:06 +0000
//
__int64 __fastcall GJBaseGameLayer::triggerGravityChange(__int64 this, EffectGameObject *a2, int a3)
{
if ( !*((_BYTE *)a2 + 1686) )
{
if ( !*((_BYTE *)a2 + 1685) )
*(_DWORD *)(*(_QWORD *)(this + 3256) + 2852LL) = *((_DWORD *)a2 + 434);
if ( *((_BYTE *)a2 + 1684) )
return this;
LABEL_8:
this = *(_QWORD *)(this + 3264);
*(_DWORD *)(this + 2852) = *((_DWORD *)a2 + 434);
return this;
}
if ( a3 == 1 )
{
this = *(_QWORD *)(this + 3256);
*(_DWORD *)(this + 2852) = *((_DWORD *)a2 + 434);
return this;
}
if ( a3 == 2 )
goto LABEL_8;
return this;
}