; ; cocos2d::extension::CCControlButton::create from 0x180007220 to 0x18000727a (90 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004b6b4 ; ; 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:36 +0000 ; push rbx ; +0x0, 0x180007220 sub rsp, 20h ; +0x2, 0x180007222 mov ecx, 238h; Size ; +0x6, 0x180007226 call sub_18001F040 ; +0xb, 0x18000722b mov [rsp+28h+arg_0], rax ; +0x10, 0x180007230 mov rcx, rax; this ; +0x15, 0x180007235 call ??0CCControlButton@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlButton::CCControlButton(void) ; +0x18, 0x180007238 mov rbx, rax ; +0x1d, 0x18000723d test rax, rax ; +0x20, 0x180007240 jz short loc_180007272 ; +0x23, 0x180007243 mov rcx, [rax] ; +0x25, 0x180007245 mov rdx, [rcx+48h] ; +0x28, 0x180007248 mov rcx, rax ; +0x2c, 0x18000724c call rdx ; +0x2f, 0x18000724f mov rcx, rbx ; +0x31, 0x180007251 test al, al ; +0x34, 0x180007254 jz short loc_180007267 ; +0x36, 0x180007256 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x38, 0x180007258 mov rax, rbx ; +0x3e, 0x18000725e add rsp, 20h ; +0x41, 0x180007261 pop rbx ; +0x45, 0x180007265 retn ; +0x46, 0x180007266 mov rax, [rbx] ; +0x47, 0x180007267 mov edx, 1 ; +0x4a, 0x18000726a call qword ptr [rax+8] ; +0x4f, 0x18000726f xor eax, eax ; +0x52, 0x180007272 add rsp, 20h ; +0x54, 0x180007274 pop rbx ; +0x58, 0x180007278 retn ; +0x59, 0x180007279