//
// GameObject::setFlipX from 0x44be6c to 0x44be94 (40 bytes)
//
// 1 xrefs:
// > PlayerObject::setFlipX @ 0x4347ac
//
// 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
//
int __fastcall GameObject::setFlipX(int this, int a2)
{
int v2; // r4
int v3; // r3
int (__fastcall *v4)(int, unsigned int); // r5
int v5; // r0
v2 = this;
if ( *(unsigned __int8 *)(this + 609) != a2 )
{
v3 = *(_DWORD *)this;
*(_BYTE *)(this + 609) = a2;
v4 = *(int (__fastcall **)(int, unsigned int))(v3 + 64);
v5 = (*(int (**)(void))(v3 + 68))();
return v4(v2, v5 ^ 0x80000000);
}
return this;
}