//
// GameObject::setFlipY from 0x140198200 to 0x140198243 (67 bytes)
//
// 50 xrefs:
// > ??> @ 0x1405567e8
// > ??> @ 0x140556f58
// > ??> @ 0x14055df90
// > ??> @ 0x14055e610
// > ??> @ 0x1405c86a8
// > ??> @ 0x14060d838
// > ??> @ 0x14060e188
// > ??> @ 0x14060e8a8
// > ??> @ 0x14060f0e0
// > ??> @ 0x14060f788
// > ??> @ 0x14060fe58
// > ??> @ 0x140610510
// > ??> @ 0x140610c58
// > ??> @ 0x1406114b8
// > ??> @ 0x140611bf0
// > ??> @ 0x1406123d8
// > ??> @ 0x140612a80
// > ??> @ 0x140613128
// > ??> @ 0x140613898
// > ??> @ 0x140613f40
// > ??> @ 0x140614728
// > ??> @ 0x140614f60
// > ??> @ 0x1406156a8
// > ??> @ 0x140615d50
// > ??> @ 0x140616498
// > ??> @ 0x140616c58
// > ??> @ 0x140617300
// > ??> @ 0x1406179a8
// > ??> @ 0x140618118
// > ??> @ 0x1406187c0
// > ??> @ 0x140618f08
// > ??> @ 0x1406199a8
// > ??> @ 0x14061a050
// > ??> @ 0x14061a6f8
// > ??> @ 0x14061ae18
// > ??> @ 0x14061b4c0
// > ??> @ 0x14061bc08
// > ??> @ 0x14061c3a0
// > ??> @ 0x14061ca48
// > ??> @ 0x14061d0f0
// > ??> @ 0x14061d798
// > ??> @ 0x14061de40
// > ??> @ 0x14061e4e8
// > ??> @ 0x14061eb90
// > ??> @ 0x14061f3a0
// > ??> @ 0x14061fb38
// > ??> @ 0x140678e54
// > ??> @ 0x140678e64
// > ??> @ 0x1406cbb68
// > ??> @ 0x1406cbb74
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// 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;
}