// // EditorOptionsLayer::onButtonsPerRow from 0x10029e600 to 0x10029e676 (118 bytes) // // 2 xrefs: // > EditorOptionsLayer::setupOptions @ 0x10029e1bb // > EditorOptionsLayer::setupOptions @ 0x10029e291 // // 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::onButtonsPerRow(EditorOptionsLayer *a1, cocos2d::CCObject *a2) { char v2; // al int v3; // eax int v4; // ecx int v5; // esi cocos2d::CCLabelBMFont *m_buttonsPerRowLabel; // rbx cocos2d::CCString *v7; // rax const char *CString; // rax char v9; // [rsp-8h] [rbp-10h] v9 = v2; v3 = a1->m_buttonsPerRow + 2 * (((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1) - 1; v4 = 6; if ( v3 >= 7 ) v4 = v3; v5 = 12; if ( v4 < 12 ) v5 = v4; a1->m_buttonsPerRow = v5; m_buttonsPerRowLabel = a1->m_buttonsPerRowLabel; v7 = (cocos2d::CCString *)sub_1007AB580("%i", v9); CString = cocos2d::CCString::getCString(v7); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_buttonsPerRowLabel->setString)( m_buttonsPerRowLabel, CString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source