// // GameObject::isFacingLeft from 0x648334 to 0x648400 (204 bytes) // // 4 xrefs: // > PlayerObject::bumpPlayer @ 0x63747c // > PlayerObject::ringJump @ 0x63c0a0 // > GJBaseGameLayer::gravBumpPlayer @ 0x88b530 // > @ 0x2b7d0 // // 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) { float v2; // s0 GameObject_vtbl *v3; // x1 GameObject *v4; // x0 int v5; // w19 unsigned int v6; // w2 bool result; // w0 int v8; // w19 v2 = a1->getObjectRotation(a1); v3 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v4 = a1; v5 = (int)v2; v6 = v3->isFlipY(v4); if ( v5 % 90 ) { result = 1; if ( (unsigned int)(v5 - 91) > 0xB2 ) result = (unsigned int)(v5 + 269) <= 0xB2; if ( v6 ) return !result; } else { v8 = v5 + (v5 < 0 ? 0x168 : 0); result = 1; if ( (v8 == 270) <= v6 ) return v6 & (v8 == 90); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source