; ; EditorOptionsLayer::onButtonsPerRow from 0x140291970 to 0x1402919fa (138 bytes) ; ; 3 xrefs: ; > EditorOptionsLayer::setupOptions @ 0x140291570 ; > EditorOptionsLayer::setupOptions @ 0x140291629 ; > @ 0x1406d19b8 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x140291970 push rdi ; +0x5, 0x140291975 sub rsp, 20h ; +0x6, 0x140291976 mov rax, [rdx] ; +0xa, 0x14029197a mov rdi, rcx ; +0xd, 0x14029197d mov rcx, rdx ; +0x10, 0x140291980 call qword ptr [rax+38h] ; +0x13, 0x140291983 mov edx, [rdi+3F0h] ; +0x16, 0x140291986 lea r8d, [rdx-1] ; +0x1c, 0x14029198c inc edx ; +0x20, 0x140291990 cmp eax, 1 ; +0x22, 0x140291992 cmovnz edx, r8d ; +0x25, 0x140291995 cmp edx, 6 ; +0x29, 0x140291999 jl short loc_1402919AA ; +0x2c, 0x14029199c cmp edx, 0Ch ; +0x2e, 0x14029199e jl short loc_1402919AF ; +0x31, 0x1402919a1 mov edx, 0Ch ; +0x33, 0x1402919a3 jmp short loc_1402919AF ; +0x38, 0x1402919a8 mov edx, 6 ; +0x3a, 0x1402919aa mov rax, [rdi+3F8h] ; +0x3f, 0x1402919af lea rcx, aI_11; "%i" ; +0x46, 0x1402919b6 mov [rdi+3F0h], edx ; +0x4d, 0x1402919bd mov rbx, [rax+168h] ; +0x53, 0x1402919c3 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x5a, 0x1402919ca mov rcx, rax ; +0x60, 0x1402919d0 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x63, 0x1402919d3 mov rcx, [rdi+3F8h] ; +0x69, 0x1402919d9 mov rdx, rax ; +0x70, 0x1402919e0 add rcx, 168h ; +0x73, 0x1402919e3 mov rax, [rbx] ; +0x7a, 0x1402919ea mov rbx, [rsp+28h+arg_0] ; +0x7d, 0x1402919ed add rsp, 20h ; +0x82, 0x1402919f2 pop rdi ; +0x86, 0x1402919f6 jmp rax ; +0x87, 0x1402919f7