// // GameObject::isFacingLeft from 0x14029e8e0 to 0x14029e99a (186 bytes) // // 4 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x14031cc94 // > PlayerObject::ringJump @ 0x1404f7226 // > PlayerObject::bumpPlayer @ 0x1404fdb2c // > @ 0x14091d90c // // 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:14 +0000 // char __fastcall GameObject::isFacingLeft(__int64 a1) { int v2; // edi char v3; // r8 char v4; // r9 char result; // al int v6; // eax v2 = (int)(*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 1424LL))(a1); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1280LL))(a1); v4 = 0; if ( v2 == 90 * (v2 / 90) ) { v6 = v2 + 360; if ( v2 >= 0 ) v6 = v2; return v6 == 270 && !v3 || v6 == 90 && v3; } else { if ( (unsigned int)(v2 - 91) <= 0xB2 || (unsigned int)(v2 + 269) <= 0xB2 ) v4 = 1; result = v4 ^ 1; if ( !v3 ) return v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source