// // MusicDownloadManager::getSFXFolderObjectForID from 0x1005966d0 to 0x100596933 (611 bytes) // // 6 xrefs: // > SFXBrowser::onExitFolder @ 0x10043f5b5 // > SFXBrowser::setupSFXBrowser @ 0x10043fa69 // > SFXBrowser::setupSFXBrowser @ 0x10043fa80 // > MusicDownloadManager::getSFXFolderPathForID @ 0x100596968 // > MusicDownloadManager::getSFXFolderPathForID @ 0x100596979 // > MusicDownloadManager::getSFXFolderPathForID @ 0x1005969d7 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // SFXFolderObject *__fastcall MusicDownloadManager::getSFXFolderObjectForID(MusicDownloadManager *a1, int a2) { cocos2d::CCDictionary *v2; // rdi char *v3; // rbx SFXFolderObject *result; // rax cocos2d::CCDictionary *v5; // rdi SFXFolderObject *v6; // r14 char *v7; // rbx if ( qword_1009A2C38 ) { v2 = *(cocos2d::CCDictionary **)(qword_1009A2C38 + 392); if ( !v2 ) return nullptr; } else { v3 = (char *)operator new(0x230u); cocos2d::CCNode::CCNode((__int64)v3); *(_QWORD *)v3 = off_100970158; *((_QWORD *)v3 + 40) = off_1009704D8; *((_OWORD *)v3 + 28) = 0; *(_OWORD *)(v3 + 328) = 0; *(_OWORD *)(v3 + 344) = 0; *((_DWORD *)v3 + 90) = 0; *((_OWORD *)v3 + 23) = 0; *((_OWORD *)v3 + 24) = 0; *((_OWORD *)v3 + 25) = 0; v3[416] = 0; *(_OWORD *)(v3 + 424) = 0; *((_QWORD *)v3 + 55) = v3 + 448; *((_OWORD *)v3 + 30) = 0; *((_OWORD *)v3 + 31) = 0; *((_QWORD *)v3 + 58) = 0; *(_QWORD *)(v3 + 471) = 0; *((_DWORD *)v3 + 128) = 1065353216; *(_OWORD *)(v3 + 520) = 0; *(_OWORD *)(v3 + 536) = 0; *((_DWORD *)v3 + 138) = 1065353216; qword_1009A2C38 = (__int64)v3; MusicDownloadManager::init((MusicDownloadManager *)v3); v2 = *(cocos2d::CCDictionary **)(qword_1009A2C38 + 392); if ( !v2 ) return nullptr; } result = (SFXFolderObject *)cocos2d::CCDictionary::objectForKey(v2, a2); if ( !result ) return nullptr; if ( result->m_folder ) return result; if ( !qword_1009A2C38 ) { v6 = result; v7 = (char *)operator new(0x230u); cocos2d::CCNode::CCNode((__int64)v7); *(_QWORD *)v7 = off_100970158; *((_QWORD *)v7 + 40) = off_1009704D8; *((_OWORD *)v7 + 28) = 0; *(_OWORD *)(v7 + 328) = 0; *(_OWORD *)(v7 + 344) = 0; *((_DWORD *)v7 + 90) = 0; *((_OWORD *)v7 + 23) = 0; *((_OWORD *)v7 + 24) = 0; *((_OWORD *)v7 + 25) = 0; v7[416] = 0; *(_OWORD *)(v7 + 424) = 0; *((_QWORD *)v7 + 55) = v7 + 448; *((_OWORD *)v7 + 30) = 0; *((_OWORD *)v7 + 31) = 0; *((_QWORD *)v7 + 58) = 0; *(_QWORD *)(v7 + 471) = 0; *((_DWORD *)v7 + 128) = 1065353216; *(_OWORD *)(v7 + 520) = 0; *(_OWORD *)(v7 + 536) = 0; *((_DWORD *)v7 + 138) = 1065353216; qword_1009A2C38 = (__int64)v7; MusicDownloadManager::init((MusicDownloadManager *)v7); result = v6; v5 = *(cocos2d::CCDictionary **)(qword_1009A2C38 + 392); if ( v5 ) goto LABEL_11; return nullptr; } v5 = *(cocos2d::CCDictionary **)(qword_1009A2C38 + 392); if ( !v5 ) return nullptr; LABEL_11: result = (SFXFolderObject *)cocos2d::CCDictionary::objectForKey(v5, result->m_folderID); if ( !result || !result->m_folder ) return nullptr; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source