// // EditorPauseLayer::toggleGridOnTop from 0x50905c to 0x5090aa (78 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::toggleGridOnTop(EditorPauseLayer *this, cocos2d::CCObject *a2) { GameManager *v3; // r0 GameManager *v4; // r0 GameManager *v5; // r0 int GameVariable; // r6 int v7; // r0 int v8; // r2 v3 = (GameManager *)GameManager::sharedState(this); v4 = (GameManager *)GameManager::toggleGameVariable(v3, "0039"); v5 = (GameManager *)GameManager::sharedState(v4); GameVariable = GameManager::getGameVariable(v5, "0039"); v7 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 114) + 11880) + 256))(*(_DWORD *)(*((_DWORD *)this + 114) + 11880)); v8 = 1399; if ( !GameVariable ) v8 = -1599; return (*(int (__fastcall **)(int, _DWORD, int))(*(_DWORD *)v7 + 296))( v7, *(_DWORD *)(*((_DWORD *)this + 114) + 11880), v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source