; ; cocos2d::extension::CCScale9Sprite::createWithSpriteFrame from 0x18000f450 to 0x18000f4c2 (114 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCControlButton::setBackgroundSpriteFrameForState @ 0x1800067b3 ; > @ 0x180032408 ; > @ 0x18004be4c ; ; 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, 0x18000f450 push rdi ; +0x5, 0x18000f455 sub rsp, 20h ; +0x6, 0x18000f456 mov rdi, rcx ; +0xa, 0x18000f45a mov ecx, 210h; Size ; +0xd, 0x18000f45d call sub_18001F040 ; +0x12, 0x18000f462 mov [rsp+28h+arg_8], rax ; +0x17, 0x18000f467 mov rcx, rax; this ; +0x1c, 0x18000f46c call ??0CCScale9Sprite@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCScale9Sprite::CCScale9Sprite(void) ; +0x1f, 0x18000f46f mov rbx, rax ; +0x24, 0x18000f474 test rax, rax ; +0x27, 0x18000f477 jz short loc_18000F4B5 ; +0x2a, 0x18000f47a mov rcx, [rax] ; +0x2c, 0x18000f47c mov r8, [rcx+408h] ; +0x2f, 0x18000f47f mov rdx, rdi ; +0x36, 0x18000f486 mov rcx, rax ; +0x39, 0x18000f489 call r8 ; +0x3c, 0x18000f48c mov rcx, rbx ; +0x3f, 0x18000f48f test al, al ; +0x42, 0x18000f492 jz short loc_18000F4AA ; +0x44, 0x18000f494 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x46, 0x18000f496 mov rax, rbx ; +0x4c, 0x18000f49c mov rbx, [rsp+28h+arg_0] ; +0x4f, 0x18000f49f add rsp, 20h ; +0x54, 0x18000f4a4 pop rdi ; +0x58, 0x18000f4a8 retn ; +0x59, 0x18000f4a9 mov rax, [rbx] ; +0x5a, 0x18000f4aa mov edx, 1 ; +0x5d, 0x18000f4ad call qword ptr [rax+8] ; +0x62, 0x18000f4b2 xor eax, eax ; +0x65, 0x18000f4b5 mov rbx, [rsp+28h+arg_0] ; +0x67, 0x18000f4b7 add rsp, 20h ; +0x6c, 0x18000f4bc pop rdi ; +0x70, 0x18000f4c0 retn ; +0x71, 0x18000f4c1