//
// EditorOptionsLayer::onButtonRows from 0x10029e680 to 0x10029e6ec (108 bytes)
//
// 2 xrefs:
// > EditorOptionsLayer::setupOptions @ 0x10029e47b
// > EditorOptionsLayer::setupOptions @ 0x10029e551
//
// 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 __fastcall EditorOptionsLayer::onButtonRows(EditorOptionsLayer *a1, cocos2d::CCObject *a2)
{
char v2; // al
cocos2d::CCLabelBMFont *m_buttonRowsLabel; // rbx
cocos2d::CCString *v4; // rax
const char *CString; // rax
char v6; // [rsp-8h] [rbp-10h]
v6 = v2;
a1->m_buttonRows = (a1->m_buttonRows
+ 2 * (((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1)
- 1 < 3)
^ 3;
m_buttonRowsLabel = a1->m_buttonRowsLabel;
v4 = (cocos2d::CCString *)sub_1007AB580("%i", v6);
CString = cocos2d::CCString::getCString(v4);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_buttonRowsLabel->setString)(
m_buttonRowsLabel,
CString);
}