// // sub_1004472D0 from 0x1004472d0 to 0x1004473d4 (260 bytes) // // 1 xrefs: // > sub_100447458 @ 0x10044745c // // 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_1004472D0(__int64 a1, int a2, _DWORD *a3, __int64 a4, int a5, int a6, int a7, int a8) { __int64 v8; // x8 const char *v10; // x1 if ( (unsigned int)(a2 - 33) > 0x1F ) { if ( a2 ) return 31; *a3 = *(_DWORD *)(a1 + 9296); if ( a4 ) { switch ( *(_DWORD *)(a1 + 9296) ) { case 0: v10 = "Default"; goto LABEL_16; case 1: v10 = "All Mono"; goto LABEL_16; case 2: v10 = "All Stereo"; goto LABEL_16; case 3: v10 = "All Quad"; goto LABEL_16; case 4: v10 = "All 5.1"; goto LABEL_16; case 5: v10 = "All 7.1"; goto LABEL_16; case 6: v10 = "All LFE"; goto LABEL_16; case 7: v10 = "All 7.1.4"; LABEL_16: sub_1004C6BD0(a4, v10, 32); break; default: return 0; } } } else { v8 = a1 + 4LL * (unsigned int)(a2 - 33); *a3 = *(_DWORD *)(v8 + 9300); if ( a4 ) sub_1004C7414(a4, 0x20u, (int)"%d", a4, a5, a6, a7, a8, *(_DWORD *)(v8 + 9300)); } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source