{"type": "func", "start": 5373559856, "end": 5373559931, "name": "NewsPopup::musicActionFailed", "pseudocode": "// \n// NewsPopup::musicActionFailed from 0x1404a0430 to 0x1404a047b (75 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1407b9ae0\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 11:32:56 +0000\n// \n\n__int64 __fastcall NewsPopup::musicActionFailed(_QWORD *a1, int a2)\n{\n  __int64 v2; // r8\n  __int64 result; // rax\n\n  v2 = a1[9];\n  if ( v2 )\n  {\n    result = a1[2];\n    if ( a1[1] == result )\n    {\n      result = (unsigned int)(a2 - 9);\n      if ( (result & 0xFFFFFFFD) != 0 )\n      {\n        if ( a2 == 10 )\n          return (**(__int64 (__fastcall ***)(__int64, const char *))(v2 + 360))(v2 + 360, \"No news yet!\");\n      }\n      else\n      {\n        return (**(__int64 (__fastcall ***)(__int64, const char *))(v2 + 360))(v2 + 360, \"Could not load news.\");\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; NewsPopup::musicActionFailed from 0x1404a0430 to 0x1404a047b (75 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1407b9ae0\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 11:32:56 +0000\n; \nmov     r8, [rcx+48h]                                                  ; +0x0, 0x1404a0430\ntest    r8, r8                                                         ; +0x4, 0x1404a0434\njz      short locret_1404A047A                                         ; +0x7, 0x1404a0437\nmov     rax, [rcx+10h]                                                 ; +0x9, 0x1404a0439\ncmp     [rcx+8], rax                                                   ; +0xd, 0x1404a043d\njnz     short locret_1404A047A                                         ; +0x11, 0x1404a0441\nlea     eax, [rdx-9]                                                   ; +0x13, 0x1404a0443\ntest    eax, 0FFFFFFFDh                                                ; +0x16, 0x1404a0446\njz      short loc_1404A0466                                            ; +0x1b, 0x1404a044b\ncmp     edx, 0Ah                                                       ; +0x1d, 0x1404a044d\njnz     short locret_1404A047A                                         ; +0x20, 0x1404a0450\nlea     rcx, [r8+168h]                                                 ; +0x22, 0x1404a0452\nmov     rax, [rcx]                                                     ; +0x29, 0x1404a0459\nlea     rdx, aNoNewsYet; \"No news yet!\"                                ; +0x2c, 0x1404a045c\njmp     qword ptr [rax]                                                ; +0x33, 0x1404a0463\nlea     rcx, [r8+168h]                                                 ; +0x36, 0x1404a0466\nmov     rax, [rcx]                                                     ; +0x3d, 0x1404a046d\nlea     rdx, aCouldNotLoadNe; \"Could not load news.\"                   ; +0x40, 0x1404a0470\njmp     qword ptr [rax]                                                ; +0x47, 0x1404a0477\nretn                                                                   ; +0x4a, 0x1404a047a", "xrefs": ["<???> @ 0x1407b9ae0"], "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"}