; ; CCSpriteWithHue::createWithTexture_1 from 0x1005efc70 to 0x1005efd47 (215 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, 0x1005efc70 mov rbp, rsp ; +0x1, 0x1005efc71 push r15 ; +0x4, 0x1005efc74 push r14 ; +0x6, 0x1005efc76 push r12 ; +0x8, 0x1005efc78 push rbx ; +0xa, 0x1005efc7a sub rsp, 20h ; +0xb, 0x1005efc7b mov r14, rdi ; +0xf, 0x1005efc7f mov rsi, cs:__ZSt7nothrow_ptr; std::nothrow_t * ; +0x12, 0x1005efc82 mov edi, 298h; __sz ; +0x19, 0x1005efc89 call __ZnwmRKSt9nothrow_t; operator new(ulong,std::nothrow_t const&) ; +0x1e, 0x1005efc8e test rax, rax ; +0x23, 0x1005efc93 jz loc_1005EFD35 ; +0x26, 0x1005efc96 mov rbx, rax ; +0x2c, 0x1005efc9c mov esi, 298h ; +0x2f, 0x1005efc9f mov rdi, rax ; +0x34, 0x1005efca4 call ___bzero ; +0x37, 0x1005efca7 mov rdi, rbx ; +0x3c, 0x1005efcac call cocos2d__CCSprite__CCSprite ; +0x3f, 0x1005efcaf lea rax, off_10097A1A8 ; +0x44, 0x1005efcb4 mov [rbx], rax ; +0x4b, 0x1005efcbb lea rax, off_10097A698 ; +0x4e, 0x1005efcbe mov [rbx+140h], rax ; +0x55, 0x1005efcc5 lea rax, off_10097A718 ; +0x5c, 0x1005efccc mov [rbx+158h], rax ; +0x63, 0x1005efcd3 lea rsi, unk_1009A3148 ; +0x6a, 0x1005efcda lea r15, [rbp+var_38] ; +0x71, 0x1005efce1 mov rdi, r15 ; +0x75, 0x1005efce5 call sub_10028D180 ; +0x78, 0x1005efce8 mov rax, [r14] ; +0x7d, 0x1005efced lea r12, [rbp+var_28] ; +0x80, 0x1005efcf0 mov rdi, r12 ; +0x84, 0x1005efcf4 mov rsi, r14 ; +0x87, 0x1005efcf7 call qword ptr [rax+90h] ; +0x8a, 0x1005efcfa lea rdi, [rbp+var_30] ; +0x90, 0x1005efd00 mov rsi, r12 ; +0x94, 0x1005efd04 call sub_10028CFF0 ; +0x97, 0x1005efd07 mov rax, [rbx] ; +0x9c, 0x1005efd0c mov rdi, rbx ; +0x9f, 0x1005efd0f mov rsi, r14 ; +0xa2, 0x1005efd12 mov rdx, r15 ; +0xa5, 0x1005efd15 call qword ptr [rax+3E8h] ; +0xa8, 0x1005efd18 test al, al ; +0xae, 0x1005efd1e jz short loc_1005EFD2C ; +0xb0, 0x1005efd20 mov rdi, rbx ; +0xb2, 0x1005efd22 call cocos2d__CCObject__autorelease ; +0xb5, 0x1005efd25 jmp short loc_1005EFD37 ; +0xba, 0x1005efd2a mov rax, [rbx] ; +0xbc, 0x1005efd2c mov rdi, rbx ; +0xbf, 0x1005efd2f call qword ptr [rax+10h] ; +0xc2, 0x1005efd32 xor ebx, ebx ; +0xc5, 0x1005efd35 mov rax, rbx ; +0xc7, 0x1005efd37 add rsp, 20h ; +0xca, 0x1005efd3a pop rbx ; +0xce, 0x1005efd3e pop r12 ; +0xcf, 0x1005efd3f pop r14 ; +0xd1, 0x1005efd41 pop r15 ; +0xd3, 0x1005efd43 pop rbp ; +0xd5, 0x1005efd45 retn ; +0xd6, 0x1005efd46