{"type": "func", "start": 6443292720, "end": 6443292762, "name": "sub_1800CD830", "pseudocode": "// \n// sub_1800CD830 from 0x1800cd830 to 0x1800cd85a (42 bytes)\n// \n// 5 xrefs:\n// > FMOD::Channel::getCurrentSound @ 0x18009fc3e\n// > sub_1800DE070 @ 0x1800de10b\n// > sub_180100780 @ 0x18010092b\n// > sub_1801026E0 @ 0x180102ade\n// > sub_1801026E0 @ 0x180102bd1\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_1800CD830(__int64 a1, _QWORD *a2)\n{\n  __int64 v3; // rax\n\n  if ( !a2 )\n    return 31;\n  v3 = *(_QWORD *)(a1 + 472);\n  if ( v3 )\n  {\n    *a2 = *(_QWORD *)(v3 + 40);\n    return 0;\n  }\n  else\n  {\n    *a2 = 0;\n    return 30;\n  }\n}", "assembly": "; \n; sub_1800CD830 from 0x1800cd830 to 0x1800cd85a (42 bytes)\n; \n; 5 xrefs:\n; > FMOD::Channel::getCurrentSound @ 0x18009fc3e\n; > sub_1800DE070 @ 0x1800de10b\n; > sub_180100780 @ 0x18010092b\n; > sub_1801026E0 @ 0x180102ade\n; > sub_1801026E0 @ 0x180102bd1\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\ntest    rdx, rdx                                                       ; +0x0, 0x1800cd830\njnz     short loc_1800CD83B                                            ; +0x3, 0x1800cd833\nmov     eax, 1Fh                                                       ; +0x5, 0x1800cd835\nretn                                                                   ; +0xa, 0x1800cd83a\nmov     rax, [rcx+1D8h]                                                ; +0xb, 0x1800cd83b\ntest    rax, rax                                                       ; +0x12, 0x1800cd842\njnz     short loc_1800CD850                                            ; +0x15, 0x1800cd845\nmov     [rdx], rax                                                     ; +0x17, 0x1800cd847\nmov     eax, 1Eh                                                       ; +0x1a, 0x1800cd84a\nretn                                                                   ; +0x1f, 0x1800cd84f\nmov     rax, [rax+28h]                                                 ; +0x20, 0x1800cd850\nmov     [rdx], rax                                                     ; +0x24, 0x1800cd854\nxor     eax, eax                                                       ; +0x27, 0x1800cd857\nretn                                                                   ; +0x29, 0x1800cd859", "xrefs": ["FMOD::Channel::getCurrentSound @ 0x18009fc3e", "sub_1800DE070 @ 0x1800de10b", "sub_180100780 @ 0x18010092b", "sub_1801026E0 @ 0x180102ade", "sub_1801026E0 @ 0x180102bd1"], "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"}