//
// GJBaseGameLayer::animatePortalY from 0x10013b550 to 0x10013b629 (217 bytes)
//
// 0 xrefs:
//
// 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 12:24:52 +0000
//
__int64 __fastcall GJBaseGameLayer::animatePortalY(__int64 a1, float a2, float a3, float a4, float a5)
{
__int64 result; // rax
int v6[3]; // [rsp+4h] [rbp-4Ch] BYREF
__int64 v7; // [rsp+10h] [rbp-40h]
int v8; // [rsp+18h] [rbp-38h]
float v9; // [rsp+1Ch] [rbp-34h]
__int16 v10; // [rsp+20h] [rbp-30h]
__int64 v11; // [rsp+24h] [rbp-2Ch]
int v12; // [rsp+2Ch] [rbp-24h] BYREF
float v13; // [rsp+30h] [rbp-20h]
int v14; // [rsp+34h] [rbp-1Ch]
int v15; // [rsp+38h] [rbp-18h]
int v16; // [rsp+3Ch] [rbp-14h]
if ( a2 == a3 )
{
*(float *)(a1 + 760) = a2;
}
else
{
*(float *)(a1 + 760) = a2;
v12 = 9;
v6[0] = 9;
v13 = a5;
v14 = LODWORD(a4);
v15 = LODWORD(a3);
v16 = LODWORD(a2);
sub_10001C120((__int64 *)(a1 + 1016), v6);
v7 = 0;
v10 = 0;
v6[0] = v16;
v6[1] = v15;
v6[2] = v14;
v8 = 1;
v9 = v13;
v11 = -1;
result = sub_100145000(a1 + 1016, &v12, &v12, v6);
if ( *(float *)(a1 + 424) != *(float *)(a1 + 428) )
*(_BYTE *)(a1 + 764) = 1;
}
return result;
}