; ; 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 ; push rbp ; +0x0, 0x100288de0 mov rbp, rsp ; +0x1, 0x100288de1 push rbx ; +0x4, 0x100288de4 push rax; char ; +0x5, 0x100288de5 mov rbx, rdi ; +0x6, 0x100288de6 mov rax, [rsi] ; +0x9, 0x100288de9 mov rdi, rsi ; +0xc, 0x100288dec call qword ptr [rax+40h] ; +0xf, 0x100288def xor ecx, ecx ; +0x12, 0x100288df2 cmp eax, 1 ; +0x14, 0x100288df4 setz cl ; +0x17, 0x100288df7 mov eax, [rbx+460h] ; +0x1a, 0x100288dfa lea eax, [rax+rcx*2] ; +0x20, 0x100288e00 dec eax ; +0x23, 0x100288e03 cmp eax, 7 ; +0x25, 0x100288e05 mov ecx, 6 ; +0x28, 0x100288e08 cmovge ecx, eax ; +0x2d, 0x100288e0d cmp ecx, 0Ch ; +0x30, 0x100288e10 mov esi, 0Ch ; +0x33, 0x100288e13 cmovl esi, ecx ; +0x38, 0x100288e18 mov [rbx+460h], esi ; +0x3b, 0x100288e1b mov rbx, [rbx+468h] ; +0x41, 0x100288e21 lea rdi, aI_14; "%i" ; +0x48, 0x100288e28 xor eax, eax ; +0x4f, 0x100288e2f call sub_10088E820 ; +0x51, 0x100288e31 mov rdi, rax ; +0x56, 0x100288e36 call cocos2d__CCString__getCString ; +0x59, 0x100288e39 mov rcx, [rbx] ; +0x5e, 0x100288e3e mov rcx, [rcx+3A0h] ; +0x61, 0x100288e41 mov rdi, rbx ; +0x68, 0x100288e48 mov rsi, rax ; +0x6b, 0x100288e4b add rsp, 8 ; +0x6e, 0x100288e4e pop rbx ; +0x72, 0x100288e52 pop rbp ; +0x73, 0x100288e53 jmp rcx ; +0x74, 0x100288e54