; ; cocos2d::extension::CCScale9Sprite::createWithSpriteFrameName from 0x18000f550 to 0x18000f5dd (141 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004be64 ; ; 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, 0x18000f550 mov [rsp+arg_8], rbp ; +0x5, 0x18000f555 mov [rsp+arg_18], rsi ; +0xa, 0x18000f55a push rdi ; +0xf, 0x18000f55f sub rsp, 30h ; +0x10, 0x18000f560 mov rsi, rdx ; +0x14, 0x18000f564 mov rbp, rcx ; +0x17, 0x18000f567 mov ecx, 210h; Size ; +0x1a, 0x18000f56a call sub_18001F040 ; +0x1f, 0x18000f56f mov [rsp+38h+arg_10], rax ; +0x24, 0x18000f574 mov rcx, rax; this ; +0x29, 0x18000f579 call ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x2c, 0x18000f57c mov rdi, rax ; +0x31, 0x18000f581 test rax, rax ; +0x34, 0x18000f584 jz short loc_18000F5C6 ; +0x37, 0x18000f587 mov rbx, [rax] ; +0x39, 0x18000f589 mov rdx, rsi ; +0x3c, 0x18000f58c lea rcx, [rsp+38h+var_18] ; +0x3f, 0x18000f58f call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x44, 0x18000f594 mov r8, rax ; +0x4a, 0x18000f59a mov rdx, rbp ; +0x4d, 0x18000f59d mov rcx, rdi ; +0x50, 0x18000f5a0 call qword ptr [rbx+420h] ; +0x53, 0x18000f5a3 mov rcx, rdi ; +0x59, 0x18000f5a9 test al, al ; +0x5c, 0x18000f5ac jz short loc_18000F5BB ; +0x5e, 0x18000f5ae call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x60, 0x18000f5b0 mov rax, rdi ; +0x66, 0x18000f5b6 jmp short loc_18000F5C8 ; +0x69, 0x18000f5b9 mov rax, [rdi] ; +0x6b, 0x18000f5bb mov edx, 1 ; +0x6e, 0x18000f5be call qword ptr [rax+8] ; +0x73, 0x18000f5c3 xor eax, eax ; +0x76, 0x18000f5c6 mov rbx, [rsp+38h+arg_0] ; +0x78, 0x18000f5c8 mov rbp, [rsp+38h+arg_8] ; +0x7d, 0x18000f5cd mov rsi, [rsp+38h+arg_18] ; +0x82, 0x18000f5d2 add rsp, 30h ; +0x87, 0x18000f5d7 pop rdi ; +0x8b, 0x18000f5db retn ; +0x8c, 0x18000f5dc