{"type": "func", "start": 5369462880, "end": 5369463183, "name": "CommentCell::onConfirmDelete", "pseudocode": "// \n// CommentCell::onConfirmDelete from 0x1400b8060 to 0x1400b818f (303 bytes)\n// \n// 2 xrefs:\n// > CommentCell::loadFromComment @ 0x1400b7b52\n// > <???> @ 0x1406c7c44\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid CommentCell::onConfirmDelete(CommentCell *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ebx\n  __int64 v3; // rax\n  FLAlertLayer *v4; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( a1->m_comment )\n  {\n    v2 = (_DWORD)a1 + 568;\n    if ( !a1 )\n      v2 = 0;\n    v5 = 0;\n    *(_QWORD *)&v5 = sub_14003AA10(0x40u);\n    v6 = 53;\n    v7 = 63;\n    strcpy((char *)v5, \"Are you sure you want to <cr>delete</c> this comment?\");\n    v3 = sub_14003BDB0((__int64)v8, (__int64)&v5);\n    v4 = FLAlertLayer::create(\n           v2,\n           (int)\"Delete Comment\",\n           v3,\n           (__int64)&unk_140547160,\n           (__int64)\"YES\",\n           1133903872,\n           0,\n           0,\n           1065353216);\n    sub_14003A830((__int64)&v5);\n    v4->setTag(v4, 0);\n    v4->show(v4);\n  }\n}", "assembly": "; \n; CommentCell::onConfirmDelete from 0x1400b8060 to 0x1400b818f (303 bytes)\n; \n; 2 xrefs:\n; > CommentCell::loadFromComment @ 0x1400b7b52\n; > <???> @ 0x1406c7c44\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1400b8060\nsub     rsp, 90h                                                       ; +0x2, 0x1400b8062\ncmp     qword ptr [rcx+250h], 0                                        ; +0x9, 0x1400b8069\njz      loc_1400B8186                                                  ; +0x11, 0x1400b8071\nlea     rbx, [rcx+238h]                                                ; +0x17, 0x1400b8077\nxor     eax, eax                                                       ; +0x1e, 0x1400b807e\ntest    rcx, rcx                                                       ; +0x20, 0x1400b8080\ncmovz   rbx, rax                                                       ; +0x23, 0x1400b8083\nxorps   xmm0, xmm0                                                     ; +0x27, 0x1400b8087\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x2a, 0x1400b808a\nmov     [rsp+98h+var_38], rax                                          ; +0x2f, 0x1400b808f\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x34, 0x1400b8094\nlea     ecx, [rax+40h]                                                 ; +0x3d, 0x1400b809d\ncall    sub_14003AA10                                                  ; +0x40, 0x1400b80a0\nmov     rcx, rax                                                       ; +0x45, 0x1400b80a5\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x48, 0x1400b80a8\nmov     [rsp+98h+var_38], 35h ; '5'                                    ; +0x4d, 0x1400b80ad\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x56, 0x1400b80b6\nmovups  xmm0, cs:xmmword_140547168                                     ; +0x5f, 0x1400b80bf\nmovups  xmmword ptr [rax], xmm0                                        ; +0x66, 0x1400b80c6\nmovups  xmm1, cs:xmmword_140547178                                     ; +0x69, 0x1400b80c9\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x70, 0x1400b80d0\nmovups  xmm0, cs:xmmword_140547188                                     ; +0x74, 0x1400b80d4\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x7b, 0x1400b80db\nmov     eax, cs:dword_140547198                                        ; +0x7f, 0x1400b80df\nmov     [rcx+30h], eax                                                 ; +0x85, 0x1400b80e5\nmovzx   eax, cs:byte_14054719C                                         ; +0x88, 0x1400b80e8\nmov     [rcx+34h], al                                                  ; +0x8f, 0x1400b80ef\nmov     byte ptr [rcx+35h], 0                                          ; +0x92, 0x1400b80f2\nlea     rax, [rsp+98h+var_48]                                          ; +0x96, 0x1400b80f6\nmov     [rsp+98h+arg_0], rax                                           ; +0x9b, 0x1400b80fb\nlea     rdx, [rsp+98h+var_48]                                          ; +0xa3, 0x1400b8103\nlea     rcx, [rsp+98h+var_28]                                          ; +0xa8, 0x1400b8108\ncall    sub_14003BDB0                                                  ; +0xad, 0x1400b810d\nmovss   xmm0, cs:flt_140622C24                                         ; +0xb2, 0x1400b8112\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xba, 0x1400b811a\nxorps   xmm1, xmm1                                                     ; +0xc0, 0x1400b8120\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xc3, 0x1400b8123\nmov     [rsp+98h+var_68], 0                                            ; +0xc9, 0x1400b8129\nmovss   xmm0, cs:dword_14062343C                                       ; +0xce, 0x1400b812e\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xd6, 0x1400b8136\nlea     rcx, aYes_0; \"YES\"                                             ; +0xdc, 0x1400b813c\nmov     [rsp+98h+var_78], rcx                                          ; +0xe3, 0x1400b8143\nlea     r9, unk_140547160                                              ; +0xe8, 0x1400b8148\nmov     r8, rax                                                        ; +0xef, 0x1400b814f\nlea     rdx, aDeleteComment; \"Delete Comment\"                          ; +0xf2, 0x1400b8152\nmov     rcx, rbx                                                       ; +0xf9, 0x1400b8159\ncall    FLAlertLayer__create                                           ; +0xfc, 0x1400b815c\nmov     rbx, rax                                                       ; +0x101, 0x1400b8161\nlea     rcx, [rsp+98h+var_48]                                          ; +0x104, 0x1400b8164\ncall    sub_14003A830                                                  ; +0x109, 0x1400b8169\nmov     r8, [rbx]                                                      ; +0x10e, 0x1400b816e\nxor     edx, edx                                                       ; +0x111, 0x1400b8171\nmov     rcx, rbx                                                       ; +0x113, 0x1400b8173\ncall    qword ptr [r8+40h]                                             ; +0x116, 0x1400b8176\nmov     rdx, [rbx]                                                     ; +0x11a, 0x1400b817a\nmov     rcx, rbx                                                       ; +0x11d, 0x1400b817d\ncall    qword ptr [rdx+410h]                                           ; +0x120, 0x1400b8180\nadd     rsp, 90h                                                       ; +0x126, 0x1400b8186\npop     rbx                                                            ; +0x12d, 0x1400b818d\nretn                                                                   ; +0x12e, 0x1400b818e", "xrefs": ["CommentCell::loadFromComment @ 0x1400b7b52", "<???> @ 0x1406c7c44"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}