{"type": "func", "start": 4297680912, "end": 4297681122, "name": "GJWriteMessagePopup::onClearBody", "pseudocode": "// \n// GJWriteMessagePopup::onClearBody from 0x100296810 to 0x1002968e2 (210 bytes)\n// \n// 1 xrefs:\n// > GJWriteMessagePopup::init @ 0x1002960a6\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:51 +0000\n// \n\n__int64 __fastcall GJWriteMessagePopup::onClearBody(__int64 a1)\n{\n  __int64 *v1; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x30u);\n  v3[0] = 49;\n  v3[1] = 44;\n  strcpy((char *)__p, \"Are you sure you want to reset this message?\");\n  v1 = (__int64 *)FLAlertLayer::create(a1 + 680, \"Reset Message\", v3, \"Cancel\", \"Reset\", 0, 380.0, 0.0, 1.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  ButtonSprite::updateBGImage(v1[77], (__int64)\"GJ_button_05.png\");\n  (*(void (__fastcall **)(__int64 *, __int64))(*v1 + 72))(v1, 1);\n  return (*(__int64 (__fastcall **)(__int64 *))(*v1 + 1312))(v1);\n}", "assembly": "; \n; GJWriteMessagePopup::onClearBody from 0x100296810 to 0x1002968e2 (210 bytes)\n; \n; 1 xrefs:\n; > GJWriteMessagePopup::init @ 0x1002960a6\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:51 +0000\n; \npush    rbp                                                            ; +0x0, 0x100296810\nmov     rbp, rsp                                                       ; +0x1, 0x100296811\npush    rbx                                                            ; +0x4, 0x100296814\nsub     rsp, 18h                                                       ; +0x5, 0x100296815\nmov     rbx, rdi                                                       ; +0x9, 0x100296819\nadd     rbx, 2A8h                                                      ; +0xc, 0x10029681c\nmov     edi, 30h ; '0'; __sz                                           ; +0x13, 0x100296823\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x100296828\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x10029682d\nmov     [rbp+var_20], 31h ; '1'                                        ; +0x21, 0x100296831\nmov     [rbp+var_18], 2Ch ; ','                                        ; +0x29, 0x100296839\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_7+1Ch; \"et this message?\" ; +0x31, 0x100296841\nmovups  xmmword ptr [rax+1Ch], xmm0                                    ; +0x38, 0x100296848\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_7+10h; \" want to reset this message?\" ; +0x3c, 0x10029684c\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x43, 0x100296853\nmovups  xmm0, xmmword ptr cs:aAreYouSureYouW_7; \"Are you sure you want to reset this mes\"... ; +0x47, 0x100296857\nmovups  xmmword ptr [rax], xmm0                                        ; +0x4e, 0x10029685e\nmov     byte ptr [rax+2Ch], 0                                          ; +0x51, 0x100296861\nlea     rsi, aResetMessage; \"Reset Message\"                            ; +0x55, 0x100296865\nlea     rcx, aCancel; \"Cancel\"                                         ; +0x5c, 0x10029686c\nlea     r8, aReset; \"Reset\"                                            ; +0x63, 0x100296873\nlea     rdx, [rbp+var_20]                                              ; +0x6a, 0x10029687a\nmovss   xmm0, cs:dword_100A03824                                       ; +0x6e, 0x10029687e\nmovss   xmm2, cs:alpha                                                 ; +0x76, 0x100296886\nxorps   xmm1, xmm1                                                     ; +0x7e, 0x10029688e\nmov     rdi, rbx                                                       ; +0x81, 0x100296891\nxor     r9d, r9d                                                       ; +0x84, 0x100296894\ncall    FLAlertLayer__create                                           ; +0x87, 0x100296897\nmov     rbx, rax                                                       ; +0x8c, 0x10029689c\ntest    byte ptr [rbp+var_20], 1                                       ; +0x8f, 0x10029689f\njz      short loc_1002968AE                                            ; +0x93, 0x1002968a3\nmov     rdi, [rbp+__p]; __p                                            ; +0x95, 0x1002968a5\ncall    __ZdlPv; operator delete(void *)                               ; +0x99, 0x1002968a9\nmov     rdi, [rbx+268h]                                                ; +0x9e, 0x1002968ae\nlea     rsi, aGjButton05Png; \"GJ_button_05.png\"                        ; +0xa5, 0x1002968b5\ncall    ButtonSprite__updateBGImage                                    ; +0xac, 0x1002968bc\nmov     rax, [rbx]                                                     ; +0xb1, 0x1002968c1\nmov     rdi, rbx                                                       ; +0xb4, 0x1002968c4\nmov     esi, 1                                                         ; +0xb7, 0x1002968c7\ncall    qword ptr [rax+48h]                                            ; +0xbc, 0x1002968cc\nmov     rax, [rbx]                                                     ; +0xbf, 0x1002968cf\nmov     rdi, rbx                                                       ; +0xc2, 0x1002968d2\ncall    qword ptr [rax+520h]                                           ; +0xc5, 0x1002968d5\nadd     rsp, 18h                                                       ; +0xcb, 0x1002968db\npop     rbx                                                            ; +0xcf, 0x1002968df\npop     rbp                                                            ; +0xd0, 0x1002968e0\nretn                                                                   ; +0xd1, 0x1002968e1", "xrefs": ["GJWriteMessagePopup::init @ 0x1002960a6"], "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"}