; ; CCSpritePlus::createWithSpriteFrame from 0x100476390 to 0x10047641a (138 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:30:35 +0000 ; push rbp ; +0x0, 0x100476390 mov rbp, rsp ; +0x1, 0x100476391 push r14 ; +0x4, 0x100476394 push rbx ; +0x6, 0x100476396 mov r14, rdi ; +0x7, 0x100476397 mov edi, 270h; __sz ; +0xa, 0x10047639a call __Znwm; operator new(ulong) ; +0xf, 0x10047639f mov rbx, rax ; +0x14, 0x1004763a4 mov rdi, rax ; +0x17, 0x1004763a7 call cocos2d__CCSprite__CCSprite ; +0x1a, 0x1004763aa lea rax, off_100B467E0 ; +0x1f, 0x1004763af mov [rbx], rax ; +0x26, 0x1004763b6 lea rcx, off_100B46CD8 ; +0x29, 0x1004763b9 mov [rbx+140h], rcx ; +0x30, 0x1004763c0 lea rcx, off_100B46D58 ; +0x37, 0x1004763c7 mov [rbx+158h], rcx ; +0x3e, 0x1004763ce xorps xmm0, xmm0 ; +0x45, 0x1004763d5 movups xmmword ptr [rbx+258h], xmm0 ; +0x48, 0x1004763d8 mov dword ptr [rbx+267h], 0 ; +0x4f, 0x1004763df test r14, r14 ; +0x59, 0x1004763e9 jz short loc_10047640A ; +0x5c, 0x1004763ec mov rdi, rbx ; +0x5e, 0x1004763ee mov rsi, r14 ; +0x61, 0x1004763f1 call cocos2d__CCSprite__initWithSpriteFrame ; +0x64, 0x1004763f4 test al, al ; +0x69, 0x1004763f9 jz short loc_100476407 ; +0x6b, 0x1004763fb mov rdi, rbx ; +0x6d, 0x1004763fd call cocos2d__CCObject__autorelease ; +0x70, 0x100476400 jmp short loc_100476412 ; +0x75, 0x100476405 mov rax, [rbx] ; +0x77, 0x100476407 mov rdi, rbx ; +0x7a, 0x10047640a call qword ptr [rax+10h] ; +0x7d, 0x10047640d xor ebx, ebx ; +0x80, 0x100476410 mov rax, rbx ; +0x82, 0x100476412 pop rbx ; +0x85, 0x100476415 pop r14 ; +0x86, 0x100476416 pop rbp ; +0x88, 0x100476418 retn ; +0x89, 0x100476419