; ; CCSpriteWithHue::createWithSpriteFrame from 0x1006c2f80 to 0x1006c303f (191 bytes) ; ; 1 xrefs: ; > CCSpriteWithHue::createWithSpriteFrameName @ 0x1006c3090 ; ; 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:35:32 +0000 ; push rbp ; +0x0, 0x1006c2f80 mov rbp, rsp ; +0x1, 0x1006c2f81 push r15 ; +0x4, 0x1006c2f84 push r14 ; +0x6, 0x1006c2f86 push rbx ; +0x8, 0x1006c2f88 push rax ; +0x9, 0x1006c2f89 mov r14, rdi ; +0xa, 0x1006c2f8a mov rsi, cs:__ZSt7nothrow_ptr; std::nothrow_t * ; +0xd, 0x1006c2f8d mov edi, 298h; __sz ; +0x14, 0x1006c2f94 call __ZnwmRKSt9nothrow_t; operator new(ulong,std::nothrow_t const&) ; +0x19, 0x1006c2f99 test rax, rax ; +0x1e, 0x1006c2f9e jz loc_1006C302F ; +0x21, 0x1006c2fa1 mov rbx, rax ; +0x27, 0x1006c2fa7 mov esi, 298h ; +0x2a, 0x1006c2faa mov rdi, rax ; +0x2f, 0x1006c2faf call ___bzero ; +0x32, 0x1006c2fb2 mov rdi, rbx ; +0x37, 0x1006c2fb7 call cocos2d__CCSprite__CCSprite ; +0x3a, 0x1006c2fba lea rax, off_100B8D5F0 ; +0x3f, 0x1006c2fbf mov [rbx], rax ; +0x46, 0x1006c2fc6 lea rcx, off_100B8DAF0 ; +0x49, 0x1006c2fc9 mov [rbx+140h], rcx ; +0x50, 0x1006c2fd0 lea rcx, off_100B8DB70 ; +0x57, 0x1006c2fd7 mov [rbx+158h], rcx ; +0x5e, 0x1006c2fde test r14, r14 ; +0x65, 0x1006c2fe5 jz short loc_1006C3029 ; +0x68, 0x1006c2fe8 mov rdi, r14 ; +0x6a, 0x1006c2fea call cocos2d__CCSpriteFrame__getTexture ; +0x6d, 0x1006c2fed lea rdx, [r14+5Ch] ; +0x72, 0x1006c2ff2 mov rcx, [rbx] ; +0x76, 0x1006c2ff6 mov rdi, rbx ; +0x79, 0x1006c2ff9 mov rsi, rax ; +0x7c, 0x1006c2ffc call qword ptr [rcx+3F8h] ; +0x7f, 0x1006c2fff mov r15d, eax ; +0x85, 0x1006c3005 mov rax, [rbx] ; +0x88, 0x1006c3008 mov rdi, rbx ; +0x8b, 0x1006c300b mov rsi, r14 ; +0x8e, 0x1006c300e call qword ptr [rax+488h] ; +0x91, 0x1006c3011 test r15b, r15b ; +0x97, 0x1006c3017 jz short loc_1006C3026 ; +0x9a, 0x1006c301a mov rdi, rbx ; +0x9c, 0x1006c301c call cocos2d__CCObject__autorelease ; +0x9f, 0x1006c301f jmp short loc_1006C3031 ; +0xa4, 0x1006c3024 mov rax, [rbx] ; +0xa6, 0x1006c3026 mov rdi, rbx ; +0xa9, 0x1006c3029 call qword ptr [rax+10h] ; +0xac, 0x1006c302c xor ebx, ebx ; +0xaf, 0x1006c302f mov rax, rbx ; +0xb1, 0x1006c3031 add rsp, 8 ; +0xb4, 0x1006c3034 pop rbx ; +0xb8, 0x1006c3038 pop r14 ; +0xb9, 0x1006c3039 pop r15 ; +0xbb, 0x1006c303b pop rbp ; +0xbd, 0x1006c303d retn ; +0xbe, 0x1006c303e