// // GameObject::isFacingDown from 0x1401a1910 to 0x1401a19c6 (182 bytes) // // 4 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x14021590d // > PlayerObject::ringJump @ 0x140399021 // > PlayerObject::bumpPlayer @ 0x14039f712 // > @ 0x1406cbf88 // // 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::isFacingDown(GameObject *a1) { int v2; // edi bool v3; // r9 bool v4; // r8 bool result; // al int v6; // ecx v2 = (int)a1->getObjectRotation(a1); v3 = a1->isFlipY(a1); v4 = 0; if ( v2 == 90 * (v2 / 90) ) { v6 = -v2; if ( v2 > 0 ) v6 = v2; if ( v3 ) { if ( v6 == 180 ) return 0; } else if ( v6 != 180 ) { return 0; } return 1; } if ( (unsigned int)(v2 - 91) <= 0xB2 || (unsigned int)(v2 + 269) <= 0xB2 ) v4 = 1; result = !v4; if ( !v3 ) return v4; return result; }