; ; cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName from 0x18000f4d0 to 0x18000f542 (114 bytes) ; ; 3 xrefs: ; > @ 0x180029fb8 ; > @ 0x180032408 ; > @ 0x18004be58 ; ; 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, 0x18000f4d0 mov [rsp+arg_8], rbp ; +0x5, 0x18000f4d5 mov [rsp+arg_10], rsi ; +0xa, 0x18000f4da push rdi ; +0xf, 0x18000f4df sub rsp, 30h ; +0x10, 0x18000f4e0 mov rbp, r8 ; +0x14, 0x18000f4e4 mov rbx, rdx ; +0x17, 0x18000f4e7 mov rsi, rcx ; +0x1a, 0x18000f4ea call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x1d, 0x18000f4ed call cs:?sharedSpriteFrameCache@CCSpriteFrameCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(void) ; +0x23, 0x18000f4f3 mov rcx, rax ; +0x29, 0x18000f4f9 mov rdx, rbx ; +0x2c, 0x18000f4fc call cs:?spriteFrameByName@CCSpriteFrameCache@cocos2d@@QEAAPEAVCCSpriteFrame@2@PEBD@Z; cocos2d::CCSpriteFrameCache::spriteFrameByName(char const *) ; +0x2f, 0x18000f4ff mov rdi, rax ; +0x35, 0x18000f505 test rax, rax ; +0x38, 0x18000f508 jz short loc_18000F52D ; +0x3b, 0x18000f50b mov rbx, [rsi] ; +0x3d, 0x18000f50d lea rcx, [rsp+38h+var_18] ; +0x40, 0x18000f510 mov rdx, rbp ; +0x45, 0x18000f515 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x48, 0x18000f518 mov rdx, rdi ; +0x4e, 0x18000f51e mov rcx, rsi ; +0x51, 0x18000f521 mov r8, rax ; +0x54, 0x18000f524 call qword ptr [rbx+410h] ; +0x57, 0x18000f527 mov rbx, [rsp+38h+arg_0] ; +0x5d, 0x18000f52d mov rbp, [rsp+38h+arg_8] ; +0x62, 0x18000f532 mov rsi, [rsp+38h+arg_10] ; +0x67, 0x18000f537 add rsp, 30h ; +0x6c, 0x18000f53c pop rdi ; +0x70, 0x18000f540 retn ; +0x71, 0x18000f541