{"type": "func", "start": 3899336, "end": 3899378, "name": "EditLevelLayer::onDelete", "pseudocode": "// \n// EditLevelLayer::onDelete from 0x3b7fc8 to 0x3b7ff2 (42 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::FLAlert_Clicked @ 0x3b80ea\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditLevelLayer::onDelete(EditLevelLayer *a1)\n{\n  GameLevelManager *v2; // r0\n\n  a1->m_buttonMenu->setEnabled(a1->m_buttonMenu, 0);\n  v2 = GameLevelManager::sharedState();\n  GameLevelManager::deleteLevel(v2, a1->m_level);\n  EditLevelLayer::onBack(a1, nullptr);\n}", "assembly": "; \n; EditLevelLayer::onDelete from 0x3b7fc8 to 0x3b7ff2 (42 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::FLAlert_Clicked @ 0x3b80ea\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R4,LR}                                                ; +0x0, 0x3b7fc8\nMOV             R4, R0                                                 ; +0x2, 0x3b7fca\nLDR.W           R0, [R0,#0x150]                                        ; +0x4, 0x3b7fcc\nMOVS            R1, #0                                                 ; +0x8, 0x3b7fd0\nLDR             R3, [R0]                                               ; +0xa, 0x3b7fd2\nLDR.W           R3, [R3,#0x274]                                        ; +0xc, 0x3b7fd4\nBLX             R3                                                     ; +0x10, 0x3b7fd8\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x12, 0x3b7fda\nLDR.W           R1, [R4,#0x154]; GJGameLevel *                         ; +0x16, 0x3b7fde\nBL              _ZN16GameLevelManager11deleteLevelEP11GJGameLevel; GameLevelManager::deleteLevel(GJGameLevel *) ; +0x1a, 0x3b7fe2\nMOV             R0, R4; this                                           ; +0x1e, 0x3b7fe6\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x20, 0x3b7fe8\nPOP.W           {R4,LR}                                                ; +0x22, 0x3b7fea\nB.W             _ZN14EditLevelLayer6onBackEPN7cocos2d8CCObjectE; EditLevelLayer::onBack(cocos2d::CCObject *) ; +0x26, 0x3b7fee", "xrefs": ["EditLevelLayer::FLAlert_Clicked @ 0x3b80ea"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}