// // TabbedPopupLayer::refreshPageButtons from 0x14066ced0 to 0x14066cf91 (193 bytes) // // 5 xrefs: // > EditorSoundsLayer::showTab @ 0x14019e59f // > KeybindingsLayer::showTab @ 0x1403d7c6b // > TabbedPopupLayer::showTab @ 0x14066cdc1 // > TabbedPopupLayer::pageChanged @ 0x14066d099 // > @ 0x1409320e4 // // 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:35:52 +0000 // unsigned __int64 __fastcall TabbedPopupLayer::refreshPageButtons(__int64 a1) { __int64 v2; // rcx __int64 v3; // r8 unsigned __int64 result; // rax bool v5; // di __int64 v6; // rcx __int64 v7; // rcx v2 = *(int *)(a1 + 1048); v5 = false; if ( (int)v2 >= 0 ) { v3 = *(_QWORD *)(a1 + 1000); result = (unsigned __int64)((unsigned __int128)((*(_QWORD *)(a1 + 1008) - v3) * (__int128)0x2E8BA2E8BA2E8BA3LL) >> 64) >> 63; if ( (int)v2 < (int)((*(_QWORD *)(a1 + 1008) - v3) / 88) && *(int *)(88 * v2 + v3 + 72) > 1 ) v5 = true; } v6 = *(_QWORD *)(a1 + 1056); if ( v6 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 336LL))(v6, v5); result = (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1056) + 936LL))(*(_QWORD *)(a1 + 1056), v5); } v7 = *(_QWORD *)(a1 + 1064); if ( v7 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v7 + 336LL))(v7, v5); return (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 1064) + 936LL))(*(_QWORD *)(a1 + 1064), v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source