{"type": "func", "start": 5370348896, "end": 5370348982, "name": "EditorSoundBrowserLayer::onConfigViewClicked", "pseudocode": "// \n// EditorSoundBrowserLayer::onConfigViewClicked from 0x140190560 to 0x1401905b6 (86 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14074c2b8\n// > <???> @ 0x1409192c8\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 11:27:42 +0000\n// \n\nvoid __fastcall EditorSoundBrowserLayer::onConfigViewClicked(__int64 a1, __int64 a2)\n{\n  int v3; // eax\n  __int64 v4; // rdx\n  __int64 v5; // rax\n\n  if ( a2 )\n  {\n    v3 = *(_DWORD *)(a1 + 24);\n    v4 = 0;\n    if ( v3 )\n    {\n      if ( v3 == 1 )\n        v4 = 2;\n    }\n    else\n    {\n      v4 = 1;\n    }\n    v5 = EditorSoundConfigInfoLayer::create(a2, v4, a1 - 1008);\n    if ( v5 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1064LL))(v5);\n  }\n}", "assembly": "; \n; EditorSoundBrowserLayer::onConfigViewClicked from 0x140190560 to 0x1401905b6 (86 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14074c2b8\n; > <???> @ 0x1409192c8\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 11:27:42 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x140190560\nmov     r9, rdx                                                        ; +0x4, 0x140190564\ntest    rdx, rdx                                                       ; +0x7, 0x140190567\njz      short loc_1401905B1                                            ; +0xa, 0x14019056a\nmov     eax, [rcx+18h]                                                 ; +0xc, 0x14019056c\nxor     edx, edx                                                       ; +0xf, 0x14019056f\ntest    eax, eax                                                       ; +0x11, 0x140190571\njnz     short loc_14019057C                                            ; +0x13, 0x140190573\nmov     edx, 1                                                         ; +0x15, 0x140190575\njmp     short loc_140190589                                            ; +0x1a, 0x14019057a\ncmp     eax, 1                                                         ; +0x1c, 0x14019057c\nmov     r8d, 2                                                         ; +0x1f, 0x14019057f\ncmovz   edx, r8d                                                       ; +0x25, 0x140190585\nlea     r8, [rcx-3F0h]                                                 ; +0x29, 0x140190589\nmov     rcx, r9                                                        ; +0x30, 0x140190590\ncall    EditorSoundConfigInfoLayer__create                             ; +0x33, 0x140190593\ntest    rax, rax                                                       ; +0x38, 0x140190598\njz      short loc_1401905B1                                            ; +0x3b, 0x14019059b\nmov     rcx, [rax]                                                     ; +0x3d, 0x14019059d\nmov     rdx, [rcx+428h]                                                ; +0x40, 0x1401905a0\nmov     rcx, rax                                                       ; +0x47, 0x1401905a7\nadd     rsp, 28h                                                       ; +0x4a, 0x1401905aa\njmp     rdx                                                            ; +0x4e, 0x1401905ae\nadd     rsp, 28h                                                       ; +0x51, 0x1401905b1\nretn                                                                   ; +0x55, 0x1401905b5", "xrefs": ["<???> @ 0x14074c2b8", "<???> @ 0x1409192c8"], "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"}