{"type": "func", "start": 5372134448, "end": 5372134561, "name": "MusicDownloadManager::loadSongInfoFinished", "pseudocode": "// \n// MusicDownloadManager::loadSongInfoFinished from 0x140344430 to 0x1403444a1 (113 bytes)\n// \n// 3 xrefs:\n// > MusicDownloadManager::getSongInfo @ 0x14033d668\n// > MusicDownloadManager::onGetSongInfoCompleted @ 0x14033da04\n// > <???> @ 0x1406d584c\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::loadSongInfoFinished(MusicDownloadManager *a1, SongInfoObject *a2)\n{\n  unsigned int i; // ebx\n  struct cocos2d::CCObject *v5; // rax\n\n  for ( i = 0; i < cocos2d::CCArray::count(a1->m_musicDownloadDelegates); ++i )\n  {\n    v5 = cocos2d::CCArray::objectAtIndex(a1->m_musicDownloadDelegates, i);\n    (***(void (__fastcall ****)(_QWORD, SongInfoObject *))&v5[5].m_unknown2)(*(_QWORD *)&v5[5].m_unknown2, a2);\n  }\n}", "assembly": "; \n; MusicDownloadManager::loadSongInfoFinished from 0x140344430 to 0x1403444a1 (113 bytes)\n; \n; 3 xrefs:\n; > MusicDownloadManager::getSongInfo @ 0x14033d668\n; > MusicDownloadManager::onGetSongInfoCompleted @ 0x14033da04\n; > <???> @ 0x1406d584c\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, 0x140344430\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140344435\npush    rdi                                                            ; +0xa, 0x14034443a\nsub     rsp, 20h                                                       ; +0xb, 0x14034443b\nmov     rdi, rcx                                                       ; +0xf, 0x14034443f\nmov     rsi, rdx                                                       ; +0x12, 0x140344442\nmov     rcx, [rcx+150h]                                                ; +0x15, 0x140344445\nxor     ebx, ebx                                                       ; +0x1c, 0x14034444c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e, 0x14034444e\ntest    eax, eax                                                       ; +0x24, 0x140344454\njz      short loc_140344491                                            ; +0x26, 0x140344456\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x140344458\nmov     rcx, [rdi+150h]                                                ; +0x30, 0x140344460\nmov     edx, ebx                                                       ; +0x37, 0x140344467\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x140344469\nmov     rdx, rsi                                                       ; +0x3f, 0x14034446f\nmov     rcx, [rax+140h]                                                ; +0x42, 0x140344472\nmov     rax, [rcx]                                                     ; +0x49, 0x140344479\ncall    qword ptr [rax]                                                ; +0x4c, 0x14034447c\nmov     rcx, [rdi+150h]                                                ; +0x4e, 0x14034447e\ninc     ebx                                                            ; +0x55, 0x140344485\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x57, 0x140344487\ncmp     ebx, eax                                                       ; +0x5d, 0x14034448d\njb      short loc_140344460                                            ; +0x5f, 0x14034448f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x61, 0x140344491\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x66, 0x140344496\nadd     rsp, 20h                                                       ; +0x6b, 0x14034449b\npop     rdi                                                            ; +0x6f, 0x14034449f\nretn                                                                   ; +0x70, 0x1403444a0", "xrefs": ["MusicDownloadManager::getSongInfo @ 0x14033d668", "MusicDownloadManager::onGetSongInfoCompleted @ 0x14033da04", "<???> @ 0x1406d584c"], "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"}