{"type": "func", "start": 6443282848, "end": 6443282922, "name": "sub_1800CB1A0", "pseudocode": "// \n// sub_1800CB1A0 from 0x1800cb1a0 to 0x1800cb1ea (74 bytes)\n// \n// 2 xrefs:\n// > FMOD::ChannelGroup::getName @ 0x1800a0e5b\n// > <???> @ 0x1801fe538\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_1800CB1A0(__int64 a1, _BYTE *a2, int a3)\n{\n  int v6; // r8d\n  char *v7; // rdx\n\n  if ( !a2 )\n    return 31;\n  v6 = 256;\n  v7 = \"(null)\";\n  if ( a3 <= 256 )\n    v6 = a3;\n  if ( *(_QWORD *)(a1 + 480) )\n    v7 = *(char **)(a1 + 480);\n  sub_1800B7D20(a2, v7, v6);\n  return 0;\n}", "assembly": "; \n; sub_1800CB1A0 from 0x1800cb1a0 to 0x1800cb1ea (74 bytes)\n; \n; 2 xrefs:\n; > FMOD::ChannelGroup::getName @ 0x1800a0e5b\n; > <???> @ 0x1801fe538\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800cb1a0\nmov     eax, r8d                                                       ; +0x4, 0x1800cb1a4\nmov     r9, rdx                                                        ; +0x7, 0x1800cb1a7\ntest    rdx, rdx                                                       ; +0xa, 0x1800cb1aa\njnz     short loc_1800CB1B9                                            ; +0xd, 0x1800cb1ad\nmov     eax, 1Fh                                                       ; +0xf, 0x1800cb1af\nadd     rsp, 28h                                                       ; +0x14, 0x1800cb1b4\nretn                                                                   ; +0x18, 0x1800cb1b8\nmov     r8d, 100h                                                      ; +0x19, 0x1800cb1b9\nlea     rdx, String; \"(null)\"                                          ; +0x1f, 0x1800cb1bf\ncmp     eax, r8d                                                       ; +0x26, 0x1800cb1c6\ncmovle  r8d, eax                                                       ; +0x29, 0x1800cb1c9\nmov     rax, [rcx+1E0h]                                                ; +0x2d, 0x1800cb1cd\ntest    rax, rax                                                       ; +0x34, 0x1800cb1d4\nmov     rcx, r9                                                        ; +0x37, 0x1800cb1d7\ncmovnz  rdx, rax                                                       ; +0x3a, 0x1800cb1da\ncall    sub_1800B7D20                                                  ; +0x3e, 0x1800cb1de\nxor     eax, eax                                                       ; +0x43, 0x1800cb1e3\nadd     rsp, 28h                                                       ; +0x45, 0x1800cb1e5\nretn                                                                   ; +0x49, 0x1800cb1e9", "xrefs": ["FMOD::ChannelGroup::getName @ 0x1800a0e5b", "<???> @ 0x1801fe538"], "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"}