{"type": "func", "start": 7562956, "end": 7563256, "name": "CommentCell::onConfirmDelete", "pseudocode": "// \n// CommentCell::onConfirmDelete from 0x7366cc to 0x7367f8 (300 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x5f668\n// > CommentCell::loadFromComment @ 0x74b7b8\n// > <???> @ 0x15423c0\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:52:39 +0000\n// \n\n__int64 __fastcall CommentCell::onConfirmDelete(CommentCell *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  if ( *((_QWORD *)this + 73) )\n  {\n    v6 = (void *)operator new(0x40u);\n    v5[1] = 53;\n    v5[0] = 65;\n    strcpy((char *)v6, \"Are you sure you want to <cr>delete</c> this comment?\");\n    v3 = FLAlertLayer::create(\n           (__int64)this + 560,\n           (cocos2d::CCLabelBMFont *)\"Delete Comment\",\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, _QWORD))(*(_QWORD *)v3 + 72LL))(v3, 0);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; CommentCell::onConfirmDelete from 0x7366cc to 0x7367f8 (300 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x5f668\n; > CommentCell::loadFromComment @ 0x74b7b8\n; > <???> @ 0x15423c0\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:52:39 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x7366cc\nMOV             X29, SP                                                ; +0x4, 0x7366d0\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x7366d4\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x7366d8\nMOV             X20, X0                                                ; +0x10, 0x7366dc\nLDR             X0, [X0,#0x248]                                        ; +0x14, 0x7366e0\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0x7366e4\nLDR             X1, [X1]                                               ; +0x1c, 0x7366e8\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x20, 0x7366ec\nCBZ             X0, loc_7367AC                                         ; +0x24, 0x7366f0\nMOV             X0, #0x40 ; '@'; unsigned __int64                      ; +0x28, 0x7366f4\nSTR             XZR, [X29,#0x40+var_20]                                ; +0x2c, 0x7366f8\nSTR             XZR, [X29,#0x40+var_18]                                ; +0x30, 0x7366fc\nSTR             XZR, [X29,#0x40+var_10]                                ; +0x34, 0x736700\nBL              _Znwm; operator new(ulong)                             ; +0x38, 0x736704\nADRP            X1, #aAreYouSureYouW_5@PAGE; \"Are you sure you want to <cr>delete</c>\"... ; +0x3c, 0x736708\nMOV             X5, X0                                                 ; +0x40, 0x73670c\nADD             X1, X1, #aAreYouSureYouW_5@PAGEOFF; \"Are you sure you want to <cr>delete</c>\"... ; +0x44, 0x736710\nSTR             X5, [X29,#0x40+var_10]                                 ; +0x48, 0x736714\nLDR             S0, =0x43960000                                        ; +0x4c, 0x736718\nMOV             X2, #0x35 ; '5'                                        ; +0x50, 0x73671c\nSTR             X2, [X29,#0x40+var_18]                                 ; +0x54, 0x736720\nADD             X0, X20, #0x230                                        ; +0x58, 0x736724\nLDR             W3, [X1,#(aAreYouSureYouW_5+0x30 - 0x113C4D8)]; \"ment?\" ; +0x5c, 0x736728\nADD             X2, X29, #0x40+var_20                                  ; +0x60, 0x73672c\nLDRB            W4, [X1,#(aAreYouSureYouW_5+0x34 - 0x113C4D8)]; \"?\"    ; +0x64, 0x736730\nLDP             X10, X11, [X1]; \"Are you sure you want to <cr>delete</c>\"... ; +0x68, 0x736734\nLDP             X8, X9, [X1,#(aAreYouSureYouW_5+0x10 - 0x113C4D8)]; \" want to <cr>delete</c> this comment?\" ; +0x6c, 0x736738\nLDP             X6, X7, [X1,#(aAreYouSureYouW_5+0x20 - 0x113C4D8)]; \"ete</c> this comment?\" ; +0x70, 0x73673c\nMOV             X1, #0x41 ; 'A'                                        ; +0x74, 0x736740\nSTR             W3, [X5,#0x30]                                         ; +0x78, 0x736744\nSTR             X1, [X29,#0x40+var_20]                                 ; +0x7c, 0x736748\nADRP            X3, #aNo_0@PAGE; \"NO\"                                  ; +0x80, 0x73674c\nADRP            X1, #aDeleteComment@PAGE; \"Delete Comment\"             ; +0x84, 0x736750\nSTRB            W4, [X5,#0x34]                                         ; +0x88, 0x736754\nADRP            X4, #aYes_0@PAGE; \"YES\"                                ; +0x8c, 0x736758\nADD             X1, X1, #aDeleteComment@PAGEOFF; \"Delete Comment\"      ; +0x90, 0x73675c\nADD             X3, X3, #aNo_0@PAGEOFF; \"NO\"                           ; +0x94, 0x736760\nADD             X4, X4, #aYes_0@PAGEOFF; \"YES\"                         ; +0x98, 0x736764\nSTRB            WZR, [X5,#0x35]                                        ; +0x9c, 0x736768\nSTP             X10, X11, [X5]                                         ; +0xa0, 0x73676c\nSTP             X8, X9, [X5,#0x10]                                     ; +0xa4, 0x736770\nSTP             X6, X7, [X5,#0x20]                                     ; +0xa8, 0x736774\nBL              _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcNSt6__ndk112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEES3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0xac, 0x736778\nMOV             X20, X0                                                ; +0xb0, 0x73677c\nLDRB            W0, [X29,#0x40+var_20]                                 ; +0xb4, 0x736780\nTBNZ            W0, #0, loc_7367CC                                     ; +0xb8, 0x736784\nLDR             X2, [X20]                                              ; +0xbc, 0x736788\nMOV             X0, X20                                                ; +0xc0, 0x73678c\nMOV             W1, #0                                                 ; +0xc4, 0x736790\nLDR             X2, [X2,#0x48]                                         ; +0xc8, 0x736794\nBLR             X2                                                     ; +0xcc, 0x736798\nLDR             X1, [X20]                                              ; +0xd0, 0x73679c\nMOV             X0, X20                                                ; +0xd4, 0x7367a0\nLDR             X1, [X1,#0x520]                                        ; +0xd8, 0x7367a4\nBLR             X1                                                     ; +0xdc, 0x7367a8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xe0, 0x7367ac\nLDR             X1, [X29,#0x40+var_8]                                  ; +0xe4, 0x7367b0\nLDR             X0, [X19]                                              ; +0xe8, 0x7367b4\nCMP             X1, X0                                                 ; +0xec, 0x7367b8\nB.NE            loc_7367D8                                             ; +0xf0, 0x7367bc\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0xf4, 0x7367c0\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0xf8, 0x7367c4\nRET                                                                    ; +0xfc, 0x7367c8\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x100, 0x7367cc\nBL              _ZdlPv; operator delete(void *)                        ; +0x104, 0x7367d0\nB               loc_736788                                             ; +0x108, 0x7367d4\nBL              .__stack_chk_fail                                      ; +0x10c, 0x7367d8\nLDRB            W1, [X29,#0x40+var_20]                                 ; +0x110, 0x7367dc\nMOV             X19, X0                                                ; +0x114, 0x7367e0\nTBZ             W1, #0, loc_7367F0                                     ; +0x118, 0x7367e4\nLDR             X0, [X29,#0x40+var_10]; void *                         ; +0x11c, 0x7367e8\nBL              _ZdlPv; operator delete(void *)                        ; +0x120, 0x7367ec\nMOV             X0, X19                                                ; +0x124, 0x7367f0\nBL              _Unwind_Resume                                         ; +0x128, 0x7367f4", "xrefs": ["<???> @ 0x5f668", "CommentCell::loadFromComment @ 0x74b7b8", "<???> @ 0x15423c0"], "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"}