{"type": "func", "start": 5373509168, "end": 5373509281, "name": "MusicDownloadManager::loadSongInfoFinished", "pseudocode": "// \n// MusicDownloadManager::loadSongInfoFinished from 0x140493e30 to 0x140493ea1 (113 bytes)\n// \n// 3 xrefs:\n// > MusicDownloadManager::getSongInfo @ 0x1404829e8\n// > MusicDownloadManager::onGetSongInfoCompleted @ 0x140482d84\n// > <???> @ 0x140928f10\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:51 +0000\n// \n\nunsigned int __fastcall MusicDownloadManager::loadSongInfoFinished(__int64 a1, __int64 a2)\n{\n  unsigned int v4; // ebx\n  unsigned int result; // eax\n  struct cocos2d::CCObject *v6; // rax\n\n  v4 = 0;\n  result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 336));\n  if ( result )\n  {\n    do\n    {\n      v6 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 336), v4);\n      (***((void (__fastcall ****)(_QWORD, __int64))v6 + 40))(*((_QWORD *)v6 + 40), a2);\n      ++v4;\n      result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 336));\n    }\n    while ( v4 < result );\n  }\n  return result;\n}", "assembly": "; \n; MusicDownloadManager::loadSongInfoFinished from 0x140493e30 to 0x140493ea1 (113 bytes)\n; \n; 3 xrefs:\n; > MusicDownloadManager::getSongInfo @ 0x1404829e8\n; > MusicDownloadManager::onGetSongInfoCompleted @ 0x140482d84\n; > <???> @ 0x140928f10\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:51 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140493e30\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140493e35\npush    rdi                                                            ; +0xa, 0x140493e3a\nsub     rsp, 20h                                                       ; +0xb, 0x140493e3b\nmov     rdi, rcx                                                       ; +0xf, 0x140493e3f\nmov     rsi, rdx                                                       ; +0x12, 0x140493e42\nmov     rcx, [rcx+150h]                                                ; +0x15, 0x140493e45\nxor     ebx, ebx                                                       ; +0x1c, 0x140493e4c\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e, 0x140493e4e\ntest    eax, eax                                                       ; +0x24, 0x140493e54\njz      short loc_140493E91                                            ; +0x26, 0x140493e56\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x28, 0x140493e58\nmov     rcx, [rdi+150h]                                                ; +0x30, 0x140493e60\nmov     edx, ebx                                                       ; +0x37, 0x140493e67\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x140493e69\nmov     rdx, rsi                                                       ; +0x3f, 0x140493e6f\nmov     rcx, [rax+140h]                                                ; +0x42, 0x140493e72\nmov     rax, [rcx]                                                     ; +0x49, 0x140493e79\ncall    qword ptr [rax]                                                ; +0x4c, 0x140493e7c\nmov     rcx, [rdi+150h]                                                ; +0x4e, 0x140493e7e\ninc     ebx                                                            ; +0x55, 0x140493e85\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x57, 0x140493e87\ncmp     ebx, eax                                                       ; +0x5d, 0x140493e8d\njb      short loc_140493E60                                            ; +0x5f, 0x140493e8f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x61, 0x140493e91\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x66, 0x140493e96\nadd     rsp, 20h                                                       ; +0x6b, 0x140493e9b\npop     rdi                                                            ; +0x6f, 0x140493e9f\nretn                                                                   ; +0x70, 0x140493ea0", "xrefs": ["MusicDownloadManager::getSongInfo @ 0x1404829e8", "MusicDownloadManager::onGetSongInfoCompleted @ 0x140482d84", "<???> @ 0x140928f10"], "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"}