//
// TabbedPopupLayer::createTabButtons_1 from 0x1001aa02c to 0x1001aa0a0 (116 bytes)
//
// 3 xrefs:
// > KeybindingsLayer::setupTabs @ 0x100023f14
// > GameSettingsLayer::setupTabs @ 0x1001645f8
// > sub_1004D77EC @ 0x1004d792c
//
// 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 11:00:05 +0000
//
__int64 __fastcall TabbedPopupLayer::createTabButtons_1(__int64 a1)
{
__int64 v2; // x0
__int64 v4; // [xsp+8h] [xbp-18h] BYREF
v2 = cocos2d::CCDirector::sharedDirector(a1);
cocos2d::CCDirector::getWinSize(&v4, v2);
return TabbedPopupLayer::createTabButtons(
a1,
(float)((float)(*((float *)&v4 + 1) * 0.5) + (float)(*(float *)(a1 + 736) * 0.5)) + -20.0,
58.0,
4.0,
0.266,
24.0,
1.5);
}