//
// EditorPauseLayer::toggleEditorGround from 0x508fe0 to 0x50900c (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:51:26 +0000
//
int __fastcall EditorPauseLayer::toggleEditorGround(LevelEditorLayer **this, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
GameManager *v4; // r0
LevelEditorLayer *v5; // r5
GameManager *v6; // r0
char GameVariable; // r1
v3 = (GameManager *)GameManager::sharedState((GameManager *)this);
v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0037");
v5 = *(this + 114);
v6 = (GameManager *)GameManager::sharedState(v4);
GameVariable = GameManager::getGameVariable(v6, "0037");
return LevelEditorLayer::toggleGround(v5, GameVariable);
}