// // GameObject::isFacingLeft from 0x1401a19d0 to 0x1401a1a89 (185 bytes) // // 4 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x140215906 // > PlayerObject::ringJump @ 0x140399005 // > PlayerObject::bumpPlayer @ 0x14039f6f3 // > @ 0x1406cbf94 // // 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 // bool GameObject::isFacingLeft(GameObject *a1) { int v2; // edi bool v3; // r8 bool v4; // r9 bool result; // al int v6; // eax v2 = (int)a1->getObjectRotation(a1); v3 = a1->isFlipY(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; if ( !v3 ) return v4; } return result; }