// // sub_7E74C from 0x7e74c to 0x7e848 (252 bytes) // // 1 xrefs: // > sub_7E878 @ 0x7e89c // // 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_7E74C(__int64 a1, int a2, _DWORD *a3, __int64 a4) { __int64 v4; // x8 const char *v6; // x1 if ( (unsigned int)(a2 - 33) > 0x1F ) { if ( a2 ) return 31; *a3 = *(_DWORD *)(a1 + 9304); if ( a4 ) { switch ( *(_DWORD *)(a1 + 9304) ) { case 0: v6 = "Default"; goto LABEL_16; case 1: v6 = "All Mono"; goto LABEL_16; case 2: v6 = "All Stereo"; goto LABEL_16; case 3: v6 = "All Quad"; goto LABEL_16; case 4: v6 = "All 5.1"; goto LABEL_16; case 5: v6 = "All 7.1"; goto LABEL_16; case 6: v6 = "All LFE"; goto LABEL_16; case 7: v6 = "All 7.1.4"; LABEL_16: sub_E3C94(a4, v6, 32); break; default: return 0; } } } else { v4 = a1 + 4LL * (a2 - 33); *a3 = *(_DWORD *)(v4 + 9308); if ( a4 ) sub_E3FC8(a4, 32, "%d", *(_DWORD *)(v4 + 9308)); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source