// // sub_1004BAB98 from 0x1004bab98 to 0x1004bac4c (180 bytes) // // 1 xrefs: // > sub_1004BA0B8 @ 0x1004ba0c4 // // 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_1004BAB98(__int64 a1) { OpaqueAudioComponentInstance *v2; // x0 int *v4; // x1 int *v5; // x1 v2 = *(OpaqueAudioComponentInstance **)(a1 + 1440); if ( v2 ) { if ( AudioOutputUnitStop(v2) || AudioUnitUninitialize(*(AudioUnit *)(a1 + 1440)) || AudioComponentInstanceDispose(*(AudioComponentInstance *)(a1 + 1440)) ) { return 49; } *(_QWORD *)(a1 + 1440) = 0; } v4 = *(int **)(a1 + 1448); if ( v4 ) { sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v4); *(_QWORD *)(a1 + 1448) = 0; } v5 = *(int **)(a1 + 1456); if ( v5 ) { sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v5); *(_QWORD *)(a1 + 1456) = 0; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source