// // EditorPauseLayer::toggleGridOnTop from 0x3ffdd4 to 0x3ffe22 (78 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 EditorPauseLayer::toggleGridOnTop(EditorPauseLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // r0 GameManager *v4; // r0 _BOOL4 GameVariable; // r6 cocos2d::CCNode *v6; // r0 int v7; // r2 v3 = GameManager::sharedState(); GameManager::toggleGameVariable(v3, "0039"); v4 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v4, "0039"); v6 = a1->m_editorLayer->m_drawGridLayer->getParent(a1->m_editorLayer->m_drawGridLayer); v7 = 1399; if ( !GameVariable ) v7 = -1599; v6->reorderChild(v6, a1->m_editorLayer->m_drawGridLayer, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source