// // EditorOptionsLayer::onButtonsPerRow from 0x100288de0 to 0x100288e56 (118 bytes) // // 2 xrefs: // > EditorOptionsLayer::setupOptions @ 0x100288998 // > EditorOptionsLayer::setupOptions @ 0x100288a6e // // 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::onButtonsPerRow(__int64 a1, __int64 a2) { char v2; // al int v3; // eax int v4; // ecx int v5; // esi __int64 v6; // rbx __int64 v7; // rax __int64 CString; // rax char v10; // [rsp-8h] [rbp-10h] v10 = v2; v3 = *(_DWORD *)(a1 + 1120) + 2 * ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1) - 1; v4 = 6; if ( v3 >= 7 ) v4 = v3; v5 = 12; if ( v4 < 12 ) v5 = v4; *(_DWORD *)(a1 + 1120) = v5; v6 = *(_QWORD *)(a1 + 1128); v7 = sub_10088E820("%i", v10); CString = cocos2d::CCString::getCString(v7); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL))(v6, CString); }