{"type": "func", "start": 5370104720, "end": 5370105027, "name": "CommentCell::onConfirmDelete", "pseudocode": "// \n// CommentCell::onConfirmDelete from 0x140154b90 to 0x140154cc3 (307 bytes)\n// \n// 2 xrefs:\n// > CommentCell::loadFromComment @ 0x140154301\n// > <???> @ 0x1409178f4\n// \n// This function is hookable on this platform (idp: pc, 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 11:27:19 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall CommentCell::onConfirmDelete(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v4; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v5; // [rsp+60h] [rbp-38h]\n  __int64 v6; // [rsp+68h] [rbp-30h]\n  _BYTE v7[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( *(_QWORD *)(a1 + 592) )\n  {\n    v1 = a1 + 568;\n    if ( !a1 )\n      v1 = 0;\n    v4 = 0;\n    *(_QWORD *)&v4 = sub_14003D460(0x40u);\n    v5 = 53;\n    v6 = 63;\n    strcpy((char *)v4, \"Are you sure you want to <cr>delete</c> this comment?\");\n    v2 = sub_14003F4F0((__int64)v7, (__int64)&v4);\n    v3 = FLAlertLayer::create(\n           v1,\n           (int)\"Delete Comment\",\n           v2,\n           (__int64)&unk_14073A058,\n           (__int64)\"YES\",\n           1133903872,\n           0,\n           0,\n           1065353216);\n    sub_14003D310((__int64)&v4);\n    (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v3 + 64LL))(v3, 0);\n    (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n  }\n}", "assembly": "; \n; CommentCell::onConfirmDelete from 0x140154b90 to 0x140154cc3 (307 bytes)\n; \n; 2 xrefs:\n; > CommentCell::loadFromComment @ 0x140154301\n; > <???> @ 0x1409178f4\n; \n; This function is hookable on this platform (idp: pc, 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 11:27:19 +0000\n; \npush    rbx                                                            ; +0x0, 0x140154b90\nsub     rsp, 90h                                                       ; +0x2, 0x140154b92\ncmp     qword ptr [rcx+250h], 0                                        ; +0x9, 0x140154b99\njz      loc_140154CBA                                                  ; +0x11, 0x140154ba1\nlea     rbx, [rcx+238h]                                                ; +0x17, 0x140154ba7\nxor     eax, eax                                                       ; +0x1e, 0x140154bae\ntest    rcx, rcx                                                       ; +0x20, 0x140154bb0\ncmovz   rbx, rax                                                       ; +0x23, 0x140154bb3\nxorps   xmm0, xmm0                                                     ; +0x27, 0x140154bb7\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x2a, 0x140154bba\nmov     [rsp+98h+var_38], rax                                          ; +0x2f, 0x140154bbf\nmov     [rsp+98h+var_30], rax                                          ; +0x34, 0x140154bc4\nmov     ecx, 40h ; '@'                                                 ; +0x39, 0x140154bc9\ncall    sub_14003D460                                                  ; +0x3e, 0x140154bce\nmov     rdx, rax                                                       ; +0x43, 0x140154bd3\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x46, 0x140154bd6\nmov     [rsp+98h+var_38], 35h ; '5'                                    ; +0x4b, 0x140154bdb\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x54, 0x140154be4\nmovups  xmm0, cs:xmmword_14073A020                                     ; +0x5d, 0x140154bed\nmovups  xmmword ptr [rax], xmm0                                        ; +0x64, 0x140154bf4\nmovups  xmm1, cs:xmmword_14073A030                                     ; +0x67, 0x140154bf7\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x6e, 0x140154bfe\nmovups  xmm0, cs:xmmword_14073A040                                     ; +0x72, 0x140154c02\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x79, 0x140154c09\nmov     ecx, cs:dword_14073A050                                        ; +0x7d, 0x140154c0d\nmov     [rax+30h], ecx                                                 ; +0x83, 0x140154c13\nmovzx   eax, cs:byte_14073A054                                         ; +0x86, 0x140154c16\nmov     [rdx+34h], al                                                  ; +0x8d, 0x140154c1d\nmov     byte ptr [rdx+35h], 0                                          ; +0x90, 0x140154c20\nlea     rax, [rsp+98h+var_48]                                          ; +0x94, 0x140154c24\nmov     [rsp+98h+arg_0], rax                                           ; +0x99, 0x140154c29\nlea     rdx, [rsp+98h+var_48]                                          ; +0xa1, 0x140154c31\nlea     rcx, [rsp+98h+var_28]                                          ; +0xa6, 0x140154c36\ncall    sub_14003F4F0                                                  ; +0xab, 0x140154c3b\nmovss   xmm0, cs:flt_140835080                                         ; +0xb0, 0x140154c40\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xb8, 0x140154c48\nxorps   xmm1, xmm1                                                     ; +0xbe, 0x140154c4e\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xc1, 0x140154c51\nmov     [rsp+98h+var_68], 0                                            ; +0xc7, 0x140154c57\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xcc, 0x140154c5c\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xd4, 0x140154c64\nlea     rcx, aYes_0; \"YES\"                                             ; +0xda, 0x140154c6a\nmov     [rsp+98h+var_78], rcx                                          ; +0xe1, 0x140154c71\nlea     r9, unk_14073A058                                              ; +0xe6, 0x140154c76\nmov     r8, rax                                                        ; +0xed, 0x140154c7d\nlea     rdx, aDeleteComment; \"Delete Comment\"                          ; +0xf0, 0x140154c80\nmov     rcx, rbx                                                       ; +0xf7, 0x140154c87\ncall    FLAlertLayer__create                                           ; +0xfa, 0x140154c8a\nmov     rbx, rax                                                       ; +0xff, 0x140154c8f\nlea     rcx, [rsp+98h+var_48]                                          ; +0x102, 0x140154c92\ncall    sub_14003D310                                                  ; +0x107, 0x140154c97\nmov     rcx, [rbx]                                                     ; +0x10c, 0x140154c9c\nmov     r8, [rcx+40h]                                                  ; +0x10f, 0x140154c9f\nxor     edx, edx                                                       ; +0x113, 0x140154ca3\nmov     rcx, rbx                                                       ; +0x115, 0x140154ca5\ncall    r8                                                             ; +0x118, 0x140154ca8\nmov     rcx, [rbx]                                                     ; +0x11b, 0x140154cab\nmov     rdx, [rcx+428h]                                                ; +0x11e, 0x140154cae\nmov     rcx, rbx                                                       ; +0x125, 0x140154cb5\ncall    rdx                                                            ; +0x128, 0x140154cb8\nadd     rsp, 90h                                                       ; +0x12a, 0x140154cba\npop     rbx                                                            ; +0x131, 0x140154cc1\nretn                                                                   ; +0x132, 0x140154cc2", "xrefs": ["CommentCell::loadFromComment @ 0x140154301", "<???> @ 0x1409178f4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}