//
// TabbedPopupLayer::onTab from 0xc37c48 to 0xc37c88 (64 bytes)
//
// 3 xrefs:
// > ??> @ 0x56f68
// > TabbedPopupLayer::createTabButtons @ 0xc38394
// > ??> @ 0x1541f70
//
// This function is hookable on this platform (idp: arm, 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 13:04:52 +0000
//
__int64 __fastcall TabbedPopupLayer::onTab(TabbedPopupLayer *this, cocos2d::CCObject *a2)
{
__int64 (__fastcall *v3)(TabbedPopupLayer *, _QWORD); // x20
unsigned int v4; // w0
v3 = *(__int64 (__fastcall **)(TabbedPopupLayer *, _QWORD))(*(_QWORD *)this + 1504LL);
v4 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
return v3(this, v4);
}