{"type": "func", "start": 6442578204, "end": 6442578294, "name": "sub_18001F11C", "pseudocode": "// \n// sub_18001F11C from 0x18001f11c to 0x18001f176 (90 bytes)\n// \n// 2 xrefs:\n// > sub_18001F0B0 @ 0x180021091\n// > <???> @ 0x18004d0b8\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_18001F11C(__int64 a1, __int64 a2, __int64 a3, __int64 (__fastcall *a4)(__int64))\n{\n  __int64 i; // rbx\n  __int64 result; // rax\n\n  for ( i = 0; i != a3; ++i )\n  {\n    a1 -= a2;\n    result = a4(a1);\n  }\n  return result;\n}", "assembly": "; \n; sub_18001F11C from 0x18001f11c to 0x18001f176 (90 bytes)\n; \n; 2 xrefs:\n; > sub_18001F0B0 @ 0x180021091\n; > <???> @ 0x18004d0b8\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     [rsp+arg_8], rbx                                               ; +0x0, 0x18001f11c\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x18001f121\npush    rdi                                                            ; +0xa, 0x18001f126\npush    r14                                                            ; +0xb, 0x18001f127\npush    r15                                                            ; +0xd, 0x18001f129\nsub     rsp, 40h                                                       ; +0xf, 0x18001f12b\nmov     r14, r9                                                        ; +0x13, 0x18001f12f\nmov     rsi, r8                                                        ; +0x16, 0x18001f132\nmov     r15, rdx                                                       ; +0x19, 0x18001f135\nmov     rdi, rcx                                                       ; +0x1c, 0x18001f138\nxor     ebx, ebx                                                       ; +0x1f, 0x18001f13b\nmov     [rsp+58h+var_20], rbx                                          ; +0x21, 0x18001f13d\ncmp     rbx, rsi                                                       ; +0x26, 0x18001f142\njz      short loc_18001F160                                            ; +0x29, 0x18001f145\nsub     rdi, r15                                                       ; +0x2b, 0x18001f147\nmov     [rsp+58h+arg_0], rdi                                           ; +0x2e, 0x18001f14a\nmov     rcx, rdi                                                       ; +0x33, 0x18001f14f\nmov     rax, r14                                                       ; +0x36, 0x18001f152\ncall    cs:__guard_dispatch_icall_fptr                                 ; +0x39, 0x18001f155\ninc     rbx                                                            ; +0x3f, 0x18001f15b\njmp     short loc_18001F13D                                            ; +0x42, 0x18001f15e\njmp     short $+2                                                      ; +0x44, 0x18001f160\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x46, 0x18001f162\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x4b, 0x18001f167\nadd     rsp, 40h                                                       ; +0x50, 0x18001f16c\npop     r15                                                            ; +0x54, 0x18001f170\npop     r14                                                            ; +0x56, 0x18001f172\npop     rdi                                                            ; +0x58, 0x18001f174\nretn                                                                   ; +0x59, 0x18001f175", "xrefs": ["sub_18001F0B0 @ 0x180021091", "<???> @ 0x18004d0b8"], "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"}