//
// GameObject::isFacingLeft from 0x10069b690 to 0x10069b724 (148 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::gravBumpPlayer @ 0x100105c86
// > PlayerObject::ringJump @ 0x1004017de
// > PlayerObject::bumpPlayer @ 0x100407906
//
// 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 12:35:16 +0000
//
char __fastcall GameObject::isFacingLeft(__int64 a1)
{
int v1; // r14d
char v2; // al
int v4; // ecx
v1 = (int)(*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 1576LL))(a1);
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1432LL))(a1);
if ( __ROR4__(-1527099483 * v1 + 47721858, 1) >= 0x2D82D83u )
return ((unsigned int)(v1 - 91) < 0xB3 || (unsigned int)(v1 + 269) < 0xB3) ^ v2;
v4 = v1 + 360;
if ( v1 >= 0 )
v4 = v1;
return v2 & (v4 == 90) | (v4 == 270) & (v2 ^ 1);
}