//
// GJBaseGameLayer::animatePortalY from 0x9e615c to 0x9e61c4 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0xf3190
//
// 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:59:00 +0000
//
__int64 __fastcall GJBaseGameLayer::animatePortalY(__int64 this, float a2, float a3, float a4, float a5)
{
__int64 v5; // x19
if ( a2 == a3 )
{
*(float *)(this + 760) = a2;
}
else
{
v5 = this;
*(float *)(this + 760) = a2;
this = GJGameState::tweenValue((GJGameState *)(this + 424), a2, a3, 9, a4, 1, a5, -1, -1);
if ( *(float *)(v5 + 424) != *(float *)(v5 + 428) )
{
*(_BYTE *)(v5 + 764) = 1;
return 1;
}
}
return this;
}