{"type": "func", "start": 6442793744, "end": 6442793868, "name": "sub_180053B10", "pseudocode": "// \n// sub_180053B10 from 0x180053b10 to 0x180053b8c (124 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x18016ec50\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall sub_180053B10(__int64 a1, __int64 a2, __int16 a3, int a4)\n{\n  __int16 v4; // ax\n\n  *(_DWORD *)(a1 + 8) = 6;\n  *(_DWORD *)(a1 + 12) = 2;\n  switch ( a4 )\n  {\n    case 48000:\n      v4 = 0;\nLABEL_7:\n      *(_WORD *)(a1 + 284) = v4;\n      *(_WORD *)(a1 + 286) = a3;\n      *(_DWORD *)(a1 + 248) = 393222;\n      *(_DWORD *)(a1 + 252) = 393222;\n      *(_DWORD *)(a1 + 256) = 393222;\n      *(_DWORD *)(a1 + 280) = 131074;\n      return 0;\n    case 44100:\n      v4 = 1;\n      goto LABEL_7;\n    case 32000:\n      v4 = 2;\n      goto LABEL_7;\n  }\n  return 51;\n}", "assembly": "; \n; sub_180053B10 from 0x180053b10 to 0x180053b8c (124 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x18016ec50\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     edx, 6                                                         ; +0x0, 0x180053b10\nmov     r10d, 2                                                        ; +0x5, 0x180053b15\nmov     [rcx+8], edx                                                   ; +0xb, 0x180053b1b\nmov     [rcx+0Ch], r10d                                                ; +0xe, 0x180053b1e\ncmp     r9d, 0BB80h                                                    ; +0x12, 0x180053b22\njnz     short loc_180053B2F                                            ; +0x19, 0x180053b29\nxor     eax, eax                                                       ; +0x1b, 0x180053b2b\njmp     short loc_180053B4C                                            ; +0x1d, 0x180053b2d\ncmp     r9d, 0AC44h                                                    ; +0x1f, 0x180053b2f\njnz     short loc_180053B3F                                            ; +0x26, 0x180053b36\nmov     eax, 1                                                         ; +0x28, 0x180053b38\njmp     short loc_180053B4C                                            ; +0x2d, 0x180053b3d\ncmp     r9d, 7D00h                                                     ; +0x2f, 0x180053b3f\njnz     short loc_180053B86                                            ; +0x36, 0x180053b46\nmovzx   eax, r10w                                                      ; +0x38, 0x180053b48\nmov     [rcx+11Ch], ax                                                 ; +0x3c, 0x180053b4c\nxor     eax, eax                                                       ; +0x43, 0x180053b53\nmov     [rcx+11Eh], r8w                                                ; +0x45, 0x180053b55\nmov     dword ptr [rcx+0F8h], 60006h                                   ; +0x4d, 0x180053b5d\nmov     dword ptr [rcx+0FCh], 60006h                                   ; +0x57, 0x180053b67\nmov     dword ptr [rcx+100h], 60006h                                   ; +0x61, 0x180053b71\nmov     dword ptr [rcx+118h], 20002h                                   ; +0x6b, 0x180053b7b\nretn                                                                   ; +0x75, 0x180053b85\nmov     eax, 33h ; '3'                                                 ; +0x76, 0x180053b86\nretn                                                                   ; +0x7b, 0x180053b8b", "xrefs": ["<???> @ 0x18016ec50"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}