// // EditorUI::getGroupInfo from 0x37f132 to 0x37f1c2 (144 bytes) // // 3 xrefs: // > EditorUI::editButtonUsable @ 0x37f1f2 // > EditorUI::editButton2Usable @ 0x37f5ac // > EditorUI::editObjectSpecial @ 0x37f764 // // 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 EditorUI::getGroupInfo(EditorUI *a1, GameObject *a2, cocos2d::CCArray *a3, int *a4, int *a5, int *a6) { int m_objectID; // r7 GameObjectClassType m_classType; // r6 GameObjectType m_savedObjectType; // r4 unsigned int v11; // r5 _DWORD *v12; // r0 if ( a2 ) { m_objectID = a2->m_objectID; m_classType = a2->m_classType; m_savedObjectType = a2->m_savedObjectType; } else if ( a3 ) { m_savedObjectType = -1; v11 = 0; m_classType = -1; m_objectID = -1; while ( v11 < cocos2d::CCArray::count(a3) ) { v12 = (_DWORD *)cocos2d::CCArray::objectAtIndex(a3, v11); if ( m_objectID ) { if ( m_objectID == -1 ) { m_objectID = v12[221]; } else if ( v12[221] != m_objectID ) { m_objectID = 0; } } if ( m_classType ) { if ( m_classType == -1 ) { m_classType = v12[269]; } else if ( v12[269] != m_classType ) { m_classType = Game; } } if ( m_savedObjectType ) { if ( m_savedObjectType == -1 ) { m_savedObjectType = v12[195]; } else if ( v12[195] != m_savedObjectType ) { m_savedObjectType = Solid; } } ++v11; } } else { m_savedObjectType = -1; m_classType = -1; m_objectID = -1; } *a4 = m_objectID; *a5 = m_classType; *a6 = m_savedObjectType; }
GD Web Decomp Icon

GD Web Decomp

Raw Source