{"type": "func", "start": 4296247296, "end": 4296247456, "name": "CommentCell::onConfirmDelete", "pseudocode": "// \n// CommentCell::onConfirmDelete from 0x100138800 to 0x1001388a0 (160 bytes)\n// \n// 1 xrefs:\n// > CommentCell::loadFromComment @ 0x10012c5b8\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 10:59:28 +0000\n// \n\n__int64 __fastcall CommentCell::onConfirmDelete(__int64 result)\n{\n  __int64 v1; // x19\n  __int64 v2; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v4; // [xsp+1Fh] [xbp-11h]\n\n  if ( *(_QWORD *)(result + 584) )\n  {\n    v1 = result;\n    sub_100009900(__p, \"Are you sure you want to <cr>delete</c> this comment?\");\n    v2 = FLAlertLayer::create_1(v1 + 560, \"Delete Comment\", __p, \"NO\", \"YES\", 300.0);\n    if ( v4 < 0 )\n      operator delete(__p[0]);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 72LL))(v2, 0);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);\n  }\n  return result;\n}", "assembly": "; \n; CommentCell::onConfirmDelete from 0x100138800 to 0x1001388a0 (160 bytes)\n; \n; 1 xrefs:\n; > CommentCell::loadFromComment @ 0x10012c5b8\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 10:59:28 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100138800\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100138804\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100138808\nADD             X29, SP, #0x30                                         ; +0xc, 0x10013880c\nLDR             X8, [X0,#0x248]                                        ; +0x10, 0x100138810\nCBZ             X8, loc_100138890                                      ; +0x14, 0x100138814\nMOV             X19, X0                                                ; +0x18, 0x100138818\nADRL            X1, aAreYouSureYouW_2; \"Are you sure you want to <cr>delete</c>\"... ; +0x1c, 0x10013881c\nADD             X0, SP, #0x30+__p; int                                 ; +0x24, 0x100138824\nBL              sub_100009900                                          ; +0x28, 0x100138828\nADRL            X1, aDeleteComment; \"Delete Comment\"                   ; +0x2c, 0x10013882c\nADRL            X3, aNo; \"NO\"                                          ; +0x34, 0x100138834\nADRL            X4, aYes; \"YES\"                                        ; +0x3c, 0x10013883c\nMOV             W8, #0x43960000                                        ; +0x44, 0x100138844\nFMOV            S0, W8                                                 ; +0x48, 0x100138848\nADD             X0, X19, #0x230                                        ; +0x4c, 0x10013884c\nADD             X2, SP, #0x30+__p                                      ; +0x50, 0x100138850\nBL              FLAlertLayer__create_1                                 ; +0x54, 0x100138854\nMOV             X19, X0                                                ; +0x58, 0x100138858\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x5c, 0x10013885c\nTBZ             W8, #0x1F, loc_10013886C                               ; +0x60, 0x100138860\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x64, 0x100138864\nBL              __ZdlPv; operator delete(void *)                       ; +0x68, 0x100138868\nLDR             X8, [X19]                                              ; +0x6c, 0x10013886c\nLDR             X8, [X8,#0x48]                                         ; +0x70, 0x100138870\nMOV             X0, X19                                                ; +0x74, 0x100138874\nMOV             W1, #0                                                 ; +0x78, 0x100138878\nBLR             X8                                                     ; +0x7c, 0x10013887c\nLDR             X8, [X19]                                              ; +0x80, 0x100138880\nLDR             X8, [X8,#0x520]                                        ; +0x84, 0x100138884\nMOV             X0, X19                                                ; +0x88, 0x100138888\nBLR             X8                                                     ; +0x8c, 0x10013888c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x90, 0x100138890\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x94, 0x100138894\nADD             SP, SP, #0x40 ; '@'                                    ; +0x98, 0x100138898\nRET                                                                    ; +0x9c, 0x10013889c", "xrefs": ["CommentCell::loadFromComment @ 0x10012c5b8"], "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"}