// // EditorOptionsLayer::onButtonRows from 0x1002d49e8 to 0x1002d4a68 (128 bytes) // // 1 xrefs: // > EditorOptionsLayer::setupOptions @ 0x1002d47d0 // // 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) { int v3; // w9 bool v4; // cc int v5; // w8 int v6; // w9 cocos2d::CCLabelBMFont *m_buttonRowsLabel; // x19 cocos2d::CCString *v8; // x0 const char *CString; // x1 if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 ) v3 = 1; else v3 = -1; v4 = a1->m_buttonRows + v3 < 3; v5 = 2; if ( a1->m_buttonRows + v3 < 3 ) v6 = 2; else v6 = 3; a1->m_buttonRows = v6; m_buttonRowsLabel = a1->m_buttonRowsLabel; if ( !v4 ) v5 = 3; v8 = (cocos2d::CCString *)sub_100268F4C("%i", v5); CString = cocos2d::CCString::getCString(v8); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_buttonRowsLabel->setString)( m_buttonRowsLabel, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source