// // MusicDownloadManager::moveCustomSFXObject from 0x56bd98 to 0x56be22 (138 bytes) // // 1 xrefs: // > SFXBrowser::sfxFolderPicked @ 0x6c5282 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:52:33 +0000 // int __fastcall MusicDownloadManager::moveCustomSFXObject(MusicDownloadManager *this, int a2, int a3) { int v5; // r6 int CustomSFXObject; // r4 int v7; // r0 int v8; // r5 int CustomSFXFolderForID; // r0 int v10; // r3 int v11; // r9 cocos2d::CCArray *v12; // r0 if ( a2 <= 1 ) return 0; CustomSFXObject = MusicDownloadManager::getCustomSFXObject(this, a2); v7 = MusicDownloadManager::getCustomSFXObject(this, a3); v8 = v7; if ( !CustomSFXObject ) return 0; if ( !v7 ) return 0; v5 = *(unsigned __int8 *)(v7 + 68); if ( !*(_BYTE *)(v7 + 68) ) return 0; if ( *(_DWORD *)(CustomSFXObject + 56) != a3 ) { if ( *(_BYTE *)(CustomSFXObject + 68) ) { v10 = v7; v11 = 101; do { if ( *(_DWORD *)(v10 + 72) == 1 ) break; if ( !--v11 ) break; if ( v10 == CustomSFXObject ) return 0; v10 = MusicDownloadManager::getCustomSFXObject(this, *(_DWORD *)(v10 + 56)); } while ( v10 ); } CustomSFXFolderForID = MusicDownloadManager::getCustomSFXFolderForID(this, *(_DWORD *)(CustomSFXObject + 56)); if ( CustomSFXFolderForID ) { v12 = *(cocos2d::CCArray **)(CustomSFXFolderForID + 112); if ( v12 ) cocos2d::CCArray::removeObject(v12, (cocos2d::CCObject *)CustomSFXObject, 1); } cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(v8 + 112), (cocos2d::CCObject *)CustomSFXObject); *(_DWORD *)(CustomSFXObject + 56) = a3; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source