; ; cocos2d::extension::CCScale9Sprite::createWithSpriteFrame from 0x18000f370 to 0x18000f3fd (141 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004be34 ; ; 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, 0x18000f370 mov [rsp+arg_8], rbp ; +0x5, 0x18000f375 mov [rsp+arg_18], rsi ; +0xa, 0x18000f37a push rdi ; +0xf, 0x18000f37f sub rsp, 30h ; +0x10, 0x18000f380 mov rsi, rdx ; +0x14, 0x18000f384 mov rbp, rcx ; +0x17, 0x18000f387 mov ecx, 210h; Size ; +0x1a, 0x18000f38a call sub_18001F040 ; +0x1f, 0x18000f38f mov [rsp+38h+arg_10], rax ; +0x24, 0x18000f394 mov rcx, rax; this ; +0x29, 0x18000f399 call ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x2c, 0x18000f39c mov rdi, rax ; +0x31, 0x18000f3a1 test rax, rax ; +0x34, 0x18000f3a4 jz short loc_18000F3E6 ; +0x37, 0x18000f3a7 mov rbx, [rax] ; +0x39, 0x18000f3a9 mov rdx, rsi ; +0x3c, 0x18000f3ac lea rcx, [rsp+38h+var_18] ; +0x3f, 0x18000f3af call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x44, 0x18000f3b4 mov r8, rax ; +0x4a, 0x18000f3ba mov rdx, rbp ; +0x4d, 0x18000f3bd mov rcx, rdi ; +0x50, 0x18000f3c0 call qword ptr [rbx+410h] ; +0x53, 0x18000f3c3 mov rcx, rdi ; +0x59, 0x18000f3c9 test al, al ; +0x5c, 0x18000f3cc jz short loc_18000F3DB ; +0x5e, 0x18000f3ce call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x60, 0x18000f3d0 mov rax, rdi ; +0x66, 0x18000f3d6 jmp short loc_18000F3E8 ; +0x69, 0x18000f3d9 mov rax, [rdi] ; +0x6b, 0x18000f3db mov edx, 1 ; +0x6e, 0x18000f3de call qword ptr [rax+8] ; +0x73, 0x18000f3e3 xor eax, eax ; +0x76, 0x18000f3e6 mov rbx, [rsp+38h+arg_0] ; +0x78, 0x18000f3e8 mov rbp, [rsp+38h+arg_8] ; +0x7d, 0x18000f3ed mov rsi, [rsp+38h+arg_18] ; +0x82, 0x18000f3f2 add rsp, 30h ; +0x87, 0x18000f3f7 pop rdi ; +0x8b, 0x18000f3fb retn ; +0x8c, 0x18000f3fc