{"type": "func", "start": 6443442000, "end": 6443442053, "name": "sub_1800F1F50", "pseudocode": "// \n// sub_1800F1F50 from 0x1800f1f50 to 0x1800f1f85 (53 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801afff0\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_1800F1F50(__int64 *a1, int a2, float a3)\n{\n  __int64 v3; // r8\n  int v4; // edx\n\n  v3 = *a1;\n  if ( a2 )\n  {\n    v4 = a2 - 1;\n    if ( v4 )\n    {\n      if ( v4 == 1 )\n        return 68;\n      else\n        return 31;\n    }\n    else\n    {\n      *(float *)(v3 + 572) = a3;\n      return 0;\n    }\n  }\n  else\n  {\n    *(float *)(v3 + 568) = a3;\n    return 0;\n  }\n}", "assembly": "; \n; sub_1800F1F50 from 0x1800f1f50 to 0x1800f1f85 (53 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801afff0\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     r8, [rcx]                                                      ; +0x0, 0x1800f1f50\ntest    edx, edx                                                       ; +0x3, 0x1800f1f53\njz      short loc_1800F1F79                                            ; +0x5, 0x1800f1f55\nsub     edx, 1                                                         ; +0x7, 0x1800f1f57\njz      short loc_1800F1F6D                                            ; +0xa, 0x1800f1f5a\ncmp     edx, 1                                                         ; +0xc, 0x1800f1f5c\njz      short loc_1800F1F67                                            ; +0xf, 0x1800f1f5f\nmov     eax, 1Fh                                                       ; +0x11, 0x1800f1f61\nretn                                                                   ; +0x16, 0x1800f1f66\nmov     eax, 44h ; 'D'                                                 ; +0x17, 0x1800f1f67\nretn                                                                   ; +0x1c, 0x1800f1f6c\nmovss   dword ptr [r8+23Ch], xmm2                                      ; +0x1d, 0x1800f1f6d\nxor     eax, eax                                                       ; +0x26, 0x1800f1f76\nretn                                                                   ; +0x28, 0x1800f1f78\nmovss   dword ptr [r8+238h], xmm2                                      ; +0x29, 0x1800f1f79\nxor     eax, eax                                                       ; +0x32, 0x1800f1f82\nretn                                                                   ; +0x34, 0x1800f1f84", "xrefs": ["<???> @ 0x1801afff0"], "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"}