; ; cocos2d::extension::CCScale9Sprite::create from 0x18000f170 to 0x18000f1fd (141 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004be04 ; ; 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, 0x18000f170 mov [rsp+arg_8], rbp ; +0x5, 0x18000f175 mov [rsp+arg_18], rsi ; +0xa, 0x18000f17a push rdi ; +0xf, 0x18000f17f sub rsp, 30h ; +0x10, 0x18000f180 mov rsi, rdx ; +0x14, 0x18000f184 mov rbp, rcx ; +0x17, 0x18000f187 mov ecx, 210h; Size ; +0x1a, 0x18000f18a call sub_18001F040 ; +0x1f, 0x18000f18f mov [rsp+38h+arg_10], rax ; +0x24, 0x18000f194 mov rcx, rax; this ; +0x29, 0x18000f199 call ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x2c, 0x18000f19c mov rdi, rax ; +0x31, 0x18000f1a1 test rax, rax ; +0x34, 0x18000f1a4 jz short loc_18000F1E6 ; +0x37, 0x18000f1a7 mov rbx, [rax] ; +0x39, 0x18000f1a9 mov rdx, rbp ; +0x3c, 0x18000f1ac lea rcx, [rsp+38h+var_18] ; +0x3f, 0x18000f1af call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x44, 0x18000f1b4 mov rdx, rax ; +0x4a, 0x18000f1ba mov r8, rsi ; +0x4d, 0x18000f1bd mov rcx, rdi ; +0x50, 0x18000f1c0 call qword ptr [rbx+3F0h] ; +0x53, 0x18000f1c3 mov rcx, rdi ; +0x59, 0x18000f1c9 test al, al ; +0x5c, 0x18000f1cc jz short loc_18000F1DB ; +0x5e, 0x18000f1ce call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x60, 0x18000f1d0 mov rax, rdi ; +0x66, 0x18000f1d6 jmp short loc_18000F1E8 ; +0x69, 0x18000f1d9 mov rax, [rdi] ; +0x6b, 0x18000f1db mov edx, 1 ; +0x6e, 0x18000f1de call qword ptr [rax+8] ; +0x73, 0x18000f1e3 xor eax, eax ; +0x76, 0x18000f1e6 mov rbx, [rsp+38h+arg_0] ; +0x78, 0x18000f1e8 mov rbp, [rsp+38h+arg_8] ; +0x7d, 0x18000f1ed mov rsi, [rsp+38h+arg_18] ; +0x82, 0x18000f1f2 add rsp, 30h ; +0x87, 0x18000f1f7 pop rdi ; +0x8b, 0x18000f1fb retn ; +0x8c, 0x18000f1fc