{"type": "func", "start": 4300315592, "end": 4300315756, "name": "NewsPopup::newsImageFailed", "pseudocode": "// \n// NewsPopup::newsImageFailed from 0x100519bc8 to 0x100519c6c (164 bytes)\n// \n// 2 xrefs:\n// > sub_100519C6C @ 0x100519c70\n// > <???> @ 0x10099d010\n// \n// This function is hookable on this platform (idp: arm, 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 11:07:08 +0000\n// \n\nvoid __fastcall NewsPopup::newsImageFailed(__int64 a1, __int64 a2)\n{\n  signed int v4; // w20\n  int v5; // w0\n  int v6; // w20\n  void *__p[2]; // [xsp+0h] [xbp-40h] BYREF\n  __int64 v8; // [xsp+10h] [xbp-30h]\n\n  sub_1000D8F30((__int64 **)(a1 + 792), a2, a2);\n  v4 = *(_DWORD *)(a1 + 704);\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    v8 = *(_QWORD *)(a2 + 16);\n  }\n  v5 = sub_1005198F8(a1, v4, (__int64)__p);\n  v6 = v5;\n  if ( SHIBYTE(v8) < 0 )\n  {\n    operator delete(__p[0]);\n    if ( !v6 )\n      return;\n  }\n  else if ( !v5 )\n  {\n    return;\n  }\n  sub_100518264(a1, *(_DWORD *)(a1 + 704));\n}", "assembly": "; \n; NewsPopup::newsImageFailed from 0x100519bc8 to 0x100519c6c (164 bytes)\n; \n; 2 xrefs:\n; > sub_100519C6C @ 0x100519c70\n; > <???> @ 0x10099d010\n; \n; This function is hookable on this platform (idp: arm, 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 11:07:08 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x100519bc8\nSTP             X22, X21, [SP,#0x40+var_20]                            ; +0x4, 0x100519bcc\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x8, 0x100519bd0\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0xc, 0x100519bd4\nADD             X29, SP, #0x40                                         ; +0x10, 0x100519bd8\nMOV             X21, X1                                                ; +0x14, 0x100519bdc\nMOV             X19, X0                                                ; +0x18, 0x100519be0\nADD             X0, X0, #0x318                                         ; +0x1c, 0x100519be4\nMOV             X2, X1                                                 ; +0x20, 0x100519be8\nBL              sub_1000D8F30                                          ; +0x24, 0x100519bec\nLDR             W20, [X19,#0x2C0]                                      ; +0x28, 0x100519bf0\nLDRSB           W8, [X21,#0x17]                                        ; +0x2c, 0x100519bf4\nTBNZ            W8, #0x1F, loc_100519C10                               ; +0x30, 0x100519bf8\nLDR             Q0, [X21]                                              ; +0x34, 0x100519bfc\nSTR             Q0, [SP,#0x40+__p]                                     ; +0x38, 0x100519c00\nLDR             X8, [X21,#0x10]                                        ; +0x3c, 0x100519c04\nSTR             X8, [SP,#0x40+var_30]                                  ; +0x40, 0x100519c08\nB               loc_100519C1C                                          ; +0x44, 0x100519c0c\nLDP             X1, X2, [X21]; __src                                   ; +0x48, 0x100519c10\nMOV             X0, SP; __dst                                          ; +0x4c, 0x100519c14\nBL              sub_1000097D0                                          ; +0x50, 0x100519c18\nMOV             X2, SP                                                 ; +0x54, 0x100519c1c\nMOV             X0, X19                                                ; +0x58, 0x100519c20\nMOV             X1, X20                                                ; +0x5c, 0x100519c24\nBL              sub_1005198F8                                          ; +0x60, 0x100519c28\nMOV             X20, X0                                                ; +0x64, 0x100519c2c\nLDRSB           W8, [SP,#0x40+var_30+7]                                ; +0x68, 0x100519c30\nTBNZ            W8, #0x1F, loc_100519C5C                               ; +0x6c, 0x100519c34\nCBZ             W20, loc_100519C48                                     ; +0x70, 0x100519c38\nLDR             W1, [X19,#0x2C0]                                       ; +0x74, 0x100519c3c\nMOV             X0, X19                                                ; +0x78, 0x100519c40\nBL              sub_100518264                                          ; +0x7c, 0x100519c44\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x80, 0x100519c48\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x84, 0x100519c4c\nLDP             X22, X21, [SP,#0x40+var_20]                            ; +0x88, 0x100519c50\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x8c, 0x100519c54\nRET                                                                    ; +0x90, 0x100519c58\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x94, 0x100519c5c\nBL              __ZdlPv; operator delete(void *)                       ; +0x98, 0x100519c60\nCBNZ            W20, loc_100519C3C                                     ; +0x9c, 0x100519c64\nB               loc_100519C48                                          ; +0xa0, 0x100519c68", "xrefs": ["sub_100519C6C @ 0x100519c70", "<???> @ 0x10099d010"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}