; ; CCSpriteGrayscale::create_1 from 0x1006c3e20 to 0x1006c3eb9 (153 bytes) ; ; 0 xrefs: ; ; 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:33 +0000 ; push rbp ; +0x0, 0x1006c3e20 mov rbp, rsp ; +0x1, 0x1006c3e21 push r14 ; +0x4, 0x1006c3e24 push rbx ; +0x6, 0x1006c3e26 mov r14, rdi ; +0x7, 0x1006c3e27 mov rsi, cs:__ZSt7nothrow_ptr; std::nothrow_t * ; +0xa, 0x1006c3e2a mov edi, 298h; __sz ; +0x11, 0x1006c3e31 call __ZnwmRKSt9nothrow_t; operator new(ulong,std::nothrow_t const&) ; +0x16, 0x1006c3e36 test rax, rax ; +0x1b, 0x1006c3e3b jz short loc_1006C3EAF ; +0x1e, 0x1006c3e3e mov rbx, rax ; +0x20, 0x1006c3e40 mov esi, 298h ; +0x23, 0x1006c3e43 mov rdi, rax ; +0x28, 0x1006c3e48 call ___bzero ; +0x2b, 0x1006c3e4b mov rdi, rbx ; +0x30, 0x1006c3e50 call cocos2d__CCSprite__CCSprite ; +0x33, 0x1006c3e53 lea rax, off_100B8DBB8 ; +0x38, 0x1006c3e58 mov [rbx], rax ; +0x3f, 0x1006c3e5f lea rax, off_100B8E0B8 ; +0x42, 0x1006c3e62 mov [rbx+140h], rax ; +0x49, 0x1006c3e69 lea rax, off_100B8E138 ; +0x50, 0x1006c3e70 mov [rbx+158h], rax ; +0x57, 0x1006c3e77 test byte ptr [r14], 1 ; +0x5e, 0x1006c3e7e jz short loc_1006C3E8A ; +0x62, 0x1006c3e82 mov r14, [r14+10h] ; +0x64, 0x1006c3e84 jmp short loc_1006C3E8D ; +0x68, 0x1006c3e88 inc r14 ; +0x6a, 0x1006c3e8a mov rdi, rbx ; +0x6d, 0x1006c3e8d mov rsi, r14 ; +0x70, 0x1006c3e90 call cocos2d__CCSprite__initWithFile_1 ; +0x73, 0x1006c3e93 test al, al ; +0x78, 0x1006c3e98 jz short loc_1006C3EA6 ; +0x7a, 0x1006c3e9a mov rdi, rbx ; +0x7c, 0x1006c3e9c call cocos2d__CCObject__autorelease ; +0x7f, 0x1006c3e9f jmp short loc_1006C3EB1 ; +0x84, 0x1006c3ea4 mov rax, [rbx] ; +0x86, 0x1006c3ea6 mov rdi, rbx ; +0x89, 0x1006c3ea9 call qword ptr [rax+10h] ; +0x8c, 0x1006c3eac xor ebx, ebx ; +0x8f, 0x1006c3eaf mov rax, rbx ; +0x91, 0x1006c3eb1 pop rbx ; +0x94, 0x1006c3eb4 pop r14 ; +0x95, 0x1006c3eb5 pop rbp ; +0x97, 0x1006c3eb7 retn ; +0x98, 0x1006c3eb8