//
// GameObject::setFlipX from 0x140295390 to 0x1402953d0 (64 bytes)
//
// 49 xrefs:
// > ??> @ 0x140754aa8
// > ??> @ 0x140755228
// > ??> @ 0x14075e5f0
// > ??> @ 0x14075ecf8
// > ??> @ 0x14081f100
// > ??> @ 0x14081f830
// > ??> @ 0x140820078
// > ??> @ 0x1408207d0
// > ??> @ 0x140820e88
// > ??> @ 0x1408215f0
// > ??> @ 0x140821ca8
// > ??> @ 0x140822388
// > ??> @ 0x140822a40
// > ??> @ 0x140823350
// > ??> @ 0x140823a98
// > ??> @ 0x140824150
// > ??> @ 0x140824948
// > ??> @ 0x140825000
// > ??> @ 0x1408256b8
// > ??> @ 0x140825f28
// > ??> @ 0x140826720
// > ??> @ 0x140826ec8
// > ??> @ 0x1408275f8
// > ??> @ 0x140827cb0
// > ??> @ 0x140828408
// > ??> @ 0x140828c50
// > ??> @ 0x140829308
// > ??> @ 0x140829a88
// > ??> @ 0x14082a208
// > ??> @ 0x14082a8c0
// > ??> @ 0x14082af78
// > ??> @ 0x14082b988
// > ??> @ 0x14082c0b8
// > ??> @ 0x14082c770
// > ??> @ 0x14082ce28
// > ??> @ 0x14082d4e0
// > ??> @ 0x14082dcb0
// > ??> @ 0x14082e458
// > ??> @ 0x14082eb10
// > ??> @ 0x14082f1c8
// > ??> @ 0x14082f880
// > ??> @ 0x14082ff38
// > ??> @ 0x1408305f0
// > ??> @ 0x140830ca8
// > ??> @ 0x1408314c8
// > ??> @ 0x140831c48
// > ??> @ 0x1408af1b0
// > ??> @ 0x1408af1c0
// > ??> @ 0x14091d4d4
//
// 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 11:29:10 +0000
//
__int64 __fastcall GameObject::setFlipX(__int64 *a1, char a2)
{
__int64 v3; // rbx
__int64 result; // rax
if ( *((_BYTE *)a1 + 713) != a2 )
{
v3 = *a1;
*((_BYTE *)a1 + 713) = a2;
(*(void (**)(void))(v3 + 128))();
return (*(__int64 (__fastcall **)(__int64 *))(v3 + 120))(a1);
}
return result;
}