//
// GameObject::updateStartValues from 0x44c6d0 to 0x44c7a8 (216 bytes)
//
// 1 xrefs:
// > RotateGameplayGameObject::updateStartValues @ 0x4e98f8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:34 +0000
//
float __fastcall GameObject::updateStartValues(GameObject *this, float a2, float a3, int a4)
{
char v5; // r0
int v6; // r3
char v7; // r0
int v8; // r3
float v9; // s16
float result; // r0
float v11; // s15
float v12; // s14
GameObject::updateStartPos(this, a2, a3, a4);
v5 = (*(int (__fastcall **)(GameObject *))(*(_DWORD *)this + 712))(this);
v6 = *(_DWORD *)this;
*((_BYTE *)this + 860) = v5;
v7 = (*(int (__fastcall **)(GameObject *))(v6 + 716))(this);
v8 = *(_DWORD *)this;
*((_BYTE *)this + 861) = v7;
v9 = COERCE_FLOAT((*(int (__fastcall **)(GameObject *))(v8 + 192))(this));
result = COERCE_FLOAT((*(int (__fastcall **)(GameObject *))(*(_DWORD *)this + 200))(this));
v11 = *((float *)this + 144);
if ( v9 == result )
{
if ( v11 == 0.0 )
result = v9;
else
result = COERCE_FLOAT(roundf());
*((float *)this + 209) = result;
goto LABEL_10;
}
if ( v11 != 0.0 || *((float *)this + 146) != 0.0 )
{
*((_DWORD *)this + 209) = roundf();
result = COERCE_FLOAT(roundf());
LABEL_10:
*((float *)this + 210) = result;
goto LABEL_11;
}
*((float *)this + 209) = v9;
*((float *)this + 210) = result;
LABEL_11:
v12 = *((float *)this + 149);
*((float *)this + 211) = *((float *)this + 252) - *((float *)this + 148);
*((float *)this + 212) = *((float *)this + 253) - v12;
return result;
}