; ; CCSpriteGrayscale::createWithTexture from 0x1005f0f70 to 0x1005f1025 (181 bytes) ; ; 0 xrefs: ; ; 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 ; push rbp ; +0x0, 0x1005f0f70 mov rbp, rsp ; +0x1, 0x1005f0f71 push r15 ; +0x4, 0x1005f0f74 push r14 ; +0x6, 0x1005f0f76 push r12 ; +0x8, 0x1005f0f78 push rbx ; +0xa, 0x1005f0f7a mov r12d, edx ; +0xb, 0x1005f0f7b mov r14, rsi ; +0xe, 0x1005f0f7e mov r15, rdi ; +0x11, 0x1005f0f81 mov rsi, cs:__ZSt7nothrow_ptr; std::nothrow_t * ; +0x14, 0x1005f0f84 mov edi, 298h; __sz ; +0x1b, 0x1005f0f8b call __ZnwmRKSt9nothrow_t; operator new(ulong,std::nothrow_t const&) ; +0x20, 0x1005f0f90 test rax, rax ; +0x25, 0x1005f0f95 jz short loc_1005F1017 ; +0x28, 0x1005f0f98 mov rbx, rax ; +0x2a, 0x1005f0f9a mov esi, 298h ; +0x2d, 0x1005f0f9d mov rdi, rax ; +0x32, 0x1005f0fa2 call ___bzero ; +0x35, 0x1005f0fa5 mov rdi, rbx ; +0x3a, 0x1005f0faa call cocos2d__CCSprite__CCSprite ; +0x3d, 0x1005f0fad lea rax, off_10097A760 ; +0x42, 0x1005f0fb2 mov [rbx], rax ; +0x49, 0x1005f0fb9 lea rax, off_10097AC50 ; +0x4c, 0x1005f0fbc mov [rbx+140h], rax ; +0x53, 0x1005f0fc3 lea rax, off_10097ACD0 ; +0x5a, 0x1005f0fca mov [rbx+158h], rax ; +0x61, 0x1005f0fd1 movzx ecx, r12b ; +0x68, 0x1005f0fd8 mov rdi, rbx ; +0x6c, 0x1005f0fdc mov rsi, r15 ; +0x6f, 0x1005f0fdf mov rdx, r14 ; +0x72, 0x1005f0fe2 call cocos2d__CCSprite__initWithTexture ; +0x75, 0x1005f0fe5 test al, al ; +0x7a, 0x1005f0fea jz short loc_1005F100E ; +0x7c, 0x1005f0fec movaps xmm0, cs:xmmword_100821A30 ; +0x7e, 0x1005f0fee movups xmmword ptr [rbx+254h], xmm0 ; +0x85, 0x1005f0ff5 mov rdi, rbx ; +0x8c, 0x1005f0ffc call CCSpriteWithHue__initShader ; +0x8f, 0x1005f0fff mov rdi, rbx ; +0x94, 0x1005f1004 call cocos2d__CCObject__autorelease ; +0x97, 0x1005f1007 jmp short loc_1005F1019 ; +0x9c, 0x1005f100c mov rax, [rbx] ; +0x9e, 0x1005f100e mov rdi, rbx ; +0xa1, 0x1005f1011 call qword ptr [rax+10h] ; +0xa4, 0x1005f1014 xor ebx, ebx ; +0xa7, 0x1005f1017 mov rax, rbx ; +0xa9, 0x1005f1019 pop rbx ; +0xac, 0x1005f101c pop r12 ; +0xad, 0x1005f101d pop r14 ; +0xaf, 0x1005f101f pop r15 ; +0xb1, 0x1005f1021 pop rbp ; +0xb3, 0x1005f1023 retn ; +0xb4, 0x1005f1024