{"type": "func", "start": 4297968716, "end": 4297968828, "name": "GJWriteMessagePopup::updateSubject", "pseudocode": "// \n// GJWriteMessagePopup::updateSubject from 0x1002dcc4c to 0x1002dccbc (112 bytes)\n// \n// 2 xrefs:\n// > GJWriteMessagePopup::init @ 0x1002dc3e8\n// > GJWriteMessagePopup::textChanged @ 0x1002dd0e8\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::updateSubject(__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, 0);\n  if ( SHIBYTE(v4) < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GJWriteMessagePopup::updateSubject from 0x1002dcc4c to 0x1002dccbc (112 bytes)\n; \n; 2 xrefs:\n; > GJWriteMessagePopup::init @ 0x1002dc3e8\n; > GJWriteMessagePopup::textChanged @ 0x1002dd0e8\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, 0x1002dcc4c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002dcc50\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002dcc54\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002dcc58\nMOV             X19, X0                                                ; +0x10, 0x1002dcc5c\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x1002dcc60\nTBNZ            W8, #0x1F, loc_1002DCC7C                               ; +0x18, 0x1002dcc64\nLDR             Q0, [X1]                                               ; +0x1c, 0x1002dcc68\nSTR             Q0, [SP,#0x30+__p]                                     ; +0x20, 0x1002dcc6c\nLDR             X8, [X1,#0x10]                                         ; +0x24, 0x1002dcc70\nSTR             X8, [SP,#0x30+var_20]                                  ; +0x28, 0x1002dcc74\nB               loc_1002DCC8C                                          ; +0x2c, 0x1002dcc78\nLDP             X8, X2, [X1]                                           ; +0x30, 0x1002dcc7c\nMOV             X0, SP; __dst                                          ; +0x34, 0x1002dcc80\nMOV             X1, X8; __src                                          ; +0x38, 0x1002dcc84\nBL              sub_1000097D0                                          ; +0x3c, 0x1002dcc88\nMOV             X1, SP                                                 ; +0x40, 0x1002dcc8c\nMOV             X0, X19                                                ; +0x44, 0x1002dcc90\nMOV             W2, #0                                                 ; +0x48, 0x1002dcc94\nBL              GJWriteMessagePopup__updateText                        ; +0x4c, 0x1002dcc98\nLDRSB           W8, [SP,#0x30+var_20+7]                                ; +0x50, 0x1002dcc9c\nTBZ             W8, #0x1F, loc_1002DCCAC                               ; +0x54, 0x1002dcca0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x1002dcca4\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x1002dcca8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x60, 0x1002dccac\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x64, 0x1002dccb0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x68, 0x1002dccb4\nRET                                                                    ; +0x6c, 0x1002dccb8", "xrefs": ["GJWriteMessagePopup::init @ 0x1002dc3e8", "GJWriteMessagePopup::textChanged @ 0x1002dd0e8"], "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"}