{"type": "func", "start": 7789596, "end": 7789638, "name": "DeathMarkerSettingsPopup::onToggleLive", "pseudocode": "// \n// DeathMarkerSettingsPopup::onToggleLive from 0x76dc1c to 0x76dc46 (42 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:59:13 +0000\n// \n\nGameManager *__fastcall DeathMarkerSettingsPopup::onToggleLive(DeathMarkerSettingsPopup *this, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // r0\n  GameManager *v3; // r0\n  GameManager *result; // r0\n  int v5; // r0\n\n  v2 = (GameManager *)GameManager::sharedState(this);\n  v3 = (GameManager *)GameManager::toggleGameVariable(v2, \"0216\");\n  result = (GameManager *)GameManager::sharedState(v3);\n  if ( *((_DWORD *)result + 101) )\n  {\n    v5 = GameManager::sharedState(result);\n    return (GameManager *)PlayLayer::dtLiveMarkersChanged(*(PlayLayer **)(v5 + 404));\n  }\n  return result;\n}", "assembly": "; \n; DeathMarkerSettingsPopup::onToggleLive from 0x76dc1c to 0x76dc46 (42 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:59:13 +0000\n; \nPUSH            {R3,LR}                                                ; +0x0, 0x76dc1c\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2, 0x76dc1e\nLDR             R1, =(a0216 - 0x76DC28); \"0216\"                        ; +0x6, 0x76dc22\nADD             R1, PC; \"0216\"                                         ; +0x8, 0x76dc24\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xa, 0x76dc26\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xe, 0x76dc2a\nLDR.W           R3, [R0,#0x194]                                        ; +0x12, 0x76dc2e\nCBZ             R3, locret_76DC44                                      ; +0x16, 0x76dc32\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x76dc34\nPOP.W           {R3,LR}                                                ; +0x1c, 0x76dc38\nLDR.W           R0, [R0,#0x194]; this                                  ; +0x20, 0x76dc3c\nB.W             _ZN9PlayLayer20dtLiveMarkersChangedEv; PlayLayer::dtLiveMarkersChanged(void) ; +0x24, 0x76dc40\nPOP             {R3,PC}                                                ; +0x28, 0x76dc44", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}