// // GameObject::getObjectDirection from 0x355d58 to 0x355d90 (56 bytes) // // 3 xrefs: // > LevelTools::sortChannelOrderObjects @ 0x32c902 // > LevelEditorLayer::updateGameObjects @ 0x375a4c // > LevelEditorLayer::updateGameObjects @ 0x375a56 // // 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 // int GameObject::getObjectDirection(GameObject *a1) { unsigned int v2; // r3 int result; // r0 int v4; // r3 GameObject::determineSlopeDirection(a1); v2 = a1->m_slopeDirection - 2; if ( v2 > 5 ) return 4; result = 1; v4 = 1 << v2; if ( (v4 & 0x24) != 0 ) return 2; if ( (v4 & 0x18) == 0 ) { if ( (v4 & 3) != 0 ) return 3; else return 4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source