// // EditorOptionsLayer::onButtonRows from 0x4a7660 to 0x4a76ac (76 bytes) // // 0 xrefs: // // 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 EditorOptionsLayer::onButtonRows(EditorOptionsLayer *a1, cocos2d::CCObject *a2) { int v3; // r0 int m_buttonRows; // r1 const char *v5; // r1 cocos2d::CCLabelBMFont *m_buttonRowsLabel; // r4 void (__fastcall *setString)(cocos2d::CCLabelBMFont *__hidden, const unsigned __int8 *); // r5 cocos2d::CCString *v8; // r0 const char *CString; // r0 v3 = a2->getTag(a2); m_buttonRows = a1->m_buttonRows; if ( v3 == 1 ) v5 = (const char *)(m_buttonRows + 1); else v5 = (const char *)(m_buttonRows - 1); if ( (int)v5 < 2 ) v5 = (_BYTE *)(&dword_0 + 2); if ( (int)v5 >= 3 ) v5 = (char *)&dword_0 + 3; a1->m_buttonRows = (int)v5; m_buttonRowsLabel = a1->m_buttonRowsLabel; setString = m_buttonRowsLabel->setString; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v5); CString = cocos2d::CCString::getCString(v8); setString(m_buttonRowsLabel, (const unsigned __int8 *)CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source