//
// TabbedPopupLayer::beginTab from 0x72da28 to 0x72da46 (30 bytes)
//
// 6 xrefs:
// > GameSettingsLayer::buildTabContent @ 0x712092
// > GameSettingsLayer::buildTabContent @ 0x712186
// > GameSettingsLayer::buildTabContent @ 0x71236a
// > GameSettingsLayer::buildTabContent @ 0x712478
// > GameSettingsLayer::buildTabContent @ 0x712758
// > GameSettingsLayer::buildTabContent @ 0x7127fe
//
// 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
//
_DWORD *__fastcall TabbedPopupLayer::beginTab(_DWORD *this, int a2)
{
if ( a2 >= 0 && a2 < -1171354717 * ((*(this + 179) - *(this + 178)) >> 2) )
*(this + 185) = a2;
return this;
}