// // sub_1004C3C2C from 0x1004c3c2c to 0x1004c3cb4 (136 bytes) // // 3 xrefs: // > sub_1004439A0 @ 0x100443a6c // > FMOD::SoundGroup::getNumPlaying @ 0x1004c3294 // > sub_1004D30B4 @ 0x1004d3140 // // 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_1004C3C2C(__int64 a1, _DWORD *a2) { _QWORD *v4; // x8 _QWORD *v5; // x20 _QWORD *v6; // t1 int v7; // w9 if ( !a2 ) return 31; sub_1004B5C70(*((pthread_mutex_t **)off_1008524C8 + 38)); v6 = *(_QWORD **)(a1 + 40); v5 = (_QWORD *)(a1 + 40); v4 = v6; *a2 = 0; if ( v6 != v5 ) { v7 = 0; do { v7 += *(_DWORD *)(v4[2] + 312LL); *a2 = v7; v4 = (_QWORD *)*v4; } while ( v4 != v5 ); } sub_1004B5CA0(*((pthread_mutex_t **)off_1008524C8 + 38)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source