{"type": "func", "start": 6443529312, "end": 6443530152, "name": "sub_180107460", "pseudocode": "// \n// sub_180107460 from 0x180107460 to 0x1801077a8 (840 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18016ee20\n// > <???> @ 0x180201520\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 10:54:32 +0000\n// \n\n__int64 __fastcall sub_180107460(__int64 a1, __int64 a2)\n{\n  __int64 (__fastcall **v3)(__int64); // rax\n  char v5; // al\n  __int64 v6; // rax\n  __int64 v7; // rax\n  __int64 v8; // rax\n  __int64 v9; // rcx\n  __int64 v10; // rcx\n  __int64 v11; // rcx\n  __int64 v12; // rcx\n  __int64 v13; // rcx\n  __int64 v14; // rcx\n  __int64 v15; // rcx\n  int v16; // eax\n  __int64 (__fastcall ***v18)(_QWORD, __int128 *, _QWORD); // rcx\n  int v19; // [rsp+20h] [rbp-49h] BYREF\n  int v20; // [rsp+24h] [rbp-45h] BYREF\n  __int64 v21; // [rsp+28h] [rbp-41h] BYREF\n  int v22; // [rsp+30h] [rbp-39h] BYREF\n  int v23; // [rsp+34h] [rbp-35h] BYREF\n  int v24; // [rsp+38h] [rbp-31h] BYREF\n  __int128 v25; // [rsp+40h] [rbp-29h] BYREF\n  __int128 v26; // [rsp+50h] [rbp-19h]\n  __int128 v27; // [rsp+60h] [rbp-9h]\n  __int128 v28; // [rsp+70h] [rbp+7h]\n  _QWORD v29[2]; // [rsp+80h] [rbp+17h] BYREF\n  _DWORD v30[6]; // [rsp+90h] [rbp+27h] BYREF\n\n  v29[0] = 0;\n  v3 = *(__int64 (__fastcall ***)(__int64))a1;\n  v25 = 0;\n  LODWORD(v25) = 72;\n  v26 = 0;\n  v27 = 0;\n  v28 = 0;\n  v5 = (*v3)(a1);\n  BYTE10(v25) = 0;\n  BYTE8(v25) = v5;\n  FMOD_Memory_GetStats(v29, (_DWORD *)v29 + 1, 0);\n  sub_1800E3E80(*(_QWORD *)(a1 + 40), v30);\n  v6 = *(_QWORD *)(a1 + 40);\n  HIDWORD(v25) = v30[0];\n  LODWORD(v26) = v30[1];\n  *(_QWORD *)((char *)&v26 + 4) = __PAIR64__(v30[2], v30[3]);\n  v22 = 0;\n  sub_1800D0CC0(*(_QWORD *)(*(_QWORD *)(v6 + 1720) + 64LL), &v22);\n  v7 = *(_QWORD *)(a1 + 40);\n  v23 = 0;\n  sub_1800D0CE0(*(_DWORD **)(*(_QWORD *)(v7 + 1720) + 64LL), &v23);\n  v8 = *(_QWORD *)(a1 + 40);\n  v24 = 0;\n  sub_1800D0CC0(*(_QWORD *)(*(_QWORD *)(v8 + 1712) + 64LL), &v24);\n  v9 = *(_QWORD *)(a1 + 40);\n  WORD6(v26) = v22;\n  HIWORD(v26) = v23;\n  LOWORD(v27) = v24;\n  WORD1(v27) = *(_WORD *)(v9 + 480);\n  HIDWORD(v27) = 0;\n  v21 = 0;\n  if ( !(unsigned int)sub_1800FC4C0(v9, 3u, &v21) )\n  {\n    v19 = 0;\n    v20 = 0;\n    if ( !(unsigned int)sub_1800555E0(v21, &v19, &v20) )\n    {\n      WORD6(v27) = v19;\n      HIWORD(v27) = v20;\n    }\n  }\n  v10 = *(_QWORD *)(a1 + 40);\n  DWORD1(v27) = 0;\n  v21 = 0;\n  if ( !(unsigned int)sub_1800FC4C0(v10, 2u, &v21) )\n  {\n    v20 = 0;\n    v19 = 0;\n    if ( !(unsigned int)sub_1800555E0(v21, &v20, &v19) )\n    {\n      WORD2(v27) = v20;\n      WORD3(v27) = v19;\n    }\n  }\n  v11 = *(_QWORD *)(a1 + 40);\n  DWORD2(v27) = 0;\n  v21 = 0;\n  if ( !(unsigned int)sub_1800FC4C0(v11, 7u, &v21) )\n  {\n    v20 = 0;\n    v19 = 0;\n    if ( !(unsigned int)sub_1800555E0(v21, &v20, &v19) )\n    {\n      WORD4(v27) = v20;\n      WORD5(v27) = v19;\n    }\n  }\n  v12 = *(_QWORD *)(a1 + 40);\n  DWORD1(v28) = 0;\n  v21 = 0;\n  if ( !(unsigned int)sub_1800FC4C0(v12, 4u, &v21) )\n  {\n    v20 = 0;\n    v19 = 0;\n    if ( !(unsigned int)sub_1800555E0(v21, &v20, &v19) )\n    {\n      WORD2(v28) = v20;\n      WORD3(v28) = v19;\n    }\n  }\n  v13 = *(_QWORD *)(a1 + 40);\n  LODWORD(v28) = 0;\n  v21 = 0;\n  if ( !(unsigned int)sub_1800FC4C0(v13, 5u, &v21) )\n  {\n    v20 = 0;\n    v19 = 0;\n    if ( !(unsigned int)sub_1800555E0(v21, &v20, &v19) )\n    {\n      LOWORD(v28) = v20;\n      WORD1(v28) = v19;\n    }\n  }\n  v14 = *(_QWORD *)(a1 + 40);\n  DWORD2(v28) = 0;\n  v21 = 0;\n  if ( !(unsigned int)sub_1800FC4C0(v14, 6u, &v21) )\n  {\n    v20 = 0;\n    v19 = 0;\n    if ( !(unsigned int)sub_1800555E0(v21, &v20, &v19) )\n    {\n      WORD4(v28) = v20;\n      WORD5(v28) = v19;\n    }\n  }\n  v15 = *(_QWORD *)(a1 + 40);\n  HIDWORD(v28) = 0;\n  v21 = 0;\n  if ( !(unsigned int)sub_1800FC4C0(v15, 0, &v21) )\n  {\n    v20 = 0;\n    v19 = 0;\n    if ( !(unsigned int)sub_1800555E0(v21, &v20, &v19) )\n    {\n      WORD6(v28) = v20;\n      HIWORD(v28) = v19;\n    }\n  }\n  v16 = *(_DWORD *)(a2 + 8);\n  if ( v16 >= 1 )\n    return 28;\n  v18 = *(__int64 (__fastcall ****)(_QWORD, __int128 *, _QWORD))a2;\n  *(_DWORD *)(a2 + 8) = v16 + 1;\n  return (**v18)(v18, &v25, 0);\n}", "assembly": "; \n; sub_180107460 from 0x180107460 to 0x1801077a8 (840 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18016ee20\n; > <???> @ 0x180201520\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 10:54:32 +0000\n; \nmov     [rsp-8+arg_10], rbx                                            ; +0x0, 0x180107460\npush    rbp                                                            ; +0x5, 0x180107465\npush    rsi                                                            ; +0x6, 0x180107466\npush    rdi                                                            ; +0x7, 0x180107467\nlea     rbp, [rsp-47h]                                                 ; +0x8, 0x180107468\nsub     rsp, 0B0h                                                      ; +0xd, 0x18010746d\nmov     rax, cs:__security_cookie                                      ; +0x14, 0x180107474\nxor     rax, rsp                                                       ; +0x1b, 0x18010747b\nmov     [rbp+57h+var_18], rax                                          ; +0x1e, 0x18010747e\nxorps   xmm0, xmm0                                                     ; +0x22, 0x180107482\nxor     eax, eax                                                       ; +0x25, 0x180107485\nmov     [rbp+57h+var_40], rax                                          ; +0x27, 0x180107487\nmov     rdi, rdx                                                       ; +0x2b, 0x18010748b\nmov     rax, [rcx]                                                     ; +0x2e, 0x18010748e\nmov     rbx, rcx                                                       ; +0x31, 0x180107491\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x34, 0x180107494\nmov     dword ptr [rbp+57h+var_80], 48h ; 'H'                          ; +0x38, 0x180107498\nmovups  [rbp+57h+var_70], xmm0                                         ; +0x3f, 0x18010749f\nmovups  [rbp+57h+var_60], xmm0                                         ; +0x43, 0x1801074a3\nmovups  [rbp+57h+var_50], xmm0                                         ; +0x47, 0x1801074a7\ncall    qword ptr [rax]                                                ; +0x4b, 0x1801074ab\nxor     r8d, r8d                                                       ; +0x4d, 0x1801074ad\nmov     byte ptr [rbp+57h+var_80+0Ah], 0                               ; +0x50, 0x1801074b0\nlea     rdx, [rbp+57h+var_40+4]                                        ; +0x54, 0x1801074b4\nmov     byte ptr [rbp+57h+var_80+8], al                                ; +0x58, 0x1801074b8\nlea     rcx, [rbp+57h+var_40]                                          ; +0x5b, 0x1801074bb\ncall    FMOD_Memory_GetStats                                           ; +0x5f, 0x1801074bf\nmov     rcx, [rbx+28h]                                                 ; +0x64, 0x1801074c4\nlea     rdx, [rbp+57h+var_30]                                          ; +0x68, 0x1801074c8\ncall    sub_1800E3E80                                                  ; +0x6c, 0x1801074cc\nmovss   xmm0, [rbp+57h+var_30]                                         ; +0x71, 0x1801074d1\nlea     rdx, [rbp+57h+var_90]                                          ; +0x76, 0x1801074d6\nmovss   xmm1, [rbp+57h+var_2C]                                         ; +0x7a, 0x1801074da\nxor     esi, esi                                                       ; +0x7f, 0x1801074df\nmov     rax, [rbx+28h]                                                 ; +0x81, 0x1801074e1\nmovss   dword ptr [rbp+57h+var_80+0Ch], xmm0                           ; +0x85, 0x1801074e5\nmovss   xmm0, [rbp+57h+var_28]                                         ; +0x8a, 0x1801074ea\nmovss   dword ptr [rbp+57h+var_70], xmm1                               ; +0x8f, 0x1801074ef\nmovss   xmm1, [rbp+57h+var_24]                                         ; +0x94, 0x1801074f4\nmovss   dword ptr [rbp+57h+var_70+8], xmm0                             ; +0x99, 0x1801074f9\nmovss   dword ptr [rbp+57h+var_70+4], xmm1                             ; +0x9e, 0x1801074fe\nmov     [rbp+57h+var_90], esi                                          ; +0xa3, 0x180107503\nmov     rcx, [rax+6B8h]                                                ; +0xa6, 0x180107506\nmov     rcx, [rcx+40h]                                                 ; +0xad, 0x18010750d\ncall    sub_1800D0CC0                                                  ; +0xb1, 0x180107511\nmov     rax, [rbx+28h]                                                 ; +0xb6, 0x180107516\nlea     rdx, [rbp+57h+var_8C]                                          ; +0xba, 0x18010751a\nmov     [rbp+57h+var_8C], esi                                          ; +0xbe, 0x18010751e\nmov     rcx, [rax+6B8h]                                                ; +0xc1, 0x180107521\nmov     rcx, [rcx+40h]                                                 ; +0xc8, 0x180107528\ncall    sub_1800D0CE0                                                  ; +0xcc, 0x18010752c\nmov     rax, [rbx+28h]                                                 ; +0xd1, 0x180107531\nlea     rdx, [rbp+57h+var_88]                                          ; +0xd5, 0x180107535\nmov     [rbp+57h+var_88], esi                                          ; +0xd9, 0x180107539\nmov     rcx, [rax+6B0h]                                                ; +0xdc, 0x18010753c\nmov     rcx, [rcx+40h]                                                 ; +0xe3, 0x180107543\ncall    sub_1800D0CC0                                                  ; +0xe7, 0x180107547\nmovzx   eax, word ptr [rbp+57h+var_90]                                 ; +0xec, 0x18010754c\nlea     r8, [rbp+57h+var_98]                                           ; +0xf0, 0x180107550\nmov     rcx, [rbx+28h]                                                 ; +0xf4, 0x180107554\nlea     edx, [rsi+3]                                                   ; +0xf8, 0x180107558\nmov     word ptr [rbp+57h+var_70+0Ch], ax                              ; +0xfb, 0x18010755b\nmovzx   eax, word ptr [rbp+57h+var_8C]                                 ; +0xff, 0x18010755f\nmov     word ptr [rbp+57h+var_70+0Eh], ax                              ; +0x103, 0x180107563\nmovzx   eax, word ptr [rbp+57h+var_88]                                 ; +0x107, 0x180107567\nmov     word ptr [rbp+57h+var_60], ax                                  ; +0x10b, 0x18010756b\nmovzx   eax, word ptr [rcx+1E0h]                                       ; +0x10f, 0x18010756f\nmov     word ptr [rbp+57h+var_60+2], ax                                ; +0x116, 0x180107576\nmov     dword ptr [rbp+57h+var_60+0Ch], esi                            ; +0x11a, 0x18010757a\nmov     [rbp+57h+var_98], rsi                                          ; +0x11d, 0x18010757d\ncall    sub_1800FC4C0                                                  ; +0x121, 0x180107581\ntest    eax, eax                                                       ; +0x126, 0x180107586\njnz     short loc_1801075B5                                            ; +0x128, 0x180107588\nmov     rcx, [rbp+57h+var_98]                                          ; +0x12a, 0x18010758a\nlea     r8, [rbp+57h+var_9C]                                           ; +0x12e, 0x18010758e\nlea     rdx, [rbp+57h+var_A0]                                          ; +0x132, 0x180107592\nmov     [rbp+57h+var_A0], esi                                          ; +0x136, 0x180107596\nmov     [rbp+57h+var_9C], esi                                          ; +0x139, 0x180107599\ncall    sub_1800555E0                                                  ; +0x13c, 0x18010759c\ntest    eax, eax                                                       ; +0x141, 0x1801075a1\njnz     short loc_1801075B5                                            ; +0x143, 0x1801075a3\nmovzx   eax, word ptr [rbp+57h+var_A0]                                 ; +0x145, 0x1801075a5\nmov     word ptr [rbp+57h+var_60+0Ch], ax                              ; +0x149, 0x1801075a9\nmovzx   eax, word ptr [rbp+57h+var_9C]                                 ; +0x14d, 0x1801075ad\nmov     word ptr [rbp+57h+var_60+0Eh], ax                              ; +0x151, 0x1801075b1\nmov     rcx, [rbx+28h]                                                 ; +0x155, 0x1801075b5\nlea     r8, [rbp+57h+var_98]                                           ; +0x159, 0x1801075b9\nmov     edx, 2                                                         ; +0x15d, 0x1801075bd\nmov     dword ptr [rbp+57h+var_60+4], esi                              ; +0x162, 0x1801075c2\nmov     [rbp+57h+var_98], rsi                                          ; +0x165, 0x1801075c5\ncall    sub_1800FC4C0                                                  ; +0x169, 0x1801075c9\ntest    eax, eax                                                       ; +0x16e, 0x1801075ce\njnz     short loc_1801075FD                                            ; +0x170, 0x1801075d0\nmov     rcx, [rbp+57h+var_98]                                          ; +0x172, 0x1801075d2\nlea     r8, [rbp+57h+var_A0]                                           ; +0x176, 0x1801075d6\nlea     rdx, [rbp+57h+var_9C]                                          ; +0x17a, 0x1801075da\nmov     [rbp+57h+var_9C], esi                                          ; +0x17e, 0x1801075de\nmov     [rbp+57h+var_A0], esi                                          ; +0x181, 0x1801075e1\ncall    sub_1800555E0                                                  ; +0x184, 0x1801075e4\ntest    eax, eax                                                       ; +0x189, 0x1801075e9\njnz     short loc_1801075FD                                            ; +0x18b, 0x1801075eb\nmovzx   eax, word ptr [rbp+57h+var_9C]                                 ; +0x18d, 0x1801075ed\nmov     word ptr [rbp+57h+var_60+4], ax                                ; +0x191, 0x1801075f1\nmovzx   eax, word ptr [rbp+57h+var_A0]                                 ; +0x195, 0x1801075f5\nmov     word ptr [rbp+57h+var_60+6], ax                                ; +0x199, 0x1801075f9\nmov     rcx, [rbx+28h]                                                 ; +0x19d, 0x1801075fd\nlea     r8, [rbp+57h+var_98]                                           ; +0x1a1, 0x180107601\nmov     edx, 7                                                         ; +0x1a5, 0x180107605\nmov     dword ptr [rbp+57h+var_60+8], esi                              ; +0x1aa, 0x18010760a\nmov     [rbp+57h+var_98], rsi                                          ; +0x1ad, 0x18010760d\ncall    sub_1800FC4C0                                                  ; +0x1b1, 0x180107611\ntest    eax, eax                                                       ; +0x1b6, 0x180107616\njnz     short loc_180107645                                            ; +0x1b8, 0x180107618\nmov     rcx, [rbp+57h+var_98]                                          ; +0x1ba, 0x18010761a\nlea     r8, [rbp+57h+var_A0]                                           ; +0x1be, 0x18010761e\nlea     rdx, [rbp+57h+var_9C]                                          ; +0x1c2, 0x180107622\nmov     [rbp+57h+var_9C], esi                                          ; +0x1c6, 0x180107626\nmov     [rbp+57h+var_A0], esi                                          ; +0x1c9, 0x180107629\ncall    sub_1800555E0                                                  ; +0x1cc, 0x18010762c\ntest    eax, eax                                                       ; +0x1d1, 0x180107631\njnz     short loc_180107645                                            ; +0x1d3, 0x180107633\nmovzx   eax, word ptr [rbp+57h+var_9C]                                 ; +0x1d5, 0x180107635\nmov     word ptr [rbp+57h+var_60+8], ax                                ; +0x1d9, 0x180107639\nmovzx   eax, word ptr [rbp+57h+var_A0]                                 ; +0x1dd, 0x18010763d\nmov     word ptr [rbp+57h+var_60+0Ah], ax                              ; +0x1e1, 0x180107641\nmov     rcx, [rbx+28h]                                                 ; +0x1e5, 0x180107645\nlea     r8, [rbp+57h+var_98]                                           ; +0x1e9, 0x180107649\nmov     edx, 4                                                         ; +0x1ed, 0x18010764d\nmov     dword ptr [rbp+57h+var_50+4], esi                              ; +0x1f2, 0x180107652\nmov     [rbp+57h+var_98], rsi                                          ; +0x1f5, 0x180107655\ncall    sub_1800FC4C0                                                  ; +0x1f9, 0x180107659\ntest    eax, eax                                                       ; +0x1fe, 0x18010765e\njnz     short loc_18010768D                                            ; +0x200, 0x180107660\nmov     rcx, [rbp+57h+var_98]                                          ; +0x202, 0x180107662\nlea     r8, [rbp+57h+var_A0]                                           ; +0x206, 0x180107666\nlea     rdx, [rbp+57h+var_9C]                                          ; +0x20a, 0x18010766a\nmov     [rbp+57h+var_9C], esi                                          ; +0x20e, 0x18010766e\nmov     [rbp+57h+var_A0], esi                                          ; +0x211, 0x180107671\ncall    sub_1800555E0                                                  ; +0x214, 0x180107674\ntest    eax, eax                                                       ; +0x219, 0x180107679\njnz     short loc_18010768D                                            ; +0x21b, 0x18010767b\nmovzx   eax, word ptr [rbp+57h+var_9C]                                 ; +0x21d, 0x18010767d\nmov     word ptr [rbp+57h+var_50+4], ax                                ; +0x221, 0x180107681\nmovzx   eax, word ptr [rbp+57h+var_A0]                                 ; +0x225, 0x180107685\nmov     word ptr [rbp+57h+var_50+6], ax                                ; +0x229, 0x180107689\nmov     rcx, [rbx+28h]                                                 ; +0x22d, 0x18010768d\nlea     r8, [rbp+57h+var_98]                                           ; +0x231, 0x180107691\nmov     edx, 5                                                         ; +0x235, 0x180107695\nmov     dword ptr [rbp+57h+var_50], esi                                ; +0x23a, 0x18010769a\nmov     [rbp+57h+var_98], rsi                                          ; +0x23d, 0x18010769d\ncall    sub_1800FC4C0                                                  ; +0x241, 0x1801076a1\ntest    eax, eax                                                       ; +0x246, 0x1801076a6\njnz     short loc_1801076D5                                            ; +0x248, 0x1801076a8\nmov     rcx, [rbp+57h+var_98]                                          ; +0x24a, 0x1801076aa\nlea     r8, [rbp+57h+var_A0]                                           ; +0x24e, 0x1801076ae\nlea     rdx, [rbp+57h+var_9C]                                          ; +0x252, 0x1801076b2\nmov     [rbp+57h+var_9C], esi                                          ; +0x256, 0x1801076b6\nmov     [rbp+57h+var_A0], esi                                          ; +0x259, 0x1801076b9\ncall    sub_1800555E0                                                  ; +0x25c, 0x1801076bc\ntest    eax, eax                                                       ; +0x261, 0x1801076c1\njnz     short loc_1801076D5                                            ; +0x263, 0x1801076c3\nmovzx   eax, word ptr [rbp+57h+var_9C]                                 ; +0x265, 0x1801076c5\nmov     word ptr [rbp+57h+var_50], ax                                  ; +0x269, 0x1801076c9\nmovzx   eax, word ptr [rbp+57h+var_A0]                                 ; +0x26d, 0x1801076cd\nmov     word ptr [rbp+57h+var_50+2], ax                                ; +0x271, 0x1801076d1\nmov     rcx, [rbx+28h]                                                 ; +0x275, 0x1801076d5\nlea     r8, [rbp+57h+var_98]                                           ; +0x279, 0x1801076d9\nmov     edx, 6                                                         ; +0x27d, 0x1801076dd\nmov     dword ptr [rbp+57h+var_50+8], esi                              ; +0x282, 0x1801076e2\nmov     [rbp+57h+var_98], rsi                                          ; +0x285, 0x1801076e5\ncall    sub_1800FC4C0                                                  ; +0x289, 0x1801076e9\ntest    eax, eax                                                       ; +0x28e, 0x1801076ee\njnz     short loc_18010771D                                            ; +0x290, 0x1801076f0\nmov     rcx, [rbp+57h+var_98]                                          ; +0x292, 0x1801076f2\nlea     r8, [rbp+57h+var_A0]                                           ; +0x296, 0x1801076f6\nlea     rdx, [rbp+57h+var_9C]                                          ; +0x29a, 0x1801076fa\nmov     [rbp+57h+var_9C], esi                                          ; +0x29e, 0x1801076fe\nmov     [rbp+57h+var_A0], esi                                          ; +0x2a1, 0x180107701\ncall    sub_1800555E0                                                  ; +0x2a4, 0x180107704\ntest    eax, eax                                                       ; +0x2a9, 0x180107709\njnz     short loc_18010771D                                            ; +0x2ab, 0x18010770b\nmovzx   eax, word ptr [rbp+57h+var_9C]                                 ; +0x2ad, 0x18010770d\nmov     word ptr [rbp+57h+var_50+8], ax                                ; +0x2b1, 0x180107711\nmovzx   eax, word ptr [rbp+57h+var_A0]                                 ; +0x2b5, 0x180107715\nmov     word ptr [rbp+57h+var_50+0Ah], ax                              ; +0x2b9, 0x180107719\nmov     rcx, [rbx+28h]                                                 ; +0x2bd, 0x18010771d\nlea     r8, [rbp+57h+var_98]                                           ; +0x2c1, 0x180107721\nxor     edx, edx                                                       ; +0x2c5, 0x180107725\nmov     dword ptr [rbp+57h+var_50+0Ch], esi                            ; +0x2c7, 0x180107727\nmov     [rbp+57h+var_98], rsi                                          ; +0x2ca, 0x18010772a\ncall    sub_1800FC4C0                                                  ; +0x2ce, 0x18010772e\ntest    eax, eax                                                       ; +0x2d3, 0x180107733\njnz     short loc_180107762                                            ; +0x2d5, 0x180107735\nmov     rcx, [rbp+57h+var_98]                                          ; +0x2d7, 0x180107737\nlea     r8, [rbp+57h+var_A0]                                           ; +0x2db, 0x18010773b\nlea     rdx, [rbp+57h+var_9C]                                          ; +0x2df, 0x18010773f\nmov     [rbp+57h+var_9C], esi                                          ; +0x2e3, 0x180107743\nmov     [rbp+57h+var_A0], esi                                          ; +0x2e6, 0x180107746\ncall    sub_1800555E0                                                  ; +0x2e9, 0x180107749\ntest    eax, eax                                                       ; +0x2ee, 0x18010774e\njnz     short loc_180107762                                            ; +0x2f0, 0x180107750\nmovzx   eax, word ptr [rbp+57h+var_9C]                                 ; +0x2f2, 0x180107752\nmov     word ptr [rbp+57h+var_50+0Ch], ax                              ; +0x2f6, 0x180107756\nmovzx   eax, word ptr [rbp+57h+var_A0]                                 ; +0x2fa, 0x18010775a\nmov     word ptr [rbp+57h+var_50+0Eh], ax                              ; +0x2fe, 0x18010775e\nmov     eax, [rdi+8]                                                   ; +0x302, 0x180107762\ncmp     eax, 1                                                         ; +0x305, 0x180107765\njl      short loc_180107771                                            ; +0x308, 0x180107768\nmov     eax, 1Ch                                                       ; +0x30a, 0x18010776a\njmp     short loc_180107789                                            ; +0x30f, 0x18010776f\nmov     rcx, [rdi]                                                     ; +0x311, 0x180107771\nlea     rdx, [rbp+57h+var_80]                                          ; +0x314, 0x180107774\ninc     eax                                                            ; +0x318, 0x180107778\nxor     r8d, r8d                                                       ; +0x31a, 0x18010777a\nmov     [rdi+8], eax                                                   ; +0x31d, 0x18010777d\nmov     rax, [rcx]                                                     ; +0x320, 0x180107780\ncall    qword ptr [rax]                                                ; +0x323, 0x180107783\ntest    eax, eax                                                       ; +0x325, 0x180107785\njnz     short $+2                                                      ; +0x327, 0x180107787\nmov     rcx, [rbp+57h+var_18]                                          ; +0x329, 0x180107789\nxor     rcx, rsp; StackCookie                                          ; +0x32d, 0x18010778d\ncall    __security_check_cookie                                        ; +0x330, 0x180107790\nmov     rbx, [rsp+0C0h+arg_10]                                         ; +0x335, 0x180107795\nadd     rsp, 0B0h                                                      ; +0x33d, 0x18010779d\npop     rdi                                                            ; +0x344, 0x1801077a4\npop     rsi                                                            ; +0x345, 0x1801077a5\npop     rbp                                                            ; +0x346, 0x1801077a6\nretn                                                                   ; +0x347, 0x1801077a7", "xrefs": ["<???> @ 0x18016ee20", "<???> @ 0x180201520"], "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"}