//
// TabbedPopupLayer::createTabButtons from 0x72ddfc to 0x72de62 (102 bytes)
//
// 3 xrefs:
// > KeybindingsLayer::setupTabs @ 0x58990c
// > GameSettingsLayer::setupTabs @ 0x710a9c
// > EditorSoundsLayer::setupTabs @ 0x78a2d4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:58:17 +0000
//
int __fastcall TabbedPopupLayer::createTabButtons(TabbedPopupLayer *this)
{
_BYTE v3[4]; // [sp+14h] [bp-10h] BYREF
float v4; // [sp+18h] [bp-Ch]
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v3);
return TabbedPopupLayer::createTabButtons(
this,
(float)((float)(*((float *)this + 140) * 0.5) + (float)(v4 * 0.5)) - 20.0,
58.0,
4.0,
0.266,
24.0,
1.5);
}