; ; cocos2d::CCMenuItemToggle::create from 0x18005ab30 to 0x18005ab74 (68 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b2d30 ; ; 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, 0x18005ab30 sub rsp, 20h ; +0x2, 0x18005ab32 mov ecx, 188h; Size ; +0x6, 0x18005ab36 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x18005ab3b mov [rsp+28h+arg_0], rax ; +0x10, 0x18005ab40 test rax, rax ; +0x15, 0x18005ab45 jz short loc_18005AB57 ; +0x18, 0x18005ab48 mov rcx, rax; this ; +0x1a, 0x18005ab4a call ??0CCMenuItemToggle@cocos2d@@QEAA@XZ; cocos2d::CCMenuItemToggle::CCMenuItemToggle(void) ; +0x1d, 0x18005ab4d mov rbx, rax ; +0x22, 0x18005ab52 jmp short loc_18005AB59 ; +0x25, 0x18005ab55 xor ebx, ebx ; +0x27, 0x18005ab57 xor edx, edx; struct cocos2d::CCMenuItem * ; +0x29, 0x18005ab59 mov rcx, rbx; this ; +0x2b, 0x18005ab5b call ?initWithItem@CCMenuItemToggle@cocos2d@@QEAA_NPEAVCCMenuItem@2@@Z; cocos2d::CCMenuItemToggle::initWithItem(cocos2d::CCMenuItem *) ; +0x2e, 0x18005ab5e mov rcx, rbx; this ; +0x33, 0x18005ab63 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x36, 0x18005ab66 mov rax, rbx ; +0x3b, 0x18005ab6b add rsp, 20h ; +0x3e, 0x18005ab6e pop rbx ; +0x42, 0x18005ab72 retn ; +0x43, 0x18005ab73