{"type": "func", "start": 5370373360, "end": 5370373508, "name": "EditorSoundConfigInfoLayer::onViewProfile", "pseudocode": "// \n// EditorSoundConfigInfoLayer::onViewProfile from 0x1401964f0 to 0x140196584 (148 bytes)\n// \n// 2 xrefs:\n// > EditorSoundConfigInfoLayer::init @ 0x14019277a\n// > <???> @ 0x140919508\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:45 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall EditorSoundConfigInfoLayer::onViewProfile(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v4; // rcx\n  __int64 v5; // rax\n  void *v6; // [rsp+30h] [rbp+8h]\n\n  if ( *(_QWORD *)(a1 + 1072) )\n  {\n    v4 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v6 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager(v6);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v4 = qword_14090BFD0;\n    }\n    LOBYTE(a3) = 1;\n    GameManager::setGameVariable(v4, \"0047\", a3);\n    v5 = ProfilePage::create(*(unsigned int *)(*(_QWORD *)(a1 + 1072) + 344LL), 0);\n    if ( v5 )\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1064LL))(v5);\n  }\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::onViewProfile from 0x1401964f0 to 0x140196584 (148 bytes)\n; \n; 2 xrefs:\n; > EditorSoundConfigInfoLayer::init @ 0x14019277a\n; > <???> @ 0x140919508\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:45 +0000\n; \npush    rbx                                                            ; +0x0, 0x1401964f0\nsub     rsp, 20h                                                       ; +0x2, 0x1401964f2\nmov     rbx, rcx                                                       ; +0x6, 0x1401964f6\ncmp     qword ptr [rcx+430h], 0                                        ; +0x9, 0x1401964f9\njz      short loc_14019657E                                            ; +0x11, 0x140196501\nmov     rcx, cs:qword_14090BFD0                                        ; +0x13, 0x140196503\ntest    rcx, rcx                                                       ; +0x1a, 0x14019650a\njnz     short loc_140196541                                            ; +0x1d, 0x14019650d\nmov     ecx, 6E8h; Size                                                ; +0x1f, 0x14019650f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x24, 0x140196514\nmov     [rsp+28h+arg_0], rax                                           ; +0x29, 0x140196519\nmov     rcx, rax                                                       ; +0x2e, 0x14019651e\ncall    GameManager__GameManager                                       ; +0x31, 0x140196521\nnop                                                                    ; +0x36, 0x140196526\nmov     cs:qword_14090BFD0, rax                                        ; +0x37, 0x140196527\nmov     rcx, [rax]                                                     ; +0x3e, 0x14019652e\nmov     rdx, [rcx+48h]                                                 ; +0x41, 0x140196531\nmov     rcx, rax                                                       ; +0x45, 0x140196535\ncall    rdx                                                            ; +0x48, 0x140196538\nmov     rcx, cs:qword_14090BFD0                                        ; +0x4a, 0x14019653a\nmov     r8b, 1                                                         ; +0x51, 0x140196541\nlea     rdx, a0047; \"0047\"                                             ; +0x54, 0x140196544\ncall    GameManager__setGameVariable                                   ; +0x5b, 0x14019654b\nmov     rcx, [rbx+430h]                                                ; +0x60, 0x140196550\nxor     edx, edx                                                       ; +0x67, 0x140196557\nmov     ecx, [rcx+158h]                                                ; +0x69, 0x140196559\ncall    ProfilePage__create                                            ; +0x6f, 0x14019655f\ntest    rax, rax                                                       ; +0x74, 0x140196564\njz      short loc_14019657E                                            ; +0x77, 0x140196567\nmov     rcx, [rax]                                                     ; +0x79, 0x140196569\nmov     rdx, [rcx+428h]                                                ; +0x7c, 0x14019656c\nmov     rcx, rax                                                       ; +0x83, 0x140196573\nadd     rsp, 20h                                                       ; +0x86, 0x140196576\npop     rbx                                                            ; +0x8a, 0x14019657a\njmp     rdx                                                            ; +0x8b, 0x14019657b\nadd     rsp, 20h                                                       ; +0x8e, 0x14019657e\npop     rbx                                                            ; +0x92, 0x140196582\nretn                                                                   ; +0x93, 0x140196583", "xrefs": ["EditorSoundConfigInfoLayer::init @ 0x14019277a", "<???> @ 0x140919508"], "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"}