; ; cocos2d::extension::CCControlButton::create from 0x180005990 to 0x180005a29 (153 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004b4bc ; ; 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:15:35 +0000 ; push rbx ; +0x0, 0x180005990 push rsi ; +0x2, 0x180005992 push rdi ; +0x3, 0x180005993 sub rsp, 70h ; +0x4, 0x180005994 movaps [rsp+88h+var_28], xmm6 ; +0x8, 0x180005998 mov rax, cs:__security_cookie ; +0xd, 0x18000599d xor rax, rsp ; +0x14, 0x1800059a4 mov [rsp+88h+var_38], rax ; +0x17, 0x1800059a7 movaps xmm6, xmm2 ; +0x1c, 0x1800059ac mov rdi, rdx ; +0x1f, 0x1800059af mov rsi, rcx ; +0x22, 0x1800059b2 mov [rsp+88h+var_40], rcx ; +0x25, 0x1800059b5 mov ecx, 238h; Size ; +0x2a, 0x1800059ba call sub_18001F040 ; +0x2f, 0x1800059bf mov [rsp+88h+var_68], rax ; +0x34, 0x1800059c4 mov rcx, rax; this ; +0x39, 0x1800059c9 call ??0CCControlButton@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlButton::CCControlButton(void) ; +0x3c, 0x1800059cc mov rbx, rax ; +0x41, 0x1800059d1 mov rdx, rsi ; +0x44, 0x1800059d4 lea rcx, [rsp+88h+var_60] ; +0x47, 0x1800059d7 call sub_1800039B0 ; +0x4c, 0x1800059dc mov rdx, [rbx] ; +0x51, 0x1800059e1 mov r9, [rdx+4A8h] ; +0x54, 0x1800059e4 movaps xmm3, xmm6 ; +0x5b, 0x1800059eb mov r8, rdi ; +0x5e, 0x1800059ee mov rdx, rax ; +0x61, 0x1800059f1 mov rcx, rbx ; +0x64, 0x1800059f4 call r9 ; +0x67, 0x1800059f7 mov rcx, rbx ; +0x6a, 0x1800059fa call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x6d, 0x1800059fd nop ; +0x73, 0x180005a03 mov rcx, rsi ; +0x74, 0x180005a04 call sub_180003700 ; +0x77, 0x180005a07 mov rax, rbx ; +0x7c, 0x180005a0c mov rcx, [rsp+88h+var_38] ; +0x7f, 0x180005a0f xor rcx, rsp; StackCookie ; +0x84, 0x180005a14 call __security_check_cookie ; +0x87, 0x180005a17 movaps xmm6, [rsp+88h+var_28] ; +0x8c, 0x180005a1c add rsp, 70h ; +0x91, 0x180005a21 pop rdi ; +0x95, 0x180005a25 pop rsi ; +0x96, 0x180005a26 pop rbx ; +0x97, 0x180005a27 retn ; +0x98, 0x180005a28