//
// GameObject::updateIsOriented from 0x1005c9d30 to 0x1005c9dc1 (145 bytes)
//
// 2 xrefs:
// > PlayLayer::addObject @ 0x1000b1fdb
// > LevelEditorLayer::onPlaytest @ 0x1000f2430
//
// 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 __fastcall GameObject::updateIsOriented(GameObject *a1)
{
a1->m_shouldUseOuterOb = 0;
switch ( a1->m_objectType )
{
case Solid:
case Breakable:
case Slope:
if ( a1->m_isNoTouch )
goto LABEL_3;
break;
case Decoration:
return;
default:
LABEL_3:
if ( __ROR4__(-1527099483 * (int)((float (__fastcall *)(GameObject *))a1->getRotation)(a1) + 47721858, 1) >= 0x2D82D83u
&& a1->m_objectRadius <= 0.0 )
{
a1->m_shouldUseOuterOb = 1;
((void (__fastcall *)(GameObject *))a1->updateOrientedBox)(a1);
((void (__fastcall *)(GameObject *))a1->getObjectRect)(a1);
}
break;
}
}