{"type": "func", "start": 6442750544, "end": 6442750573, "name": "sub_180049250", "pseudocode": "// \n// sub_180049250 from 0x180049250 to 0x18004926d (29 bytes)\n// \n// 2 xrefs:\n// > sub_1800510D0 @ 0x180051396\n// > sub_180052020 @ 0x18005237c\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_180049250(__int64 a1, int a2)\n{\n  if ( a2 && a2 + *(_DWORD *)(a1 + 32) > *(_DWORD *)(a1 + 28) )\n    return 4294967165LL;\n  *(_DWORD *)(a1 + 32) += a2;\n  return 0;\n}", "assembly": "; \n; sub_180049250 from 0x180049250 to 0x18004926d (29 bytes)\n; \n; 2 xrefs:\n; > sub_1800510D0 @ 0x180051396\n; > sub_180052020 @ 0x18005237c\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, 0x180049250\njz      short loc_180049267                                            ; +0x2, 0x180049252\nmov     r8d, [rcx+20h]                                                 ; +0x4, 0x180049254\nadd     r8d, edx                                                       ; +0x8, 0x180049258\ncmp     r8d, [rcx+1Ch]                                                 ; +0xb, 0x18004925b\njle     short loc_180049267                                            ; +0xf, 0x18004925f\nmov     eax, 0FFFFFF7Dh                                                ; +0x11, 0x180049261\nretn                                                                   ; +0x16, 0x180049266\nadd     [rcx+20h], edx                                                 ; +0x17, 0x180049267\nxor     eax, eax                                                       ; +0x1a, 0x18004926a\nretn                                                                   ; +0x1c, 0x18004926c", "xrefs": ["sub_1800510D0 @ 0x180051396", "sub_180052020 @ 0x18005237c"], "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"}