// // sub_180053B10 from 0x180053b10 to 0x180053b8c (124 bytes) // // 1 xrefs: // > @ 0x18016ec50 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 10:53:18 +0000 // __int64 __fastcall sub_180053B10(__int64 a1, __int64 a2, __int16 a3, int a4) { __int16 v4; // ax *(_DWORD *)(a1 + 8) = 6; *(_DWORD *)(a1 + 12) = 2; switch ( a4 ) { case 48000: v4 = 0; LABEL_7: *(_WORD *)(a1 + 284) = v4; *(_WORD *)(a1 + 286) = a3; *(_DWORD *)(a1 + 248) = 393222; *(_DWORD *)(a1 + 252) = 393222; *(_DWORD *)(a1 + 256) = 393222; *(_DWORD *)(a1 + 280) = 131074; return 0; case 44100: v4 = 1; goto LABEL_7; case 32000: v4 = 2; goto LABEL_7; } return 51; }