; ; cocos2d::extension::CCScale9Sprite::setSpriteFrame from 0x18000fb40 to 0x18000fbe8 (168 bytes) ; ; 3 xrefs: ; > @ 0x180029fc8 ; > @ 0x180032408 ; > @ 0x18004bf60 ; ; 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, 0x18000fb40 mov [rsp+arg_8], rbp ; +0x5, 0x18000fb45 mov [rsp+arg_10], rsi ; +0xa, 0x18000fb4a push rdi ; +0xf, 0x18000fb4f push r14 ; +0x10, 0x18000fb50 push r15 ; +0x12, 0x18000fb52 sub rsp, 50h ; +0x14, 0x18000fb54 mov r15, rcx ; +0x18, 0x18000fb58 mov r14, rdx ; +0x1b, 0x18000fb5b mov rcx, rdx ; +0x1e, 0x18000fb5e call cs:?getTexture@CCSpriteFrame@cocos2d@@QEAAPEAVCCTexture2D@2@XZ; cocos2d::CCSpriteFrame::getTexture(void) ; +0x21, 0x18000fb61 mov rcx, rax ; +0x27, 0x18000fb67 mov edx, 9 ; +0x2a, 0x18000fb6a call cs:?createWithTexture@CCSpriteBatchNode@cocos2d@@SAPEAV12@PEAVCCTexture2D@2@I@Z; cocos2d::CCSpriteBatchNode::createWithTexture(cocos2d::CCTexture2D *,uint) ; +0x2f, 0x18000fb6f movzx esi, byte ptr [r14+58h] ; +0x35, 0x18000fb75 lea rdx, unk_18004A600 ; +0x3a, 0x18000fb7a mov rdi, [r15] ; +0x41, 0x18000fb81 lea rcx, [rsp+68h+var_38] ; +0x44, 0x18000fb84 mov rbp, rax ; +0x49, 0x18000fb89 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x4c, 0x18000fb8c lea rdx, [r14+5Ch] ; +0x52, 0x18000fb92 mov rbx, rax ; +0x56, 0x18000fb96 lea rcx, [rsp+68h+var_28] ; +0x59, 0x18000fb99 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x5e, 0x18000fb9e movzx r9d, sil ; +0x64, 0x18000fba4 mov [rsp+68h+var_48], rbx ; +0x68, 0x18000fba8 mov r8, rax ; +0x6d, 0x18000fbad mov rdx, rbp ; +0x70, 0x18000fbb0 mov rcx, r15 ; +0x73, 0x18000fbb3 call qword ptr [rdi+428h] ; +0x76, 0x18000fbb6 mov rbx, [rsp+68h+arg_0] ; +0x7c, 0x18000fbbc xor eax, eax ; +0x81, 0x18000fbc1 mov rbp, [rsp+68h+arg_8] ; +0x83, 0x18000fbc3 mov rsi, [rsp+68h+arg_10] ; +0x88, 0x18000fbc8 mov [r15+178h], rax ; +0x90, 0x18000fbd0 mov [r15+180h], rax ; +0x97, 0x18000fbd7 add rsp, 50h ; +0x9e, 0x18000fbde pop r15 ; +0xa2, 0x18000fbe2 pop r14 ; +0xa4, 0x18000fbe4 pop rdi ; +0xa6, 0x18000fbe6 retn ; +0xa7, 0x18000fbe7