; ; 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 ; push rbp ; +0x0, 0x10029e600 mov rbp, rsp ; +0x1, 0x10029e601 push rbx ; +0x4, 0x10029e604 push rax; char ; +0x5, 0x10029e605 mov rbx, rdi ; +0x6, 0x10029e606 mov rax, [rsi] ; +0x9, 0x10029e609 mov rdi, rsi ; +0xc, 0x10029e60c call qword ptr [rax+40h] ; +0xf, 0x10029e60f xor ecx, ecx ; +0x12, 0x10029e612 cmp eax, 1 ; +0x14, 0x10029e614 setz cl ; +0x17, 0x10029e617 mov eax, [rbx+3ECh] ; +0x1a, 0x10029e61a lea eax, [rax+rcx*2] ; +0x20, 0x10029e620 dec eax ; +0x23, 0x10029e623 cmp eax, 7 ; +0x25, 0x10029e625 mov ecx, 6 ; +0x28, 0x10029e628 cmovge ecx, eax ; +0x2d, 0x10029e62d cmp ecx, 0Ch ; +0x30, 0x10029e630 mov esi, 0Ch ; +0x33, 0x10029e633 cmovl esi, ecx ; +0x38, 0x10029e638 mov [rbx+3ECh], esi ; +0x3b, 0x10029e63b mov rbx, [rbx+3F8h] ; +0x41, 0x10029e641 lea rdi, aI; "%i" ; +0x48, 0x10029e648 xor eax, eax ; +0x4f, 0x10029e64f call sub_1007AB580 ; +0x51, 0x10029e651 mov rdi, rax ; +0x56, 0x10029e656 call cocos2d__CCString__getCString ; +0x59, 0x10029e659 mov rcx, [rbx] ; +0x5e, 0x10029e65e mov rcx, [rcx+390h] ; +0x61, 0x10029e661 mov rdi, rbx ; +0x68, 0x10029e668 mov rsi, rax ; +0x6b, 0x10029e66b add rsp, 8 ; +0x6e, 0x10029e66e pop rbx ; +0x72, 0x10029e672 pop rbp ; +0x73, 0x10029e673 jmp rcx ; +0x74, 0x10029e674