{"type": "func", "start": 5372134576, "end": 5372134697, "name": "MusicDownloadManager::loadSongInfoFailed", "pseudocode": "// \n// MusicDownloadManager::loadSongInfoFailed from 0x1403444b0 to 0x140344529 (121 bytes)\n// \n// 3 xrefs:\n// > MusicDownloadManager::onGetSongInfoCompleted @ 0x14033d9c7\n// > MusicDownloadManager::onGetSongInfoCompleted @ 0x14033d9f7\n// > <???> @ 0x1406d5858\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 MusicDownloadManager::loadSongInfoFailed(MusicDownloadManager *a1, int a2, GJSongError a3)\n{\n  unsigned int i; // ebx\n  struct cocos2d::CCObject *v7; // rax\n\n  for ( i = 0; i < cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )\n  {\n    v7 = cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i);\n    (*(void (__fastcall **)(_QWORD, _QWORD, _QWORD))(**(_QWORD **)&v7[5].m_unknown2 + 8LL))(\n      *(_QWORD *)&v7[5].m_unknown2,\n      (unsigned int)a2,\n      (unsigned int)a3);\n  }\n}", "assembly": "; \n; MusicDownloadManager::loadSongInfoFailed from 0x1403444b0 to 0x140344529 (121 bytes)\n; \n; 3 xrefs:\n; > MusicDownloadManager::onGetSongInfoCompleted @ 0x14033d9c7\n; > MusicDownloadManager::onGetSongInfoCompleted @ 0x14033d9f7\n; > <???> @ 0x1406d5858\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403444b0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1403444b5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1403444ba\npush    rdi                                                            ; +0xf, 0x1403444bf\nsub     rsp, 20h                                                       ; +0x10, 0x1403444c0\nmov     rdi, rcx                                                       ; +0x14, 0x1403444c4\nmov     esi, r8d                                                       ; +0x17, 0x1403444c7\nmov     rcx, [rcx+150h]                                                ; +0x1a, 0x1403444ca\nmov     ebp, edx                                                       ; +0x21, 0x1403444d1\nxor     ebx, ebx                                                       ; +0x23, 0x1403444d3\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x25, 0x1403444d5\ntest    eax, eax                                                       ; +0x2b, 0x1403444db\njz      short loc_140344514                                            ; +0x2d, 0x1403444dd\nnop                                                                    ; +0x2f, 0x1403444df\nmov     rcx, [rdi+150h]                                                ; +0x30, 0x1403444e0\nmov     edx, ebx                                                       ; +0x37, 0x1403444e7\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x1403444e9\nmov     r8d, esi                                                       ; +0x3f, 0x1403444ef\nmov     edx, ebp                                                       ; +0x42, 0x1403444f2\nmov     rcx, [rax+140h]                                                ; +0x44, 0x1403444f4\nmov     rax, [rcx]                                                     ; +0x4b, 0x1403444fb\ncall    qword ptr [rax+8]                                              ; +0x4e, 0x1403444fe\nmov     rcx, [rdi+150h]                                                ; +0x51, 0x140344501\ninc     ebx                                                            ; +0x58, 0x140344508\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5a, 0x14034450a\ncmp     ebx, eax                                                       ; +0x60, 0x140344510\njb      short loc_1403444E0                                            ; +0x62, 0x140344512\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x64, 0x140344514\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x69, 0x140344519\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x6e, 0x14034451e\nadd     rsp, 20h                                                       ; +0x73, 0x140344523\npop     rdi                                                            ; +0x77, 0x140344527\nretn                                                                   ; +0x78, 0x140344528", "xrefs": ["MusicDownloadManager::onGetSongInfoCompleted @ 0x14033d9c7", "MusicDownloadManager::onGetSongInfoCompleted @ 0x14033d9f7", "<???> @ 0x1406d5858"], "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"}