// // GJBaseGameLayer::processSFXObjects from 0x10027c7a0 to 0x10027c904 (356 bytes) // // 1 xrefs: // > GJBaseGameLayer::updateSpecialGroupData @ 0x10027a260 // // This function is hookable on this platform (idp: arm, 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:01:53 +0000 // __int64 __fastcall GJBaseGameLayer::processSFXObjects(__int64 a1) { __int64 v1; // x8 unsigned int *v2; // x9 __int64 v3; // x8 __int64 *v4; // x19 unsigned __int64 v5; // x20 __int64 v6; // x8 __int64 **v7; // x20 int v8; // w21 __int64 v9; // x19 __int64 v10; // x19 __int64 v11; // x0 __int64 v12; // x19 int v13; // w19 std::string __p; // [xsp+0h] [xbp-80h] BYREF std::string v16; // [xsp+18h] [xbp-68h] BYREF __int128 v17; // [xsp+30h] [xbp-50h] BYREF __int128 v18; // [xsp+40h] [xbp-40h] int v19; // [xsp+50h] [xbp-30h] v17 = 0u; v18 = 0u; v19 = 1065353216; v1 = *(_QWORD *)(a1 + 3280); if ( v1 ) { v2 = *(unsigned int **)(v1 + 56); v3 = *v2; if ( (_DWORD)v3 ) { v4 = *((__int64 **)v2 + 2); v5 = (unsigned __int64)&v4[v3 - 1]; do { v6 = *v4; if ( !*v4 ) break; if ( *(_DWORD *)(v6 + 1028) == 3602 && *(_BYTE *)(v6 + 1945) == 1 && *(int *)(v6 + 1864) >= 1 ) sub_10001CC04((unsigned __int64)&v17, (int *)(v6 + 1864), (_DWORD *)(v6 + 1864)); ++v4; } while ( (unsigned __int64)v4 <= v5 ); v7 = (__int64 **)v18; if ( (_QWORD)v18 ) { v8 = 0; while ( 1 ) { v9 = *((unsigned int *)v7 + 4); MusicDownloadManager::sharedState(); MusicDownloadManager::pathForSFX(v9, &v16); v10 = FMODAudioEngine::sharedEngine(); if ( SHIBYTE(v16.__r_.__value_.__r.__words[2]) < 0 ) sub_1000097D0(&__p, v16.__r_.__value_.__l.__data_, v16.__r_.__value_.__l.__size_); else __p = v16; v11 = FMODAudioEngine::preloadEffect(v10, (void **)&__p.__r_.__value_.__l.__data_); v12 = v11; if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) { operator delete(__p.__r_.__value_.__l.__data_); if ( !v12 ) goto LABEL_21; } else if ( !v11 ) { goto LABEL_21; } v8 += *(_DWORD *)(v12 + 32); if ( v8 <= 120000 ) { LABEL_21: v13 = 1; goto LABEL_22; } v13 = 0; LABEL_22: if ( SHIBYTE(v16.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v16.__r_.__value_.__l.__data_); if ( v13 ) { v7 = (__int64 **)*v7; if ( v7 ) continue; } return sub_1000184EC((__int64)&v17); } } } } return sub_1000184EC((__int64)&v17); }
GD Web Decomp Icon

GD Web Decomp

Raw Source