// // EditorOptionsLayer::onClose from 0x1002d4a68 to 0x1002d4b34 (204 bytes) // // 1 xrefs: // > @ 0x1007df148 // // 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 EditorOptionsLayer::onClose(EditorOptionsLayer *a1, cocos2d::CCObject *a2) { GameManager *v4; // x0 int IntGameVariable; // w21 GameManager *v6; // x0 GameManager *v7; // x0 GameManager *v8; // x0 GameManager *v9; // x0 v4 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v4, "0049"); v6 = GameManager::sharedState(); if ( *(_QWORD *)&a1->m_buttonsPerRow != __PAIR64__(GameManager::getIntGameVariable(v6, "0050"), IntGameVariable) ) { v7 = GameManager::sharedState(); GameManager::setIntGameVariable(v7, "0049", a1->m_buttonsPerRow); v8 = GameManager::sharedState(); GameManager::setIntGameVariable(v8, "0050", a1->m_buttonRows); if ( GameManager::sharedState()->m_levelEditorLayer ) GameManager::sharedState()->m_levelEditorLayer->m_editorUI->m_reloadItems = 1; } if ( GameManager::sharedState()->m_levelEditorLayer ) { v9 = GameManager::sharedState(); LevelEditorLayer::updatePreviewParticles(v9->m_levelEditorLayer); } SetupTriggerPopup::onClose(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source