{"type": "func", "start": 6443314368, "end": 6443314464, "name": "sub_1800D2CC0", "pseudocode": "// \n// sub_1800D2CC0 from 0x1800d2cc0 to 0x1800d2d20 (96 bytes)\n// \n// 2 xrefs:\n// > FMOD::Geometry::save @ 0x1800a4639\n// > <???> @ 0x1801fecb8\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_1800D2CC0(int a1, __int64 a2, int *a3)\n{\n  int v4; // [rsp+50h] [rbp+18h] BYREF\n\n  if ( !a3 )\n    return 31;\n  if ( !a2 )\n    return sub_1800D2D70(a1, 0, (_DWORD)a3, 0, 0, (__int64)sub_1800D1DA0);\n  v4 = *a3;\n  return sub_1800D2D70(a1, a2, (unsigned int)&v4, 1, 0, (__int64)&sub_1800D2D20);\n}", "assembly": "; \n; sub_1800D2CC0 from 0x1800d2cc0 to 0x1800d2d20 (96 bytes)\n; \n; 2 xrefs:\n; > FMOD::Geometry::save @ 0x1800a4639\n; > <???> @ 0x1801fecb8\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, 38h                                                       ; +0x0, 0x1800d2cc0\ntest    r8, r8                                                         ; +0x4, 0x1800d2cc4\njnz     short loc_1800D2CD2                                            ; +0x7, 0x1800d2cc7\nlea     eax, [r8+1Fh]                                                  ; +0x9, 0x1800d2cc9\nadd     rsp, 38h                                                       ; +0xd, 0x1800d2ccd\nretn                                                                   ; +0x11, 0x1800d2cd1\ntest    rdx, rdx                                                       ; +0x12, 0x1800d2cd2\njz      short loc_1800D2D01                                            ; +0x15, 0x1800d2cd5\nmov     eax, [r8]                                                      ; +0x17, 0x1800d2cd7\nmov     r9b, 1                                                         ; +0x1a, 0x1800d2cda\nmov     [rsp+38h+arg_10], eax                                          ; +0x1d, 0x1800d2cdd\nlea     r8, [rsp+38h+arg_10]                                           ; +0x21, 0x1800d2ce1\nlea     rax, sub_1800D2D20                                             ; +0x26, 0x1800d2ce6\nmov     [rsp+38h+var_10], rax                                          ; +0x2d, 0x1800d2ced\nmov     [rsp+38h+var_18], 0                                            ; +0x32, 0x1800d2cf2\ncall    sub_1800D2D70                                                  ; +0x37, 0x1800d2cf7\nadd     rsp, 38h                                                       ; +0x3c, 0x1800d2cfc\nretn                                                                   ; +0x40, 0x1800d2d00\nlea     rax, sub_1800D1DA0                                             ; +0x41, 0x1800d2d01\nxor     edx, edx                                                       ; +0x48, 0x1800d2d08\nmov     [rsp+38h+var_10], rax                                          ; +0x4a, 0x1800d2d0a\nxor     r9d, r9d                                                       ; +0x4f, 0x1800d2d0f\nmov     [rsp+38h+var_18], dl                                           ; +0x52, 0x1800d2d12\ncall    sub_1800D2D70                                                  ; +0x56, 0x1800d2d16\nadd     rsp, 38h                                                       ; +0x5b, 0x1800d2d1b\nretn                                                                   ; +0x5f, 0x1800d2d1f", "xrefs": ["FMOD::Geometry::save @ 0x1800a4639", "<???> @ 0x1801fecb8"], "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"}