//
// SetLevelOrderPopup::onOrderButton from 0xba8cbc to 0xba8d14 (88 bytes)
//
// 4 xrefs:
// > ??> @ 0xf1f90
// > SetLevelOrderPopup::init @ 0xbaa62c
// > SetLevelOrderPopup::init @ 0xbaa700
// > ??> @ 0x1547540
//
// 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:02:51 +0000
//
__int64 __fastcall SetLevelOrderPopup::onOrderButton(SetLevelOrderPopup *this, cocos2d::CCObject *a2)
{
if ( (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) == 1 )
*((_DWORD *)this + 168) = *((_DWORD *)this + 171);
else
*((_DWORD *)this + 168) = 1;
return SetIDPopup::updateTextInputLabel(this);
}