// // EditorSoundConfigUploadPopup::updateVisibilityState from 0x14019b8a0 to 0x14019ba66 (454 bytes) // // 5 xrefs: // > EditorSoundConfigUploadPopup::init @ 0x14019b169 // > EditorSoundConfigUploadPopup::onToggleUnlisted @ 0x14019bc72 // > @ 0x1408a02e8 // > @ 0x1408a02f8 // > @ 0x1409196c4 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:27:47 +0000 // __int64 __fastcall EditorSoundConfigUploadPopup::updateVisibilityState(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v4; // rcx char v5; // di int v6; // esi __int64 v7; // r14 __int64 v8; // rbp __int64 v9; // rax __int64 v10; // rax __int64 v11; // rcx unsigned __int8 v12; // si __int64 v13; // rcx __int64 v14; // rbp __int64 v15; // rbx __int64 v16; // rax __int64 v17; // rax char v18; // [rsp+40h] [rbp+8h] BYREF char v19; // [rsp+41h] [rbp+9h] char v20; // [rsp+42h] [rbp+Ah] result = *(_QWORD *)(a1 + 1048); v4 = *(_QWORD *)(a1 + 1056); v5 = -1; v6 = *(_DWORD *)(result + 320); if ( v4 ) { LOBYTE(a2) = v6 <= 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 936LL))(v4, a2); v7 = *(_QWORD *)(a1 + 1056); v8 = *(_QWORD *)(a1 + 1072); result = 255; if ( v6 > 0 ) result = 125; v18 = result; v19 = result; v20 = result; if ( v7 ) { v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v7 + 376) + 952LL))(*(_QWORD *)(v7 + 376)); (**(void (__fastcall ***)(__int64, char *))(v9 + 320))(v9 + 320, &v18); v10 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v7 + 384) + 952LL))(*(_QWORD *)(v7 + 384)); result = (**(__int64 (__fastcall ***)(__int64, char *))(v10 + 320))(v10 + 320, &v18); } if ( v8 ) result = (**(__int64 (__fastcall ***)(__int64, char *))(v8 + 368))(v8 + 368, &v18); } if ( !*(_BYTE *)(a1 + 1088) ) { if ( *(_BYTE *)(a1 + 1089) ) { v11 = *(_QWORD *)(a1 + 1064); *(_BYTE *)(a1 + 1089) = 0; if ( v11 ) result = CCMenuItemToggler::toggle(v11, 0); } if ( !*(_BYTE *)(a1 + 1088) ) goto LABEL_15; } if ( v6 <= 0 ) v12 = 1; else LABEL_15: v12 = 0; v13 = *(_QWORD *)(a1 + 1064); if ( v13 ) { result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v13 + 936LL))(v13, v12); v14 = *(_QWORD *)(a1 + 1080); v15 = *(_QWORD *)(a1 + 1064); if ( !v12 ) v5 = 125; v18 = v5; v19 = v5; v20 = v5; if ( v15 ) { v16 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v15 + 376) + 952LL))(*(_QWORD *)(v15 + 376)); (**(void (__fastcall ***)(__int64, char *))(v16 + 320))(v16 + 320, &v18); v17 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v15 + 384) + 952LL))(*(_QWORD *)(v15 + 384)); result = (**(__int64 (__fastcall ***)(__int64, char *))(v17 + 320))(v17 + 320, &v18); } if ( v14 ) return (**(__int64 (__fastcall ***)(__int64, char *))(v14 + 368))(v14 + 368, &v18); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source