{"type": "func", "start": 6442467072, "end": 6442467101, "name": "sub_180003F00", "pseudocode": "// \n// sub_180003F00 from 0x180003f00 to 0x180003f1d (29 bytes)\n// \n// 5 xrefs:\n// > sub_180017A50 @ 0x180017b9c\n// > sub_180017CB0 @ 0x180017d28\n// > sub_180017E70 @ 0x180018034\n// > sub_180017E70 @ 0x180018095\n// > sub_180017E70 @ 0x1800180bd\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_180003F00(__int64 a1, int a2)\n{\n  if ( a2 && a2 + *(_DWORD *)(a1 + 24) > *(_DWORD *)(a1 + 28) )\n    return 4294967165LL;\n  *(_DWORD *)(a1 + 24) += a2;\n  return 0;\n}", "assembly": "; \n; sub_180003F00 from 0x180003f00 to 0x180003f1d (29 bytes)\n; \n; 5 xrefs:\n; > sub_180017A50 @ 0x180017b9c\n; > sub_180017CB0 @ 0x180017d28\n; > sub_180017E70 @ 0x180018034\n; > sub_180017E70 @ 0x180018095\n; > sub_180017E70 @ 0x1800180bd\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    edx, edx                                                       ; +0x0, 0x180003f00\njz      short loc_180003F17                                            ; +0x2, 0x180003f02\nmov     r8d, [rcx+18h]                                                 ; +0x4, 0x180003f04\nadd     r8d, edx                                                       ; +0x8, 0x180003f08\ncmp     r8d, [rcx+1Ch]                                                 ; +0xb, 0x180003f0b\njle     short loc_180003F17                                            ; +0xf, 0x180003f0f\nmov     eax, 0FFFFFF7Dh                                                ; +0x11, 0x180003f11\nretn                                                                   ; +0x16, 0x180003f16\nadd     [rcx+18h], edx                                                 ; +0x17, 0x180003f17\nxor     eax, eax                                                       ; +0x1a, 0x180003f1a\nretn                                                                   ; +0x1c, 0x180003f1c", "xrefs": ["sub_180017A50 @ 0x180017b9c", "sub_180017CB0 @ 0x180017d28", "sub_180017E70 @ 0x180018034", "sub_180017E70 @ 0x180018095", "sub_180017E70 @ 0x1800180bd"], "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"}