{"type": "func", "start": 8313300, "end": 8313588, "name": "EditLevelLayer::confirmMoveToBottom", "pseudocode": "// \n// EditLevelLayer::confirmMoveToBottom from 0x7ed9d4 to 0x7edaf4 (288 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x57f70\n// > EditLevelLayer::init @ 0x7f0d54\n// > <???> @ 0x1542038\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:54:33 +0000\n// \n\n__int64 __fastcall EditLevelLayer::confirmMoveToBottom(EditLevelLayer *this, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x20\n  _QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF\n  void *v6; // [xsp+30h] [xbp+30h]\n\n  v6 = (void *)operator new(0x40u);\n  v5[1] = 57;\n  v5[0] = 65;\n  strcpy((char *)v6, \"Move this level to the bottom of the created levels list?\");\n  v3 = FLAlertLayer::create(\n         (__int64)this + 416,\n         (cocos2d::CCLabelBMFont *)\"Move to Bottom\",\n         (char *)v5,\n         (ButtonSprite *)\"NO\",\n         (ButtonSprite *)\"YES\",\n         300.0);\n  if ( (v5[0] & 1) != 0 )\n    operator delete(v6);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 12);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditLevelLayer::confirmMoveToBottom from 0x7ed9d4 to 0x7edaf4 (288 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x57f70\n; > EditLevelLayer::init @ 0x7f0d54\n; > <???> @ 0x1542038\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:54:33 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x7ed9d4\nMOV             X29, SP                                                ; +0x4, 0x7ed9d8\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x7ed9dc\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x7ed9e0\nMOV             X20, X0                                                ; +0x10, 0x7ed9e4\nMOV             X0, #0x40 ; '@'; unsigned __int64                      ; +0x14, 0x7ed9e8\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x18, 0x7ed9ec\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x1c, 0x7ed9f0\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x7ed9f4\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x24, 0x7ed9f8\nLDR             X1, [X1]                                               ; +0x28, 0x7ed9fc\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x2c, 0x7eda00\nBL              _Znwm; operator new(ulong)                             ; +0x30, 0x7eda04\nMOV             X5, X0                                                 ; +0x34, 0x7eda08\nADRP            X1, #aMoveThisLevelT_1@PAGE; \"Move this level to the bottom of the cr\"... ; +0x38, 0x7eda0c\nSTR             X5, [X29,#0x40+var_10]                                 ; +0x3c, 0x7eda10\nADD             X1, X1, #aMoveThisLevelT_1@PAGEOFF; \"Move this level to the bottom of the cr\"... ; +0x40, 0x7eda14\nMOV             X2, #0x39 ; '9'                                        ; +0x44, 0x7eda18\nLDR             S0, =0x43960000                                        ; +0x48, 0x7eda1c\nSTR             X2, [X29,#0x40+var_18]                                 ; +0x4c, 0x7eda20\nADD             X0, X20, #0x1A0                                        ; +0x50, 0x7eda24\nADD             X2, X29, #0x40+var_20                                  ; +0x54, 0x7eda28\nLDR             X3, [X1,#(aMoveThisLevelT_1+0x30 - 0x1145040)]; \"els list?\" ; +0x58, 0x7eda2c\nLDRB            W4, [X1,#(aMoveThisLevelT_1+0x38 - 0x1145040)]; \"?\"    ; +0x5c, 0x7eda30\nLDP             X10, X11, [X1]; \"Move this level to the bottom of the cr\"... ; +0x60, 0x7eda34\nLDP             X8, X9, [X1,#(aMoveThisLevelT_1+0x10 - 0x1145040)]; \"to the bottom of the created levels lis\"... ; +0x64, 0x7eda38\nLDP             X6, X7, [X1,#(aMoveThisLevelT_1+0x20 - 0x1145040)]; \" the created levels list?\" ; +0x68, 0x7eda3c\nMOV             X1, #0x41 ; 'A'                                        ; +0x6c, 0x7eda40\nSTR             X3, [X5,#0x30]                                         ; +0x70, 0x7eda44\nSTR             X1, [X29,#0x40+var_20]                                 ; +0x74, 0x7eda48\nADRP            X3, #aNo_0@PAGE; \"NO\"                                  ; +0x78, 0x7eda4c\nADRP            X1, #aMoveToBottom@PAGE; \"Move to Bottom\"              ; +0x7c, 0x7eda50\nSTRB            W4, [X5,#0x38]                                         ; +0x80, 0x7eda54\nADRP            X4, #aYes_0@PAGE; \"YES\"                                ; +0x84, 0x7eda58\nADD             X1, X1, #aMoveToBottom@PAGEOFF; \"Move to Bottom\"       ; +0x88, 0x7eda5c\nADD             X3, X3, #aNo_0@PAGEOFF; \"NO\"                           ; +0x8c, 0x7eda60\nADD             X4, X4, #aYes_0@PAGEOFF; \"YES\"                         ; +0x90, 0x7eda64\nSTRB            WZR, [X5,#0x39]                                        ; +0x94, 0x7eda68\nSTP             X10, X11, [X5]                                         ; +0x98, 0x7eda6c\nSTP             X8, X9, [X5,#0x10]                                     ; +0x9c, 0x7eda70\nSTP             X6, X7, [X5,#0x20]                                     ; +0xa0, 0x7eda74\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0xa4, 0x7eda78\nMOV             X20, X0                                                ; +0xa8, 0x7eda7c\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0xac, 0x7eda80\nTBZ             W0, #0, loc_7EDA90                                     ; +0xb0, 0x7eda84\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0xb4, 0x7eda88\nBL              _ZdlPv; operator delete(void *)                        ; +0xb8, 0x7eda8c\nLDR             X2, [X20]                                              ; +0xbc, 0x7eda90\nMOV             X0, X20                                                ; +0xc0, 0x7eda94\nMOV             W1, #0xC                                               ; +0xc4, 0x7eda98\nLDR             X2, [X2,#0x48]                                         ; +0xc8, 0x7eda9c\nBLR             X2                                                     ; +0xcc, 0x7edaa0\nLDR             X1, [X20]                                              ; +0xd0, 0x7edaa4\nMOV             X0, X20                                                ; +0xd4, 0x7edaa8\nLDR             X1, [X1,#0x520]                                        ; +0xd8, 0x7edaac\nBLR             X1                                                     ; +0xdc, 0x7edab0\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xe0, 0x7edab4\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xe4, 0x7edab8\nLDR             X0, [X19]                                              ; +0xe8, 0x7edabc\nCMP             X1, X0                                                 ; +0xec, 0x7edac0\nB.NE            loc_7EDAD4                                             ; +0xf0, 0x7edac4\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xf4, 0x7edac8\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xf8, 0x7edacc\nRET                                                                    ; +0xfc, 0x7edad0\nBL              .__stack_chk_fail                                      ; +0x100, 0x7edad4\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0x104, 0x7edad8\nMOV             X19, X0                                                ; +0x108, 0x7edadc\nTBZ             W1, #0, loc_7EDAEC                                     ; +0x10c, 0x7edae0\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x110, 0x7edae4\nBL              _ZdlPv; operator delete(void *)                        ; +0x114, 0x7edae8\nMOV             X0, X19                                                ; +0x118, 0x7edaec\nBL              _Unwind_Resume                                         ; +0x11c, 0x7edaf0", "xrefs": ["<???> @ 0x57f70", "EditLevelLayer::init @ 0x7f0d54", "<???> @ 0x1542038"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}