{"type": "func", "start": 6442578096, "end": 6442578203, "name": "sub_18001F0B0", "pseudocode": "// \n// sub_18001F0B0 from 0x18001f0b0 to 0x18001f11b (107 bytes)\n// \n// 29 xrefs:\n// > sub_1800013E0 @ 0x180001409\n// > sub_180005100 @ 0x18000512c\n// > sub_1800072A0 @ 0x1800072cc\n// > sub_180007570 @ 0x18000759c\n// > sub_180007DD0 @ 0x180007dfc\n// > sub_180008780 @ 0x1800087ac\n// > sub_180009280 @ 0x1800092ac\n// > sub_180009D90 @ 0x180009dbc\n// > sub_18000AC10 @ 0x18000ac3c\n// > sub_18000BA90 @ 0x18000babc\n// > sub_18000CE50 @ 0x18000ce7c\n// > sub_18000D3D0 @ 0x18000d3fc\n// > sub_18000FE80 @ 0x18000feac\n// > sub_18000FFB0 @ 0x18000ffdc\n// > sub_180010D60 @ 0x180010d8c\n// > sub_180010FA0 @ 0x180010fcc\n// > sub_180013FE0 @ 0x18001400c\n// > sub_180014740 @ 0x18001476c\n// > sub_180016B60 @ 0x180016b8c\n// > sub_180016C00 @ 0x180016c2c\n// > sub_180016CC0 @ 0x180016cec\n// > sub_180018E80 @ 0x180018ea9\n// > sub_180019130 @ 0x18001915c\n// > sub_180019330 @ 0x18001935c\n// > sub_18001C480 @ 0x18001c4ac\n// > sub_18001C5A0 @ 0x18001c5cc\n// > sub_18001C8F0 @ 0x18001c91c\n// > sub_18001D240 @ 0x18001d269\n// > <???> @ 0x18004d0ac\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:15:45 +0000\n// \n\n__int64 __fastcall sub_18001F0B0(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v3; // rbx\n  __int64 v5; // rdi\n  __int64 result; // rax\n\n  v3 = a3;\n  v5 = a1 + a3 * a2;\n  while ( 1 )\n  {\n    result = v3--;\n    if ( !result )\n      break;\n    v5 -= a2;\n    _guard_dispatch_icall_fptr();\n  }\n  return result;\n}", "assembly": "; \n; sub_18001F0B0 from 0x18001f0b0 to 0x18001f11b (107 bytes)\n; \n; 29 xrefs:\n; > sub_1800013E0 @ 0x180001409\n; > sub_180005100 @ 0x18000512c\n; > sub_1800072A0 @ 0x1800072cc\n; > sub_180007570 @ 0x18000759c\n; > sub_180007DD0 @ 0x180007dfc\n; > sub_180008780 @ 0x1800087ac\n; > sub_180009280 @ 0x1800092ac\n; > sub_180009D90 @ 0x180009dbc\n; > sub_18000AC10 @ 0x18000ac3c\n; > sub_18000BA90 @ 0x18000babc\n; > sub_18000CE50 @ 0x18000ce7c\n; > sub_18000D3D0 @ 0x18000d3fc\n; > sub_18000FE80 @ 0x18000feac\n; > sub_18000FFB0 @ 0x18000ffdc\n; > sub_180010D60 @ 0x180010d8c\n; > sub_180010FA0 @ 0x180010fcc\n; > sub_180013FE0 @ 0x18001400c\n; > sub_180014740 @ 0x18001476c\n; > sub_180016B60 @ 0x180016b8c\n; > sub_180016C00 @ 0x180016c2c\n; > sub_180016CC0 @ 0x180016cec\n; > sub_180018E80 @ 0x180018ea9\n; > sub_180019130 @ 0x18001915c\n; > sub_180019330 @ 0x18001935c\n; > sub_18001C480 @ 0x18001c4ac\n; > sub_18001C5A0 @ 0x18001c5cc\n; > sub_18001C8F0 @ 0x18001c91c\n; > sub_18001D240 @ 0x18001d269\n; > <???> @ 0x18004d0ac\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:15:45 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x18001f0b0\nmov     [rax+20h], r9                                                  ; +0x3, 0x18001f0b3\nmov     [rax+18h], r8                                                  ; +0x7, 0x18001f0b7\nmov     [rax+10h], rdx                                                 ; +0xb, 0x18001f0bb\npush    rbx                                                            ; +0xf, 0x18001f0bf\npush    rsi                                                            ; +0x10, 0x18001f0c0\npush    rdi                                                            ; +0x11, 0x18001f0c1\npush    r14                                                            ; +0x12, 0x18001f0c2\nsub     rsp, 38h                                                       ; +0x14, 0x18001f0c4\nmov     r14, r9                                                        ; +0x18, 0x18001f0c8\nmov     rbx, r8                                                        ; +0x1b, 0x18001f0cb\nmov     rsi, rdx                                                       ; +0x1e, 0x18001f0ce\nmov     byte ptr [rax-38h], 0                                          ; +0x21, 0x18001f0d1\nmov     rdi, rdx                                                       ; +0x25, 0x18001f0d5\nimul    rdi, r8                                                        ; +0x28, 0x18001f0d8\nadd     rdi, rcx                                                       ; +0x2c, 0x18001f0dc\nmov     [rax+8], rdi                                                   ; +0x2f, 0x18001f0df\nmov     rax, rbx                                                       ; +0x33, 0x18001f0e3\ndec     rbx                                                            ; +0x36, 0x18001f0e6\nmov     [rsp+58h+arg_10], rbx                                          ; +0x39, 0x18001f0e9\ntest    rax, rax                                                       ; +0x3e, 0x18001f0ee\njz      short loc_18001F10C                                            ; +0x41, 0x18001f0f1\nsub     rdi, rsi                                                       ; +0x43, 0x18001f0f3\nmov     [rsp+58h+arg_0], rdi                                           ; +0x46, 0x18001f0f6\nmov     rcx, rdi                                                       ; +0x4b, 0x18001f0fb\nmov     rax, r14                                                       ; +0x4e, 0x18001f0fe\nmov     rdx, cs:__guard_dispatch_icall_fptr                            ; +0x51, 0x18001f101\ncall    rdx ; _guard_dispatch_icall_nop                                ; +0x58, 0x18001f108\njmp     short loc_18001F0E3                                            ; +0x5a, 0x18001f10a\nmov     [rsp+58h+var_38], 1                                            ; +0x5c, 0x18001f10c\nadd     rsp, 38h                                                       ; +0x61, 0x18001f111\npop     r14                                                            ; +0x65, 0x18001f115\npop     rdi                                                            ; +0x67, 0x18001f117\npop     rsi                                                            ; +0x68, 0x18001f118\npop     rbx                                                            ; +0x69, 0x18001f119\nretn                                                                   ; +0x6a, 0x18001f11a", "xrefs": ["sub_1800013E0 @ 0x180001409", "sub_180005100 @ 0x18000512c", "sub_1800072A0 @ 0x1800072cc", "sub_180007570 @ 0x18000759c", "sub_180007DD0 @ 0x180007dfc", "sub_180008780 @ 0x1800087ac", "sub_180009280 @ 0x1800092ac", "sub_180009D90 @ 0x180009dbc", "sub_18000AC10 @ 0x18000ac3c", "sub_18000BA90 @ 0x18000babc", "sub_18000CE50 @ 0x18000ce7c", "sub_18000D3D0 @ 0x18000d3fc", "sub_18000FE80 @ 0x18000feac", "sub_18000FFB0 @ 0x18000ffdc", "sub_180010D60 @ 0x180010d8c", "sub_180010FA0 @ 0x180010fcc", "sub_180013FE0 @ 0x18001400c", "sub_180014740 @ 0x18001476c", "sub_180016B60 @ 0x180016b8c", "sub_180016C00 @ 0x180016c2c", "sub_180016CC0 @ 0x180016cec", "sub_180018E80 @ 0x180018ea9", "sub_180019130 @ 0x18001915c", "sub_180019330 @ 0x18001935c", "sub_18001C480 @ 0x18001c4ac", "sub_18001C5A0 @ 0x18001c5cc", "sub_18001C8F0 @ 0x18001c91c", "sub_18001D240 @ 0x18001d269", "<???> @ 0x18004d0ac"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}