{"type": "func", "start": 4297335600, "end": 4297335849, "name": "GJMessageCell::onDeleteMessage", "pseudocode": "// \n// GJMessageCell::onDeleteMessage from 0x100242330 to 0x100242429 (249 bytes)\n// \n// 1 xrefs:\n// > GJMessageCell::loadFromMessage @ 0x1002323ce\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 12:27:18 +0000\n// \n\n__int64 __fastcall GJMessageCell::onDeleteMessage(__int64 a1)\n{\n  __int64 result; // rax\n  __int64 *v2; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  result = *(_QWORD *)(a1 + 576);\n  if ( result && *(int *)(result + 320) > 0 )\n  {\n    __p = operator new(0x38u);\n    v3[0] = 57;\n    v3[1] = 53;\n    strcpy((char *)__p, \"Are you sure you want to <cr>delete</c> this message?\");\n    v2 = (__int64 *)FLAlertLayer::create(a1 + 552, \"Delete\", v3, \"Back\", \"Delete\", 0, 380.0, 0.0, 1.0);\n    if ( (v3[0] & 1) != 0 )\n      operator delete(__p);\n    ButtonSprite::updateBGImage(v2[77], (__int64)\"GJ_button_06.png\");\n    (*(void (__fastcall **)(__int64 *, __int64))(*v2 + 72))(v2, 1);\n    return (*(__int64 (__fastcall **)(__int64 *))(*v2 + 1312))(v2);\n  }\n  return result;\n}", "assembly": "; \n; GJMessageCell::onDeleteMessage from 0x100242330 to 0x100242429 (249 bytes)\n; \n; 1 xrefs:\n; > GJMessageCell::loadFromMessage @ 0x1002323ce\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 12:27:18 +0000\n; \npush    rbp                                                            ; +0x0, 0x100242330\nmov     rbp, rsp                                                       ; +0x1, 0x100242331\npush    rbx                                                            ; +0x4, 0x100242334\nsub     rsp, 18h                                                       ; +0x5, 0x100242335\nmov     rax, [rdi+240h]                                                ; +0x9, 0x100242339\ntest    rax, rax                                                       ; +0x10, 0x100242340\njz      loc_100242422                                                  ; +0x13, 0x100242343\ncmp     dword ptr [rax+140h], 0                                        ; +0x19, 0x100242349\njle     loc_100242422                                                  ; +0x20, 0x100242350\nadd     rdi, 228h                                                      ; +0x26, 0x100242356\nmov     rbx, rdi                                                       ; +0x2d, 0x10024235d\nmov     edi, 38h ; '8'; __sz                                           ; +0x30, 0x100242360\ncall    __Znwm; operator new(ulong)                                    ; +0x35, 0x100242365\nmov     [rbp+__p], rax                                                 ; +0x3a, 0x10024236a\nmov     [rbp+var_20], 39h ; '9'                                        ; +0x3e, 0x10024236e\nmov     [rbp+var_18], 35h ; '5'                                        ; +0x46, 0x100242376\nmov     rcx, 3F6567617373656Dh                                         ; +0x4e, 0x10024237e\nmov     [rax+2Dh], rcx                                                 ; +0x58, 0x100242388\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_4+20h; \"ete</c> this message?\" ; +0x5c, 0x10024238c\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x63, 0x100242393\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_4+10h; \" want to <cr>delete</c> this message?\" ; +0x67, 0x100242397\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x6e, 0x10024239e\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_4; \"Are you sure you want to <cr>delete</c>\"... ; +0x72, 0x1002423a2\nmovups  xmmword ptr [rax], xmm0                                        ; +0x79, 0x1002423a9\nmov     byte ptr [rax+35h], 0                                          ; +0x7c, 0x1002423ac\nlea     rcx, aBack; \"Back\"                                             ; +0x80, 0x1002423b0\nlea     rsi, aDelete_0; \"Delete\"                                       ; +0x87, 0x1002423b7\nlea     rdx, [rbp+var_20]                                              ; +0x8e, 0x1002423be\nmovss   xmm0, cs:dword_100A03824                                       ; +0x92, 0x1002423c2\nmovss   xmm2, cs:alpha                                                 ; +0x9a, 0x1002423ca\nxorps   xmm1, xmm1                                                     ; +0xa2, 0x1002423d2\nmov     rdi, rbx                                                       ; +0xa5, 0x1002423d5\nmov     r8, rsi                                                        ; +0xa8, 0x1002423d8\nxor     r9d, r9d                                                       ; +0xab, 0x1002423db\ncall    FLAlertLayer__create                                           ; +0xae, 0x1002423de\nmov     rbx, rax                                                       ; +0xb3, 0x1002423e3\ntest    byte ptr [rbp+var_20], 1                                       ; +0xb6, 0x1002423e6\njz      short loc_1002423F5                                            ; +0xba, 0x1002423ea\nmov     rdi, [rbp+__p]; __p                                            ; +0xbc, 0x1002423ec\ncall    __ZdlPv; operator delete(void *)                               ; +0xc0, 0x1002423f0\nmov     rdi, [rbx+268h]                                                ; +0xc5, 0x1002423f5\nlea     rsi, aGjButton06Png; \"GJ_button_06.png\"                        ; +0xcc, 0x1002423fc\ncall    ButtonSprite__updateBGImage                                    ; +0xd3, 0x100242403\nmov     rax, [rbx]                                                     ; +0xd8, 0x100242408\nmov     rdi, rbx                                                       ; +0xdb, 0x10024240b\nmov     esi, 1                                                         ; +0xde, 0x10024240e\ncall    qword ptr [rax+48h]                                            ; +0xe3, 0x100242413\nmov     rax, [rbx]                                                     ; +0xe6, 0x100242416\nmov     rdi, rbx                                                       ; +0xe9, 0x100242419\ncall    qword ptr [rax+520h]                                           ; +0xec, 0x10024241c\nadd     rsp, 18h                                                       ; +0xf2, 0x100242422\npop     rbx                                                            ; +0xf6, 0x100242426\npop     rbp                                                            ; +0xf7, 0x100242427\nretn                                                                   ; +0xf8, 0x100242428", "xrefs": ["GJMessageCell::loadFromMessage @ 0x1002323ce"], "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"}