{"type": "func", "start": 6443557968, "end": 6443558149, "name": "sub_18010E450", "pseudocode": "// \n// sub_18010E450 from 0x18010e450 to 0x18010e505 (181 bytes)\n// \n// 2 xrefs:\n// > sub_180110290 @ 0x180110770\n// > <???> @ 0x180201a60\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_18010E450(__int64 a1)\n{\n  void *v2; // rax\n  __int64 result; // rax\n  unsigned int v4; // ebx\n  __int64 v5; // rdi\n  __int64 i; // rsi\n  _DWORD *v7; // rdx\n\n  v2 = (void *)(**(__int64 (__fastcall ***)(__int64, _QWORD, const char *))(a1 + 40))(\n                 584,\n                 0,\n                 \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\\\\core_api\\\\src\\\\fmod_dsp_multiband_eq.cpp\");\n  *(_QWORD *)(a1 + 8) = v2;\n  if ( !v2 )\n    return 38;\n  memset(v2, 0, 0x248u);\n  v4 = 0;\n  v5 = sub_180110290();\n  if ( *(int *)(v5 + 96) > 0 )\n  {\n    for ( i = 0; ; i += 8 )\n    {\n      v7 = *(_DWORD **)(i + *(_QWORD *)(v5 + 104));\n      if ( !*v7 )\n        break;\n      if ( *v7 == 1 )\n      {\n        result = (*(__int64 (__fastcall **)(__int64, _QWORD, _QWORD))(v5 + 120))(a1, v4, (unsigned int)v7[14]);\nLABEL_9:\n        if ( (_DWORD)result )\n          return result;\n      }\n      if ( (signed int)++v4 >= *(_DWORD *)(v5 + 96) )\n        return 0;\n    }\n    result = (*(__int64 (__fastcall **)(__int64, _QWORD))(v5 + 112))(a1, v4);\n    goto LABEL_9;\n  }\n  return 0;\n}", "assembly": "; \n; sub_18010E450 from 0x18010e450 to 0x18010e505 (181 bytes)\n; \n; 2 xrefs:\n; > sub_180110290 @ 0x180110770\n; > <???> @ 0x180201a60\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\npush    rbp                                                            ; +0x0, 0x18010e450\nsub     rsp, 20h                                                       ; +0x2, 0x18010e452\nmov     rax, [rcx+28h]                                                 ; +0x6, 0x18010e456\nlea     r8, aCBuildagent1Wo_80; \"C:\\\\buildagent1\\\\work\\\\570ad728b1678096\"... ; +0xa, 0x18010e45a\nmov     rbp, rcx                                                       ; +0x11, 0x18010e461\nxor     edx, edx                                                       ; +0x14, 0x18010e464\nmov     ecx, 248h                                                      ; +0x16, 0x18010e466\ncall    qword ptr [rax]                                                ; +0x1b, 0x18010e46b\nmov     [rbp+8], rax                                                   ; +0x1d, 0x18010e46d\ntest    rax, rax                                                       ; +0x21, 0x18010e471\njnz     short loc_18010E481                                            ; +0x24, 0x18010e474\nmov     eax, 26h ; '&'                                                 ; +0x26, 0x18010e476\nadd     rsp, 20h                                                       ; +0x2b, 0x18010e47b\npop     rbp                                                            ; +0x2f, 0x18010e47f\nretn                                                                   ; +0x30, 0x18010e480\nmov     [rsp+28h+arg_0], rbx                                           ; +0x31, 0x18010e481\nxor     edx, edx; Val                                                  ; +0x36, 0x18010e486\nmov     [rsp+28h+arg_8], rsi                                           ; +0x38, 0x18010e488\nmov     r8d, 248h; Size                                                ; +0x3d, 0x18010e48d\nmov     rcx, rax; void *                                               ; +0x43, 0x18010e493\nmov     [rsp+28h+arg_10], rdi                                          ; +0x46, 0x18010e496\ncall    memset                                                         ; +0x4b, 0x18010e49b\ncall    sub_180110290                                                  ; +0x50, 0x18010e4a0\nxor     ebx, ebx                                                       ; +0x55, 0x18010e4a5\nmov     rdi, rax                                                       ; +0x57, 0x18010e4a7\ncmp     [rax+60h], ebx                                                 ; +0x5a, 0x18010e4aa\njle     short loc_18010E4EE                                            ; +0x5d, 0x18010e4ad\nmov     esi, ebx                                                       ; +0x5f, 0x18010e4af\nmov     rcx, [rdi+68h]                                                 ; +0x61, 0x18010e4b1\nmov     rdx, [rsi+rcx]                                                 ; +0x65, 0x18010e4b5\nmov     eax, [rdx]                                                     ; +0x69, 0x18010e4b9\ntest    eax, eax                                                       ; +0x6b, 0x18010e4bb\njnz     short loc_18010E4CE                                            ; +0x6d, 0x18010e4bd\nmovss   xmm2, dword ptr [rdx+38h]                                      ; +0x6f, 0x18010e4bf\nmov     rcx, rbp                                                       ; +0x74, 0x18010e4c4\nmov     edx, ebx                                                       ; +0x77, 0x18010e4c7\ncall    qword ptr [rdi+70h]                                            ; +0x79, 0x18010e4c9\njmp     short loc_18010E4DF                                            ; +0x7c, 0x18010e4cc\ncmp     eax, 1                                                         ; +0x7e, 0x18010e4ce\njnz     short loc_18010E4E3                                            ; +0x81, 0x18010e4d1\nmov     r8d, [rdx+38h]                                                 ; +0x83, 0x18010e4d3\nmov     rcx, rbp                                                       ; +0x87, 0x18010e4d7\nmov     edx, ebx                                                       ; +0x8a, 0x18010e4da\ncall    qword ptr [rdi+78h]                                            ; +0x8c, 0x18010e4dc\ntest    eax, eax                                                       ; +0x8f, 0x18010e4df\njnz     short loc_18010E4F0                                            ; +0x91, 0x18010e4e1\ninc     ebx                                                            ; +0x93, 0x18010e4e3\nadd     rsi, 8                                                         ; +0x95, 0x18010e4e5\ncmp     ebx, [rdi+60h]                                                 ; +0x99, 0x18010e4e9\njl      short loc_18010E4B1                                            ; +0x9c, 0x18010e4ec\nxor     eax, eax                                                       ; +0x9e, 0x18010e4ee\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xa0, 0x18010e4f0\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa5, 0x18010e4f5\nmov     rdi, [rsp+28h+arg_10]                                          ; +0xaa, 0x18010e4fa\nadd     rsp, 20h                                                       ; +0xaf, 0x18010e4ff\npop     rbp                                                            ; +0xb3, 0x18010e503\nretn                                                                   ; +0xb4, 0x18010e504", "xrefs": ["sub_180110290 @ 0x180110770", "<???> @ 0x180201a60"], "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"}