; ; cocos2d::extension::CCScale9Sprite::createWithSpriteFrame from 0x18000f980 to 0x18000f9ef (111 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState @ 0x180006d23 ; > @ 0x18002fdf8 ; > @ 0x180049f6c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x18000f980 push rdi ; +0x5, 0x18000f985 sub rsp, 20h ; +0x6, 0x18000f986 mov rdi, rcx ; +0xa, 0x18000f98a mov ecx, 210h; Size ; +0xd, 0x18000f98d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x12, 0x18000f992 mov [rsp+28h+arg_8], rax ; +0x17, 0x18000f997 mov rcx, rax; this ; +0x1c, 0x18000f99c call ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x1f, 0x18000f99f mov rbx, rax ; +0x24, 0x18000f9a4 test rax, rax ; +0x27, 0x18000f9a7 jz short loc_18000F9E2 ; +0x2a, 0x18000f9aa mov r8, [rax] ; +0x2c, 0x18000f9ac mov rdx, rdi ; +0x2f, 0x18000f9af mov rcx, rax ; +0x32, 0x18000f9b2 call qword ptr [r8+3F8h] ; +0x35, 0x18000f9b5 mov rcx, rbx ; +0x3c, 0x18000f9bc test al, al ; +0x3f, 0x18000f9bf jz short loc_18000F9D7 ; +0x41, 0x18000f9c1 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x43, 0x18000f9c3 mov rax, rbx ; +0x49, 0x18000f9c9 mov rbx, [rsp+28h+arg_0] ; +0x4c, 0x18000f9cc add rsp, 20h ; +0x51, 0x18000f9d1 pop rdi ; +0x55, 0x18000f9d5 retn ; +0x56, 0x18000f9d6 mov rax, [rbx] ; +0x57, 0x18000f9d7 mov edx, 1 ; +0x5a, 0x18000f9da call qword ptr [rax+8] ; +0x5f, 0x18000f9df xor eax, eax ; +0x62, 0x18000f9e2 mov rbx, [rsp+28h+arg_0] ; +0x64, 0x18000f9e4 add rsp, 20h ; +0x69, 0x18000f9e9 pop rdi ; +0x6d, 0x18000f9ed retn ; +0x6e, 0x18000f9ee