// // TabbedPopupLayer::onTabPage from 0x14066cfe0 to 0x14066d082 (162 bytes) // // 4 xrefs: // > TabbedPopupLayer::createTabButtons @ 0x14066c9f9 // > @ 0x1408ea82c // > @ 0x1408ea83c // > @ 0x1409320fc // // 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 // void __fastcall TabbedPopupLayer::onTabPage(__int64 a1, __int64 a2) { __int64 v3; // rcx __int64 v4; // r9 __int64 v5; // rdi int v6; // eax int v7; // edx bool v8; // sf int v9; // edx int v10; // eax v3 = *(int *)(a1 + 1048); if ( (int)v3 >= 0 ) { v4 = *(_QWORD *)(a1 + 1000); if ( (int)v3 < (int)((*(_QWORD *)(a1 + 1008) - v4) / 88) ) { v5 = v4 + 88 * v3; if ( *(int *)(v5 + 72) > 1 ) { v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v7 = *(_DWORD *)(v5 + 68); v8 = v6 + v7 < 0; v9 = v6 + v7; v10 = *(_DWORD *)(v5 + 72); *(_DWORD *)(v5 + 68) = v9; if ( v8 ) { *(_DWORD *)(v5 + 68) = v10 - 1; } else if ( v9 >= v10 ) { *(_DWORD *)(v5 + 68) = 0; } (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1200LL))(a1, *(unsigned int *)(a1 + 1048)); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source