; ; cocos2d::extension::CCControlButton::create from 0x180007750 to 0x1800077a7 (87 bytes) ; ; 2 xrefs: ; > @ 0x18002fdf8 ; > @ 0x180049780 ; ; 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 ; push rbx ; +0x0, 0x180007750 sub rsp, 20h ; +0x2, 0x180007752 mov ecx, 238h; Size ; +0x6, 0x180007756 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x18000775b mov [rsp+28h+arg_0], rax ; +0x10, 0x180007760 mov rcx, rax; this ; +0x15, 0x180007765 call ??0CCControlButton@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControlButton::CCControlButton(void) ; +0x18, 0x180007768 mov rbx, rax ; +0x1d, 0x18000776d test rax, rax ; +0x20, 0x180007770 jz short loc_18000779F ; +0x23, 0x180007773 mov rdx, [rax] ; +0x25, 0x180007775 mov rcx, rax ; +0x28, 0x180007778 call qword ptr [rdx+48h] ; +0x2b, 0x18000777b mov rcx, rbx ; +0x2e, 0x18000777e test al, al ; +0x31, 0x180007781 jz short loc_180007794 ; +0x33, 0x180007783 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x35, 0x180007785 mov rax, rbx ; +0x3b, 0x18000778b add rsp, 20h ; +0x3e, 0x18000778e pop rbx ; +0x42, 0x180007792 retn ; +0x43, 0x180007793 mov rax, [rbx] ; +0x44, 0x180007794 mov edx, 1 ; +0x47, 0x180007797 call qword ptr [rax+8] ; +0x4c, 0x18000779c xor eax, eax ; +0x4f, 0x18000779f add rsp, 20h ; +0x51, 0x1800077a1 pop rbx ; +0x55, 0x1800077a5 retn ; +0x56, 0x1800077a6