//
// TabbedPopupLayer::createTabButtons from 0xc386d0 to 0xc38754 (132 bytes)
//
// 4 xrefs:
// > KeybindingsLayer::setupTabs @ 0x995b84
// > GameSettingsLayer::setupTabs @ 0xc0528c
// > EditorSoundsLayer::setupTabs @ 0xcd5fcc
// > ??> @ 0x64198
//
// 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::createTabButtons(TabbedPopupLayer *this)
{
cocos2d::CCDirector *v2; // x0
__int64 v4; // [xsp+20h] [xbp+20h] BYREF
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v4, v2);
TabbedPopupLayer::createTabButtons(
this,
(float)((float)(*((float *)this + 184) * 0.5) + (float)(*((float *)&v4 + 1) * 0.5)) - 20.0,
58.0,
4.0,
0.266,
24.0,
1.5);
return _stack_chk_guard;
}