// // MusicDownloadManager::isCustomSFXInScope from 0x140486fc0 to 0x140487111 (337 bytes) // // 4 xrefs: // > MusicDownloadManager::rebuildCustomSFXMappings @ 0x140487412 // > @ 0x1408d056c // > @ 0x1408d0580 // > @ 0x140928c70 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:32:47 +0000 // char __fastcall MusicDownloadManager::isCustomSFXInScope(__int64 a1, __int64 a2, _QWORD *a3) { __int64 *v7; // rdx __int64 *v8; // r8 __int64 *v9; // rax char v10; // r9 int *v11; // rcx cocos2d::CCDictionary *v12; // rcx int v13; // ebx struct cocos2d::CCObject *v14; // r8 __int64 *v15; // rax __int64 *i; // rcx cocos2d::CCDictionary *v17; // rcx if ( !a3[1] ) return 0; v7 = (__int64 *)*a3; v8 = v7; v9 = (__int64 *)v7[1]; v10 = *((_BYTE *)v9 + 25); if ( !v10 ) { v11 = (int *)v7[1]; do { if ( v11[7] >= -1 ) v8 = (__int64 *)v11; else v11 += 4; v11 = *(int **)v11; } while ( !*((_BYTE *)v11 + 25) ); } if ( !*((_BYTE *)v8 + 25) && *((int *)v8 + 7) <= -1 ) return 1; if ( !v10 ) { do { if ( *((int *)v9 + 7) >= 1 ) v7 = v9; else v9 += 2; v9 = (__int64 *)*v9; } while ( !*((_BYTE *)v9 + 25) ); } if ( !*((_BYTE *)v7 + 25) && *((int *)v7 + 7) <= 1 ) return 1; v12 = *(cocos2d::CCDictionary **)(a1 + 920); if ( v12 ) { if ( *(int *)(a2 + 60) > 0 ) { v13 = 0; v14 = cocos2d::CCDictionary::objectForKey(v12, *(int *)(a2 + 60)); if ( v14 ) { while ( v13 < 100 ) { v15 = (__int64 *)*a3; for ( i = *(__int64 **)(*a3 + 8LL); !*((_BYTE *)i + 25); i = (__int64 *)*i ) { if ( *((_DWORD *)i + 7) >= *((_DWORD *)v14 + 19) ) v15 = i; else i += 2; } if ( !*((_BYTE *)v15 + 25) && *((_DWORD *)v14 + 19) >= *((_DWORD *)v15 + 7) ) return 1; v17 = *(cocos2d::CCDictionary **)(a1 + 920); if ( v17 ) { if ( *((int *)v14 + 15) > 0 ) { ++v13; v14 = cocos2d::CCDictionary::objectForKey(v17, *((int *)v14 + 15)); if ( v14 ) continue; } } return 0; } } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source