//
// TabbedPopupLayer::pageForButtonCount from 0x72dad0 to 0x72dae8 (24 bytes)
//
// 1 xrefs:
// > GameSettingsLayer::addToggle @ 0x710c96
//
// 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::pageForButtonCount(TabbedPopupLayer *this, int a2, int a3)
{
if ( a3 <= 0 )
return 0;
else
return (a2 / a3) & ~((a2 / a3) >> 31);
}