{"type": "func", "start": 6443503424, "end": 6443503494, "name": "sub_180100F40", "pseudocode": "// \n// sub_180100F40 from 0x180100f40 to 0x180100f86 (70 bytes)\n// \n// 11 xrefs:\n// > sub_1800E98E0 @ 0x1800e994e\n// > sub_1800EB110 @ 0x1800eb297\n// > sub_1800EB320 @ 0x1800eb53a\n// > sub_1800EB320 @ 0x1800eb667\n// > sub_1800EB320 @ 0x1800eb83f\n// > sub_1800EB320 @ 0x1800ebdd9\n// > sub_1800EB320 @ 0x1800ebe1e\n// > sub_1800EB320 @ 0x1800ebe76\n// > sub_1800EB320 @ 0x1800ebea7\n// > sub_1800EB320 @ 0x1800ebeef\n// > sub_18010A4A0 @ 0x18010a4cd\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_180100F40(__int64 a1, int a2, _QWORD *a3)\n{\n  unsigned int v4; // edx\n\n  if ( !a2 )\n    a2 = *(_DWORD *)(a1 + 70452);\n  if ( !*(_BYTE *)(a1 + 8) )\n    return 67;\n  if ( !a3 )\n    return 31;\n  v4 = a2 - 1;\n  if ( v4 > 7 )\n    return 31;\n  *a3 = 192LL * (int)v4 + a1 + 71128;\n  return 0;\n}", "assembly": "; \n; sub_180100F40 from 0x180100f40 to 0x180100f86 (70 bytes)\n; \n; 11 xrefs:\n; > sub_1800E98E0 @ 0x1800e994e\n; > sub_1800EB110 @ 0x1800eb297\n; > sub_1800EB320 @ 0x1800eb53a\n; > sub_1800EB320 @ 0x1800eb667\n; > sub_1800EB320 @ 0x1800eb83f\n; > sub_1800EB320 @ 0x1800ebdd9\n; > sub_1800EB320 @ 0x1800ebe1e\n; > sub_1800EB320 @ 0x1800ebe76\n; > sub_1800EB320 @ 0x1800ebea7\n; > sub_1800EB320 @ 0x1800ebeef\n; > sub_18010A4A0 @ 0x18010a4cd\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     r9, rcx                                                        ; +0x0, 0x180100f40\ntest    edx, edx                                                       ; +0x3, 0x180100f43\njnz     short loc_180100F4D                                            ; +0x5, 0x180100f45\nmov     edx, [rcx+11334h]                                              ; +0x7, 0x180100f47\ncmp     byte ptr [rcx+8], 0                                            ; +0xd, 0x180100f4d\njnz     short loc_180100F59                                            ; +0x11, 0x180100f51\nmov     eax, 43h ; 'C'                                                 ; +0x13, 0x180100f53\nretn                                                                   ; +0x18, 0x180100f58\ntest    r8, r8                                                         ; +0x19, 0x180100f59\njz      short loc_180100F80                                            ; +0x1c, 0x180100f5c\ndec     edx                                                            ; +0x1e, 0x180100f5e\ncmp     edx, 7                                                         ; +0x20, 0x180100f60\nja      short loc_180100F80                                            ; +0x23, 0x180100f63\nmovsxd  rax, edx                                                       ; +0x25, 0x180100f65\nlea     rcx, [rax+rax*2]                                               ; +0x28, 0x180100f68\nshl     rcx, 6                                                         ; +0x2c, 0x180100f6c\nlea     rax, [r9+115D8h]                                               ; +0x30, 0x180100f70\nadd     rax, rcx                                                       ; +0x37, 0x180100f77\nmov     [r8], rax                                                      ; +0x3a, 0x180100f7a\nxor     eax, eax                                                       ; +0x3d, 0x180100f7d\nretn                                                                   ; +0x3f, 0x180100f7f\nmov     eax, 1Fh                                                       ; +0x40, 0x180100f80\nretn                                                                   ; +0x45, 0x180100f85", "xrefs": ["sub_1800E98E0 @ 0x1800e994e", "sub_1800EB110 @ 0x1800eb297", "sub_1800EB320 @ 0x1800eb53a", "sub_1800EB320 @ 0x1800eb667", "sub_1800EB320 @ 0x1800eb83f", "sub_1800EB320 @ 0x1800ebdd9", "sub_1800EB320 @ 0x1800ebe1e", "sub_1800EB320 @ 0x1800ebe76", "sub_1800EB320 @ 0x1800ebea7", "sub_1800EB320 @ 0x1800ebeef", "sub_18010A4A0 @ 0x18010a4cd"], "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"}