{"type": "func", "start": 5373509936, "end": 5373510107, "name": "MusicDownloadManager::newsImageFailed", "pseudocode": "// \n// MusicDownloadManager::newsImageFailed from 0x140494130 to 0x1404941db (171 bytes)\n// \n// 4 xrefs:\n// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493bba\n// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493c0b\n// > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493dab\n// > <???> @ 0x140928f58\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:52 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall MusicDownloadManager::newsImageFailed(__int64 a1, __int64 a2)\n{\n  unsigned int i; // edi\n  __int64 v5; // rbx\n  __int64 v6; // rax\n  _BYTE v7[32]; // [rsp+28h] [rbp-50h] BYREF\n  __int64 v8; // [rsp+48h] [rbp-30h]\n\n  v8 = a2;\n  for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 336)); ++i )\n  {\n    v5 = *((_QWORD *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 336), i) + 40);\n    v6 = sub_14003F4F0((__int64)v7, a2);\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 88LL))(v5, v6);\n  }\n  sub_14003D310(a2);\n}", "assembly": "; \n; MusicDownloadManager::newsImageFailed from 0x140494130 to 0x1404941db (171 bytes)\n; \n; 4 xrefs:\n; > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493bba\n; > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493c0b\n; > MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493dab\n; > <???> @ 0x140928f58\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:52 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x140494130\npush    rbp                                                            ; +0x5, 0x140494135\npush    rsi                                                            ; +0x6, 0x140494136\npush    rdi                                                            ; +0x7, 0x140494137\nsub     rsp, 60h                                                       ; +0x8, 0x140494138\nmov     rax, cs:__security_cookie                                      ; +0xc, 0x14049413c\nxor     rax, rsp                                                       ; +0x13, 0x140494143\nmov     [rsp+78h+var_28], rax                                          ; +0x16, 0x140494146\nmov     rsi, rdx                                                       ; +0x1b, 0x14049414b\nmov     rbp, rcx                                                       ; +0x1e, 0x14049414e\nmov     [rsp+78h+var_30], rdx                                          ; +0x21, 0x140494151\nxor     edi, edi                                                       ; +0x26, 0x140494156\nmov     rcx, [rcx+150h]                                                ; +0x28, 0x140494158\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2f, 0x14049415f\ntest    eax, eax                                                       ; +0x35, 0x140494165\njz      short loc_1404941B6                                            ; +0x37, 0x140494167\nnop     dword ptr [rax+00000000h]                                      ; +0x39, 0x140494169\nmov     edx, edi                                                       ; +0x40, 0x140494170\nmov     rcx, [rbp+150h]                                                ; +0x42, 0x140494172\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x140494179\nmov     rbx, [rax+140h]                                                ; +0x4f, 0x14049417f\nmov     rdx, rsi                                                       ; +0x56, 0x140494186\nlea     rcx, [rsp+78h+var_50]                                          ; +0x59, 0x140494189\ncall    sub_14003F4F0                                                  ; +0x5e, 0x14049418e\nmov     rdx, [rbx]                                                     ; +0x63, 0x140494193\nmov     r8, [rdx+58h]                                                  ; +0x66, 0x140494196\nmov     rdx, rax                                                       ; +0x6a, 0x14049419a\nmov     rcx, rbx                                                       ; +0x6d, 0x14049419d\ncall    r8                                                             ; +0x70, 0x1404941a0\ninc     edi                                                            ; +0x73, 0x1404941a3\nmov     rcx, [rbp+150h]                                                ; +0x75, 0x1404941a5\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x7c, 0x1404941ac\ncmp     edi, eax                                                       ; +0x82, 0x1404941b2\njb      short loc_140494170                                            ; +0x84, 0x1404941b4\nmov     rcx, rsi                                                       ; +0x86, 0x1404941b6\ncall    sub_14003D310                                                  ; +0x89, 0x1404941b9\nmov     rcx, [rsp+78h+var_28]                                          ; +0x8e, 0x1404941be\nxor     rcx, rsp; StackCookie                                          ; +0x93, 0x1404941c3\ncall    __security_check_cookie                                        ; +0x96, 0x1404941c6\nmov     rbx, [rsp+78h+arg_10]                                          ; +0x9b, 0x1404941cb\nadd     rsp, 60h                                                       ; +0xa3, 0x1404941d3\npop     rdi                                                            ; +0xa7, 0x1404941d7\npop     rsi                                                            ; +0xa8, 0x1404941d8\npop     rbp                                                            ; +0xa9, 0x1404941d9\nretn                                                                   ; +0xaa, 0x1404941da", "xrefs": ["MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493bba", "MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493c0b", "MusicDownloadManager::onDownloadNewsImageCompleted @ 0x140493dab", "<???> @ 0x140928f58"], "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"}