// // LevelEditorLayer::findGameObject from 0x366222 to 0x366256 (52 bytes) // // 1 xrefs: // > EditorUI::findAndSelectObject @ 0x3a2ea4 // // 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 // GameObject *LevelEditorLayer::findGameObject(LevelEditorLayer *a1, int a2) { GameObject *result; // r0 float m_fRotationX; // r3 GameObject **v4; // r2 GameObject **v5; // r3 GameObject *v6; // t1 result = (GameObject *)a1->m_objects; if ( result ) { m_fRotationX = result->m_fRotationX; result = *(GameObject **)LODWORD(m_fRotationX); if ( *(_DWORD *)LODWORD(m_fRotationX) ) { v4 = *(GameObject ***)(LODWORD(m_fRotationX) + 12); v5 = &v4[(_DWORD)result + 0x3FFFFFFF]; while ( v4 <= v5 ) { v6 = *v4++; result = v6; if ( !v6 || result->m_uniqueID == a2 ) return result; } return nullptr; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source