// // EditorPauseLayer::toggleGridOnTop from 0x78c1d8 to 0x78c254 (124 bytes) // // 1 xrefs: // > @ 0xa9638 // // 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; // x0 GameManager *v4; // x0 _BOOL4 GameVariable; // w19 cocos2d::CCNode *v6; // x0 __int64 v7; // x2 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); if ( GameVariable ) v7 = 1399; else v7 = 4294965697LL; v6->reorderChild(v6, a1->m_editorLayer->m_drawGridLayer, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source