// // GameObject::updateIsOriented from 0x1401a1730 to 0x1401a17c4 (148 bytes) // // 3 xrefs: // > LevelEditorLayer::onPlaytest @ 0x1402e0049 // > PlayLayer::addObject @ 0x1403addb7 // > @ 0x1406cbf70 // // 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 // void GameObject::updateIsOriented(GameObject *a1) { GameObjectType m_objectType; // eax int v3; // ecx float v4; // xmm0_4 GameObject_vtbl *v5; // rax m_objectType = a1->m_objectType; a1->m_shouldUseOuterOb = 0; if ( m_objectType != Decoration ) { if ( (unsigned int)m_objectType > Slope || (v3 = 35651585, !_bittest(&v3, m_objectType)) || a1->m_isNoTouch ) { v4 = a1->getRotation(a1); if ( (int)v4 != 90 * ((int)v4 / 90) && a1->m_objectRadius <= 0.0 ) { v5 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_shouldUseOuterOb = 1; v5->updateOrientedBox(a1); a1->getObjectRect_0(a1); } } } }