// // sub_1004C3814 from 0x1004c3814 to 0x1004c38cc (184 bytes) // // 1 xrefs: // > FMOD::SoundGroup::setMaxAudibleBehavior @ 0x1004c2988 // // 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 // __int64 __fastcall sub_1004C3814(__int64 a1, unsigned int a2) { _QWORD *v5; // x8 _QWORD *v6; // x21 int v7; // w22 _QWORD *v13; // x23 _QWORD *v14; // x0 if ( a2 > 2 ) return 31; if ( a2 != 1 && *(_DWORD *)(a1 + 108) == 1 ) { v6 = (_QWORD *)(a1 + 64); v5 = *(_QWORD **)(a1 + 64); if ( v5 != (_QWORD *)(a1 + 64) ) { v7 = 0; __asm { FMOV V8.2S, #1.0 } do { v13 = (_QWORD *)*v5; v14 = (_QWORD *)v5[2]; v14[67] = _D8; if ( v7 >= *(_DWORD *)(a1 + 104) ) (*(void (__fastcall **)(_QWORD *))(*v14 + 8LL))(v14); ++v7; v5 = v13; } while ( v13 != v6 ); } } *(_DWORD *)(a1 + 108) = a2; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source