//
// CollisionBlockPopup::onItemIDArrow from 0x90a54c to 0x90a5a8 (92 bytes)
//
// 4 xrefs:
// > ??> @ 0xaabc8
// > CollisionBlockPopup::init @ 0x909e2c
// > CollisionBlockPopup::init @ 0x909ee4
// > ??> @ 0x122de98
//
// 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 CollisionBlockPopup::onItemIDArrow(CollisionBlockPopup *a1, cocos2d::CCObject *a2)
{
bool v3; // zf
int m_blockID; // w0
int v5; // w0
v3 = a2->getTag(a2) == 1;
m_blockID = a1->m_blockID;
if ( v3 )
v5 = m_blockID - 1;
else
v5 = m_blockID + 1;
a1->m_blockID = v5;
CollisionBlockPopup::updateItemID(a1);
CollisionBlockPopup::updateEditorLabel(a1);
CollisionBlockPopup::updateTextInputLabel(a1);
}