// // GameObject::isFacingDown from 0x1005c9f10 to 0x1005c9f86 (118 bytes) // // 3 xrefs: // > GJBaseGameLayer::gravBumpPlayer @ 0x10012840e // > PlayerObject::ringJump @ 0x100414780 // > PlayerObject::bumpPlayer @ 0x10041ab47 // // 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 __fastcall GameObject::isFacingDown(GameObject *a1) { int v1; // r14d char v2; // al bool v3; // cl int v4; // ecx v1 = (int)((float (__fastcall *)(GameObject *))a1->getObjectRotation)(a1); v2 = ((__int64 (__fastcall *)(GameObject *))a1->isFlipY)(a1); if ( __ROR4__(-1527099483 * v1 + 47721858, 1) < 0x2D82D83u ) { v4 = -v1; if ( v1 > 0 ) v4 = v1; v3 = v4 == 180; } else { v3 = (unsigned int)(v1 - 91) < 0xB3 || (unsigned int)(v1 + 269) < 0xB3; } return v3 ^ v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source