//
// GameObject::setFlipY from 0x1402953d0 to 0x140295413 (67 bytes)
//
// 51 xrefs:
// > ??> @ 0x140754ab0
// > ??> @ 0x140755230
// > ??> @ 0x14075e5f8
// > ??> @ 0x14075ed00
// > ??> @ 0x1407d4c10
// > ??> @ 0x14081f108
// > ??> @ 0x14081f838
// > ??> @ 0x140820080
// > ??> @ 0x1408207d8
// > ??> @ 0x140820e90
// > ??> @ 0x1408215f8
// > ??> @ 0x140821cb0
// > ??> @ 0x140822390
// > ??> @ 0x140822a48
// > ??> @ 0x140823358
// > ??> @ 0x140823aa0
// > ??> @ 0x140824158
// > ??> @ 0x140824950
// > ??> @ 0x140825008
// > ??> @ 0x1408256c0
// > ??> @ 0x140825f30
// > ??> @ 0x140826728
// > ??> @ 0x140826ed0
// > ??> @ 0x140827600
// > ??> @ 0x140827cb8
// > ??> @ 0x140828410
// > ??> @ 0x140828c58
// > ??> @ 0x140829310
// > ??> @ 0x140829a90
// > ??> @ 0x14082a210
// > ??> @ 0x14082a8c8
// > ??> @ 0x14082af80
// > ??> @ 0x14082b990
// > ??> @ 0x14082c0c0
// > ??> @ 0x14082c778
// > ??> @ 0x14082ce30
// > ??> @ 0x14082d4e8
// > ??> @ 0x14082dcb8
// > ??> @ 0x14082e460
// > ??> @ 0x14082eb18
// > ??> @ 0x14082f1d0
// > ??> @ 0x14082f888
// > ??> @ 0x14082ff40
// > ??> @ 0x1408305f8
// > ??> @ 0x140830cb0
// > ??> @ 0x1408314d0
// > ??> @ 0x140831c50
// > ??> @ 0x1408af1d4
// > ??> @ 0x1408af1e4
// > ??> @ 0x14091d4ec
// > ??> @ 0x14091d4f8
//
// 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
//
// Merged with: GameObject::setFlipY, PlayerObject::setFlipY
__int64 __fastcall GameObject::setFlipY(__int64 *a1, char a2)
{
__int64 v3; // rbx
__int64 result; // rax
if ( *((_BYTE *)a1 + 714) != a2 )
{
v3 = *a1;
*((_BYTE *)a1 + 714) = a2;
(*(void (**)(void))(v3 + 144))();
return (*(__int64 (__fastcall **)(__int64 *))(v3 + 136))(a1);
}
return result;
}