//
// SetLevelOrderPopup::onOrderButton from 0xa722a0 to 0xa722f8 (88 bytes)
//
// 4 xrefs:
// > ??> @ 0xb9748
// > SetLevelOrderPopup::init @ 0xa78618
// > SetLevelOrderPopup::init @ 0xa786ec
// > ??> @ 0x122e6d8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetLevelOrderPopup::onOrderButton(SetLevelOrderPopup *a1, cocos2d::CCObject *a2)
{
if ( a2->getTag(a2) == 1 )
a1->m_value = a1->m_maximum;
else
a1->m_value = 1;
SetIDPopup::updateTextInputLabel(a1);
}