; ; EditorOptionsLayer::onButtonRows from 0x140291a00 to 0x140291a8a (138 bytes) ; ; 3 xrefs: ; > EditorOptionsLayer::setupOptions @ 0x1402917ff ; > EditorOptionsLayer::setupOptions @ 0x1402918b8 ; > @ 0x1406d19c4 ; ; 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, 0x140291a00 push rdi ; +0x5, 0x140291a05 sub rsp, 20h ; +0x6, 0x140291a06 mov rax, [rdx] ; +0xa, 0x140291a0a mov rdi, rcx ; +0xd, 0x140291a0d mov rcx, rdx ; +0x10, 0x140291a10 call qword ptr [rax+38h] ; +0x13, 0x140291a13 mov edx, [rdi+3F4h] ; +0x16, 0x140291a16 lea r8d, [rdx-1] ; +0x1c, 0x140291a1c inc edx ; +0x20, 0x140291a20 cmp eax, 1 ; +0x22, 0x140291a22 cmovnz edx, r8d ; +0x25, 0x140291a25 cmp edx, 2 ; +0x29, 0x140291a29 jl short loc_140291A3A ; +0x2c, 0x140291a2c cmp edx, 3 ; +0x2e, 0x140291a2e jl short loc_140291A3F ; +0x31, 0x140291a31 mov edx, 3 ; +0x33, 0x140291a33 jmp short loc_140291A3F ; +0x38, 0x140291a38 mov edx, 2 ; +0x3a, 0x140291a3a mov rax, [rdi+400h] ; +0x3f, 0x140291a3f lea rcx, aI_11; "%i" ; +0x46, 0x140291a46 mov [rdi+3F4h], edx ; +0x4d, 0x140291a4d mov rbx, [rax+168h] ; +0x53, 0x140291a53 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x5a, 0x140291a5a mov rcx, rax ; +0x60, 0x140291a60 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x63, 0x140291a63 mov rcx, [rdi+400h] ; +0x69, 0x140291a69 mov rdx, rax ; +0x70, 0x140291a70 add rcx, 168h ; +0x73, 0x140291a73 mov rax, [rbx] ; +0x7a, 0x140291a7a mov rbx, [rsp+28h+arg_0] ; +0x7d, 0x140291a7d add rsp, 20h ; +0x82, 0x140291a82 pop rdi ; +0x86, 0x140291a86 jmp rax ; +0x87, 0x140291a87