//
// TabbedPopupLayer::createTabButtons from 0x10063f670 to 0x10063f6e6 (118 bytes)
//
// 3 xrefs:
// > GameSettingsLayer::setupTabs @ 0x1005fe70e
// > KeybindingsLayer::setupTabs @ 0x1006e2090
// > sub_1008FDE30 @ 0x1008fdf67
//
// 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 12:34:42 +0000
//
__int64 __fastcall TabbedPopupLayer::createTabButtons(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rsi
__int64 v4; // [rsp+0h] [rbp-10h] BYREF
v4 = v1;
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v4, v2);
return sub_10063F6F0(
a1,
(float)((float)(0.5 * *(float *)(a1 + 736)) + (float)(*((float *)&v4 + 1) * 0.5)) + -20.0,
58.0,
4.0,
0.266,
24.0,
1.5);
}