// // SetGroupIDLayer::onAddGroupParent from 0x509ad0 to 0x509b28 (88 bytes) // // 0 xrefs: // // 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 SetGroupIDLayer::onAddGroupParent(SetGroupIDLayer *a1, cocos2d::CCObject *a2) { GameObject *m_targetObject; // r0 int v4; // r0 GameManager *v5; // r0 GameManager *v6; // r0 m_targetObject = a1->m_targetObject; if ( m_targetObject ) { v4 = m_targetObject->addToGroup(m_targetObject, a1->m_groupIDValue); if ( v4 == 1 ) { v5 = GameManager::sharedState(); v5->m_levelEditorLayer->addToGroup(v5->m_levelEditorLayer, a1->m_targetObject, a1->m_groupIDValue, 0); } else if ( !v4 ) { LABEL_6: SetGroupIDLayer::updateGroupIDButtons(a1); return; } v6 = GameManager::sharedState(); GJBaseGameLayer::setGroupParent(v6->m_levelEditorLayer, a1->m_targetObject, a1->m_groupIDValue); goto LABEL_6; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source