// // SetGroupIDLayer::onAddGroupParent from 0x1003152f0 to 0x100315374 (132 bytes) // // 1 xrefs: // > SetGroupIDLayer::init @ 0x100313297 // // 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 SetGroupIDLayer::onAddGroupParent(SetGroupIDLayer *a1, cocos2d::CCObject *a2) { GameObject *m_targetObject; // rdi int v4; // eax GameManager *v5; // rax GameManager *v6; // rax m_targetObject = a1->m_targetObject; if ( m_targetObject ) { v4 = ((__int64 (__fastcall *)(GameObject *, _QWORD))m_targetObject->addToGroup)( m_targetObject, (unsigned int)a1->m_groupIDValue); if ( v4 ) { if ( v4 == 1 ) { v5 = GameManager::sharedState(); ((void (__fastcall *)(LevelEditorLayer *, GameObject *, _QWORD, _QWORD))v5->m_levelEditorLayer->addToGroup)( v5->m_levelEditorLayer, a1->m_targetObject, (unsigned int)a1->m_groupIDValue, 0); } v6 = GameManager::sharedState(); GJBaseGameLayer::setGroupParent(v6->m_levelEditorLayer, a1->m_targetObject, a1->m_groupIDValue); } SetGroupIDLayer::updateGroupIDButtons(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source