; ; cocos2d::extension::CCScale9Sprite::create from 0x18000f070 to 0x18000f0fd (141 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004bdec ; ; 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, 0x18000f070 mov [rsp+arg_8], rbp ; +0x5, 0x18000f075 mov [rsp+arg_18], rsi ; +0xa, 0x18000f07a push rdi ; +0xf, 0x18000f07f sub rsp, 30h ; +0x10, 0x18000f080 mov rsi, rdx ; +0x14, 0x18000f084 mov rbp, rcx ; +0x17, 0x18000f087 mov ecx, 210h; Size ; +0x1a, 0x18000f08a call sub_18001F040 ; +0x1f, 0x18000f08f mov [rsp+38h+arg_10], rax ; +0x24, 0x18000f094 mov rcx, rax; this ; +0x29, 0x18000f099 call ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x2c, 0x18000f09c mov rdi, rax ; +0x31, 0x18000f0a1 test rax, rax ; +0x34, 0x18000f0a4 jz short loc_18000F0E6 ; +0x37, 0x18000f0a7 mov rbx, [rax] ; +0x39, 0x18000f0a9 mov rdx, rsi ; +0x3c, 0x18000f0ac lea rcx, [rsp+38h+var_18] ; +0x3f, 0x18000f0af call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x44, 0x18000f0b4 mov r8, rax ; +0x4a, 0x18000f0ba mov rdx, rbp ; +0x4d, 0x18000f0bd mov rcx, rdi ; +0x50, 0x18000f0c0 call qword ptr [rbx+3F8h] ; +0x53, 0x18000f0c3 mov rcx, rdi ; +0x59, 0x18000f0c9 test al, al ; +0x5c, 0x18000f0cc jz short loc_18000F0DB ; +0x5e, 0x18000f0ce call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x60, 0x18000f0d0 mov rax, rdi ; +0x66, 0x18000f0d6 jmp short loc_18000F0E8 ; +0x69, 0x18000f0d9 mov rax, [rdi] ; +0x6b, 0x18000f0db mov edx, 1 ; +0x6e, 0x18000f0de call qword ptr [rax+8] ; +0x73, 0x18000f0e3 xor eax, eax ; +0x76, 0x18000f0e6 mov rbx, [rsp+38h+arg_0] ; +0x78, 0x18000f0e8 mov rbp, [rsp+38h+arg_8] ; +0x7d, 0x18000f0ed mov rsi, [rsp+38h+arg_18] ; +0x82, 0x18000f0f2 add rsp, 30h ; +0x87, 0x18000f0f7 pop rdi ; +0x8b, 0x18000f0fb retn ; +0x8c, 0x18000f0fc