{"type": "func", "start": 4297056480, "end": 4297056541, "name": "EditLevelLayer::onDelete", "pseudocode": "// \n// EditLevelLayer::onDelete from 0x1001fe0e0 to 0x1001fe11d (61 bytes)\n// \n// 0 xrefs:\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 __fastcall EditLevelLayer::onDelete(EditLevelLayer *a1)\n{\n  GameLevelManager *v1; // rax\n  GJGameLevel *m_level; // rsi\n\n  ((void (__fastcall *)(cocos2d::CCMenu *, _QWORD))a1->m_buttonMenu->setEnabled)(a1->m_buttonMenu, 0);\n  v1 = GameLevelManager::sharedState();\n  m_level = a1->m_level;\n  GameLevelManager::deleteLevel(v1, m_level);\n  EditLevelLayer::onBack(a1, m_level);\n}", "assembly": "; \n; EditLevelLayer::onDelete from 0x1001fe0e0 to 0x1001fe11d (61 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x1001fe0e0\nmov     rbp, rsp                                                       ; +0x1, 0x1001fe0e1\npush    rbx                                                            ; +0x4, 0x1001fe0e4\npush    rax                                                            ; +0x5, 0x1001fe0e5\nmov     rbx, rdi                                                       ; +0x6, 0x1001fe0e6\nmov     rdi, [rdi+1C0h]                                                ; +0x9, 0x1001fe0e9\nmov     rax, [rdi]                                                     ; +0x10, 0x1001fe0f0\nxor     esi, esi                                                       ; +0x13, 0x1001fe0f3\ncall    qword ptr [rax+4E8h]                                           ; +0x15, 0x1001fe0f5\ncall    GameLevelManager__sharedState                                  ; +0x1b, 0x1001fe0fb\nmov     rsi, [rbx+1C8h]                                                ; +0x20, 0x1001fe100\nmov     rdi, rax                                                       ; +0x27, 0x1001fe107\ncall    GameLevelManager__deleteLevel                                  ; +0x2a, 0x1001fe10a\nmov     rdi, rbx                                                       ; +0x2f, 0x1001fe10f\nadd     rsp, 8                                                         ; +0x32, 0x1001fe112\npop     rbx                                                            ; +0x36, 0x1001fe116\npop     rbp                                                            ; +0x37, 0x1001fe117\njmp     EditLevelLayer__onBack                                         ; +0x38, 0x1001fe118", "xrefs": [], "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"}