; ; cocos2d::extension::CCScale9Sprite::create from 0x18000ef50 to 0x18000eff0 (160 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004bdd4 ; ; 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:39 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18000ef50 mov [rsp+arg_8], rbp ; +0x5, 0x18000ef55 push rsi ; +0xa, 0x18000ef5a push rdi ; +0xb, 0x18000ef5b push r14 ; +0xc, 0x18000ef5c sub rsp, 40h ; +0xe, 0x18000ef5e mov rbx, r8 ; +0x12, 0x18000ef62 mov rbp, rdx ; +0x15, 0x18000ef65 mov r14, rcx ; +0x18, 0x18000ef68 mov ecx, 210h; Size ; +0x1b, 0x18000ef6b call sub_18001F040 ; +0x20, 0x18000ef70 mov [rsp+58h+arg_18], rax ; +0x25, 0x18000ef75 mov rcx, rax; this ; +0x2a, 0x18000ef7a call ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x2d, 0x18000ef7d mov rsi, rax ; +0x32, 0x18000ef82 test rax, rax ; +0x35, 0x18000ef85 jz short loc_18000EFDB ; +0x38, 0x18000ef88 mov rdi, [rax] ; +0x3a, 0x18000ef8a mov rdx, rbx ; +0x3d, 0x18000ef8d lea rcx, [rsp+58h+var_38] ; +0x40, 0x18000ef90 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x45, 0x18000ef95 mov rbx, rax ; +0x4b, 0x18000ef9b mov rdx, rbp ; +0x4e, 0x18000ef9e lea rcx, [rsp+58h+var_28] ; +0x51, 0x18000efa1 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x56, 0x18000efa6 mov r8, rax ; +0x5c, 0x18000efac mov r9, rbx ; +0x5f, 0x18000efaf mov rdx, r14 ; +0x62, 0x18000efb2 mov rcx, rsi ; +0x65, 0x18000efb5 call qword ptr [rdi+400h] ; +0x68, 0x18000efb8 mov rcx, rsi ; +0x6e, 0x18000efbe test al, al ; +0x71, 0x18000efc1 jz short loc_18000EFD0 ; +0x73, 0x18000efc3 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x75, 0x18000efc5 mov rax, rsi ; +0x7b, 0x18000efcb jmp short loc_18000EFDD ; +0x7e, 0x18000efce mov rax, [rsi] ; +0x80, 0x18000efd0 mov edx, 1 ; +0x83, 0x18000efd3 call qword ptr [rax+8] ; +0x88, 0x18000efd8 xor eax, eax ; +0x8b, 0x18000efdb mov rbx, [rsp+58h+arg_0] ; +0x8d, 0x18000efdd mov rbp, [rsp+58h+arg_8] ; +0x92, 0x18000efe2 add rsp, 40h ; +0x97, 0x18000efe7 pop r14 ; +0x9b, 0x18000efeb pop rdi ; +0x9d, 0x18000efed pop rsi ; +0x9e, 0x18000efee retn ; +0x9f, 0x18000efef