; ; cocos2d::extension::CCControlButton::create from 0x180005860 to 0x1800058c1 (97 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004b4a4 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180005860 mov [rsp+arg_8], rsi ; +0x5, 0x180005865 push rdi ; +0xa, 0x18000586a sub rsp, 20h ; +0xb, 0x18000586b mov rdi, rdx ; +0xf, 0x18000586f mov rsi, rcx ; +0x12, 0x180005872 mov ecx, 238h; Size ; +0x15, 0x180005875 call sub_18001F040 ; +0x1a, 0x18000587a mov [rsp+28h+arg_10], rax ; +0x1f, 0x18000587f mov rcx, rax; this ; +0x24, 0x180005884 call ??0CCControlButton@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlButton::CCControlButton(void) ; +0x27, 0x180005887 mov rbx, rax ; +0x2c, 0x18000588c mov r8, [rax] ; +0x2f, 0x18000588f mov r9, [r8+4A0h] ; +0x32, 0x180005892 mov r8, rdi ; +0x39, 0x180005899 mov rdx, rsi ; +0x3c, 0x18000589c mov rcx, rax ; +0x3f, 0x18000589f call r9 ; +0x42, 0x1800058a2 mov rcx, rbx ; +0x45, 0x1800058a5 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x48, 0x1800058a8 mov rax, rbx ; +0x4e, 0x1800058ae mov rbx, [rsp+28h+arg_0] ; +0x51, 0x1800058b1 mov rsi, [rsp+28h+arg_8] ; +0x56, 0x1800058b6 add rsp, 20h ; +0x5b, 0x1800058bb pop rdi ; +0x5f, 0x1800058bf retn ; +0x60, 0x1800058c0