{"type": "func", "start": 4297968856, "end": 4297968968, "name": "GJWriteMessagePopup::updateBody", "pseudocode": "// \n// GJWriteMessagePopup::updateBody from 0x1002dccd8 to 0x1002dcd48 (112 bytes)\n// \n// 2 xrefs:\n// > GJWriteMessagePopup::init @ 0x1002dc6d8\n// > GJWriteMessagePopup::textChanged @ 0x1002dd0b0\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\nvoid __fastcall GJWriteMessagePopup::updateBody(__int64 a1, __int64 a2)\n{\n  void *__p[2]; // [xsp+0h] [xbp-30h] BYREF\n  __int64 v4; // [xsp+10h] [xbp-20h]\n\n  if ( *(char *)(a2 + 23) < 0 )\n  {\n    sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));\n  }\n  else\n  {\n    *(_OWORD *)__p = *(_OWORD *)a2;\n    v4 = *(_QWORD *)(a2 + 16);\n  }\n  GJWriteMessagePopup::updateText(a1, __p, 1);\n  if ( SHIBYTE(v4) < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GJWriteMessagePopup::updateBody from 0x1002dccd8 to 0x1002dcd48 (112 bytes)\n; \n; 2 xrefs:\n; > GJWriteMessagePopup::init @ 0x1002dc6d8\n; > GJWriteMessagePopup::textChanged @ 0x1002dd0b0\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1002dccd8\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002dccdc\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002dcce0\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002dcce4\nMOV             X19, X0                                                ; +0x10, 0x1002dcce8\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x1002dccec\nTBNZ            W8, #0x1F, loc_1002DCD08                               ; +0x18, 0x1002dccf0\nLDR             Q0, [X1]                                               ; +0x1c, 0x1002dccf4\nSTR             Q0, [SP,#0x30+__p]                                     ; +0x20, 0x1002dccf8\nLDR             X8, [X1,#0x10]                                         ; +0x24, 0x1002dccfc\nSTR             X8, [SP,#0x30+var_20]                                  ; +0x28, 0x1002dcd00\nB               loc_1002DCD18                                          ; +0x2c, 0x1002dcd04\nLDP             X8, X2, [X1]                                           ; +0x30, 0x1002dcd08\nMOV             X0, SP; __dst                                          ; +0x34, 0x1002dcd0c\nMOV             X1, X8; __src                                          ; +0x38, 0x1002dcd10\nBL              sub_1000097D0                                          ; +0x3c, 0x1002dcd14\nMOV             X1, SP                                                 ; +0x40, 0x1002dcd18\nMOV             X0, X19                                                ; +0x44, 0x1002dcd1c\nMOV             W2, #1                                                 ; +0x48, 0x1002dcd20\nBL              GJWriteMessagePopup__updateText                        ; +0x4c, 0x1002dcd24\nLDRSB           W8, [SP,#0x30+var_20+7]                                ; +0x50, 0x1002dcd28\nTBZ             W8, #0x1F, loc_1002DCD38                               ; +0x54, 0x1002dcd2c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x1002dcd30\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x1002dcd34\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x60, 0x1002dcd38\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x64, 0x1002dcd3c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x68, 0x1002dcd40\nRET                                                                    ; +0x6c, 0x1002dcd44", "xrefs": ["GJWriteMessagePopup::init @ 0x1002dc6d8", "GJWriteMessagePopup::textChanged @ 0x1002dd0b0"], "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"}