//
// SetupTouchTogglePopup::onTargetIDArrow from 0x95bf5c to 0x95bfb8 (92 bytes)
//
// 4 xrefs:
// > ??> @ 0xb9640
// > SetupTouchTogglePopup::init @ 0x95b314
// > SetupTouchTogglePopup::init @ 0x95b3c4
// > ??> @ 0x122e6c0
//
// 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 SetupTouchTogglePopup::onTargetIDArrow(SetupTouchTogglePopup *a1, cocos2d::CCObject *a2)
{
bool v3; // zf
int m_groupID; // w0
int v5; // w0
v3 = a2->getTag(a2) == 1;
m_groupID = a1->m_groupID;
if ( v3 )
v5 = m_groupID - 1;
else
v5 = m_groupID + 1;
a1->m_groupID = v5;
SetupTouchTogglePopup::updateTargetID(a1);
SetupTriggerPopup::updateEditorLabel(a1);
SetupTouchTogglePopup::updateTextInputLabel(a1);
}