{"type": "func", "start": 4851156, "end": 4851198, "name": "EditLevelLayer::onDelete", "pseudocode": "// \n// EditLevelLayer::onDelete from 0x4a05d4 to 0x4a05fe (42 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::FLAlert_Clicked @ 0x4a2192\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:49:49 +0000\n// \n\nint __fastcall EditLevelLayer::onDelete(EditLevelLayer *this)\n{\n  GameLevelManager *v2; // r0\n  GameLevelManager *v3; // r0\n  GJSearchObject *v4; // r2\n  int v5; // r3\n\n  v2 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 86) + 636))(\n                             *((_DWORD *)this + 86),\n                             0);\n  v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);\n  GameLevelManager::deleteLevel(v3, *((GJGameLevel **)this + 87));\n  return EditLevelLayer::onBack(this, nullptr, v4, v5);\n}", "assembly": "; \n; EditLevelLayer::onDelete from 0x4a05d4 to 0x4a05fe (42 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::FLAlert_Clicked @ 0x4a2192\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:49:49 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x4a05d4\nMOV             R4, R0                                                 ; +0x2, 0x4a05d6\nLDR.W           R0, [R0,#0x158]                                        ; +0x4, 0x4a05d8\nMOVS            R1, #0                                                 ; +0x8, 0x4a05dc\nLDR             R3, [R0]                                               ; +0xa, 0x4a05de\nLDR.W           R3, [R3,#0x27C]                                        ; +0xc, 0x4a05e0\nBLX             R3                                                     ; +0x10, 0x4a05e4\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x12, 0x4a05e6\nLDR.W           R1, [R4,#0x15C]; GJGameLevel *                         ; +0x16, 0x4a05ea\nBL              _ZN16GameLevelManager11deleteLevelEP11GJGameLevel; GameLevelManager::deleteLevel(GJGameLevel *) ; +0x1a, 0x4a05ee\nMOV             R0, R4; this                                           ; +0x1e, 0x4a05f2\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x20, 0x4a05f4\nPOP.W           {R4,LR}                                                ; +0x22, 0x4a05f6\nB.W             _ZN14EditLevelLayer6onBackEPN7cocos2d8CCObjectE; EditLevelLayer::onBack(cocos2d::CCObject *) ; +0x26, 0x4a05fa", "xrefs": ["EditLevelLayer::FLAlert_Clicked @ 0x4a2192"], "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"}