//
// GameObject::updateStartValues from 0x76dd64 to 0x76de60 (252 bytes)
//
// 49 xrefs:
// > RotateGameplayGameObject::updateStartValues @ 0x887058
// > ??> @ 0x7bbf8
// > ??> @ 0x1433800
// > ??> @ 0x14345f0
// > ??> @ 0x1434dd0
// > ??> @ 0x14355e0
// > ??> @ 0x1443940
// > ??> @ 0x1444150
// > ??> @ 0x1444960
// > ??> @ 0x1445170
// > ??> @ 0x1445980
// > ??> @ 0x1446190
// > ??> @ 0x14469a0
// > ??> @ 0x14471b0
// > ??> @ 0x1447990
// > ??> @ 0x14481a0
// > ??> @ 0x14489b0
// > ??> @ 0x14491c0
// > ??> @ 0x14499d0
// > ??> @ 0x144a220
// > ??> @ 0x144aa30
// > ??> @ 0x144b240
// > ??> @ 0x144ba50
// > ??> @ 0x144c260
// > ??> @ 0x144ca80
// > ??> @ 0x144d290
// > ??> @ 0x144daa0
// > ??> @ 0x144e2b0
// > ??> @ 0x144eac0
// > ??> @ 0x144f2d0
// > ??> @ 0x144fae0
// > ??> @ 0x14502f0
// > ??> @ 0x1450b00
// > ??> @ 0x1451310
// > ??> @ 0x1451b20
// > ??> @ 0x1452330
// > ??> @ 0x1452b40
// > ??> @ 0x1453350
// > ??> @ 0x1453b60
// > ??> @ 0x1454370
// > ??> @ 0x1454b80
// > ??> @ 0x1455390
// > ??> @ 0x1455ba0
// > ??> @ 0x14563b0
// > ??> @ 0x1456bc0
// > ??> @ 0x14573d0
// > ??> @ 0x1457be0
// > ??> @ 0x14583f0
// > ??> @ 0x1459430
//
// 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:53:11 +0000
//
float __fastcall GameObject::updateStartValues(GameObject *this)
{
float v2; // s8
float v3; // s0
float v4; // s1
float v5; // s2
float v6; // s0
float result; // s0
GameObject::updateStartPos(this);
*((_BYTE *)this + 996) = (*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)this + 1424LL))(this);
*((_BYTE *)this + 997) = (*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)this + 1432LL))(this);
v2 = (*(float (__fastcall **)(GameObject *))(*(_QWORD *)this + 384LL))(this);
v3 = (*(float (__fastcall **)(GameObject *))(*(_QWORD *)this + 400LL))(this);
if ( v2 == v3 )
{
v6 = *((float *)this + 169);
if ( v6 != 0.0 )
v2 = roundf(v2 - v6);
*((float *)this + 243) = v2;
*((float *)this + 244) = v2;
}
else
{
v4 = *((float *)this + 169);
v5 = *((float *)this + 171);
if ( v4 == 0.0 && v5 == 0.0 )
{
*((float *)this + 243) = v2;
*((float *)this + 244) = v3;
}
else
{
*((float *)this + 243) = roundf(v2 - v4);
*((float *)this + 244) = roundf(v3 - v5);
}
}
result = *((float *)this + 289) - *((float *)this + 174);
*((float *)this + 245) = *((float *)this + 288) - *((float *)this + 173);
*((float *)this + 246) = result;
return result;
}