//
// TabbedPopupLayer::onTab from 0x14066cfa0 to 0x14066cfd2 (50 bytes)
//
// 3 xrefs:
// > TabbedPopupLayer::createTabButtons @ 0x14066c713
// > TabbedPopupLayer::createTabButtons @ 0x14066c89e
// > ??> @ 0x1409320f0
//
// 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
//
__int64 __fastcall TabbedPopupLayer::onTab(__int64 *a1, __int64 a2)
{
__int64 v2; // rbx
unsigned int v4; // eax
v2 = *a1;
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
return (*(__int64 (__fastcall **)(__int64 *, _QWORD))(v2 + 1200))(a1, v4);
}