{"type": "func", "start": 6443507776, "end": 6443507925, "name": "sub_180102040", "pseudocode": "// \n// sub_180102040 from 0x180102040 to 0x1801020d5 (149 bytes)\n// \n// 1 xrefs:\n// > sub_1800E14F0 @ 0x1800e1c0a\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_180102040(\n        __int64 a1,\n        int a2,\n        __int64 a3,\n        __int64 a4,\n        int a5,\n        float a6,\n        float a7,\n        __int64 a8,\n        __int64 a9)\n{\n  __int64 v9; // r8\n  int v11; // edx\n\n  if ( !a9 || (unsigned int)(a8 - 1) > 0x1F )\n    return 31;\n  v9 = *(_QWORD *)(*(_QWORD *)a1 + 168LL);\n  if ( !a2 )\n    a2 = *(_DWORD *)(v9 + 70452);\n  if ( !*(_BYTE *)(v9 + 8) )\n    return 67;\n  v11 = a2 - 1;\n  if ( (unsigned int)v11 <= 7 )\n    return sub_1800F92F0((int *)(v9 + 71128 + 192LL * v11), v11, (int)v9 + 71128, a8, a6, a7, a8, a9);\n  else\n    return 31;\n}", "assembly": "; \n; sub_180102040 from 0x180102040 to 0x1801020d5 (149 bytes)\n; \n; 1 xrefs:\n; > sub_1800E14F0 @ 0x1800e1c0a\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     r10, [rsp+arg_40]                                              ; +0x0, 0x180102040\nmovaps  xmm4, xmm3                                                     ; +0x5, 0x180102045\nmovaps  xmm5, xmm2                                                     ; +0x8, 0x180102048\ntest    r10, r10                                                       ; +0xb, 0x18010204b\njz      short loc_1801020CF                                            ; +0xe, 0x18010204e\nmov     r9d, dword ptr [rsp+arg_38]                                    ; +0x10, 0x180102050\nlea     eax, [r9-1]                                                    ; +0x15, 0x180102055\ncmp     eax, 1Fh                                                       ; +0x19, 0x180102059\nja      short loc_1801020CF                                            ; +0x1c, 0x18010205c\nmov     rax, [rcx]                                                     ; +0x1e, 0x18010205e\nmov     r8, [rax+0A8h]                                                 ; +0x21, 0x180102061\ntest    edx, edx                                                       ; +0x28, 0x180102068\njnz     short loc_180102073                                            ; +0x2a, 0x18010206a\nmov     edx, [r8+11334h]                                               ; +0x2c, 0x18010206c\ncmp     byte ptr [r8+8], 0                                             ; +0x33, 0x180102073\njnz     short loc_180102080                                            ; +0x38, 0x180102078\nmov     eax, 43h ; 'C'                                                 ; +0x3a, 0x18010207a\nretn                                                                   ; +0x3f, 0x18010207f\ndec     edx                                                            ; +0x40, 0x180102080\ncmp     edx, 7                                                         ; +0x42, 0x180102082\nja      short loc_1801020CF                                            ; +0x45, 0x180102085\nmovss   xmm1, [rsp+arg_28]                                             ; +0x47, 0x180102087\nadd     r8, 115D8h                                                     ; +0x4d, 0x18010208d\nmovss   xmm0, [rsp+arg_30]                                             ; +0x54, 0x180102094\nmovaps  xmm2, xmm4                                                     ; +0x5a, 0x18010209a\nmovss   xmm3, [rsp+arg_20]                                             ; +0x5d, 0x18010209d\nmov     [rsp+arg_38], r10                                              ; +0x63, 0x1801020a3\nmov     [rsp+arg_30], r9d                                              ; +0x68, 0x1801020a8\nmovsxd  rax, edx                                                       ; +0x6d, 0x1801020ad\nmovss   [rsp+arg_28], xmm0                                             ; +0x70, 0x1801020b0\nmovss   [rsp+arg_20], xmm1                                             ; +0x76, 0x1801020b6\nmovaps  xmm1, xmm5                                                     ; +0x7c, 0x1801020bc\nlea     rcx, [rax+rax*2]                                               ; +0x7f, 0x1801020bf\nshl     rcx, 6                                                         ; +0x83, 0x1801020c3\nadd     rcx, r8                                                        ; +0x87, 0x1801020c7\njmp     sub_1800F92F0                                                  ; +0x8a, 0x1801020ca\nmov     eax, 1Fh                                                       ; +0x8f, 0x1801020cf\nretn                                                                   ; +0x94, 0x1801020d4", "xrefs": ["sub_1800E14F0 @ 0x1800e1c0a"], "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"}