//
// EditorOptionsLayer::onButtonRows from 0x100288e60 to 0x100288ecc (108 bytes)
//
// 2 xrefs:
// > EditorOptionsLayer::setupOptions @ 0x100288c58
// > EditorOptionsLayer::setupOptions @ 0x100288d2e
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:27:46 +0000
//
__int64 __fastcall EditorOptionsLayer::onButtonRows(__int64 a1, __int64 a2)
{
char v2; // al
__int64 v3; // rbx
__int64 v4; // rax
__int64 CString; // rax
char v7; // [rsp-8h] [rbp-10h]
v7 = v2;
*(_DWORD *)(a1 + 1124) = (*(_DWORD *)(a1 + 1124)
+ 2 * ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1)
- 1 < 3)
^ 3;
v3 = *(_QWORD *)(a1 + 1136);
v4 = sub_10088E820("%i", v7);
CString = cocos2d::CCString::getCString(v4);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 928LL))(v3, CString);
}