; ; CCSpriteCOpacity::createWithSpriteFrame from 0x100476ba0 to 0x100476c16 (118 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, 0x100476ba0 mov rbp, rsp ; +0x1, 0x100476ba1 push r14 ; +0x4, 0x100476ba4 push rbx ; +0x6, 0x100476ba6 mov r14, rdi ; +0x7, 0x100476ba7 mov edi, 258h; __sz ; +0xa, 0x100476baa call __Znwm; operator new(ulong) ; +0xf, 0x100476baf mov rbx, rax ; +0x14, 0x100476bb4 mov rdi, rax ; +0x17, 0x100476bb7 call cocos2d__CCSprite__CCSprite ; +0x1a, 0x100476bba lea rax, off_100B46DA0 ; +0x1f, 0x100476bbf mov [rbx], rax ; +0x26, 0x100476bc6 lea rcx, off_100B47288 ; +0x29, 0x100476bc9 mov [rbx+140h], rcx ; +0x30, 0x100476bd0 lea rcx, off_100B47308 ; +0x37, 0x100476bd7 mov [rbx+158h], rcx ; +0x3e, 0x100476bde test r14, r14 ; +0x45, 0x100476be5 jz short loc_100476C06 ; +0x48, 0x100476be8 mov rdi, rbx ; +0x4a, 0x100476bea mov rsi, r14 ; +0x4d, 0x100476bed call cocos2d__CCSprite__initWithSpriteFrame ; +0x50, 0x100476bf0 test al, al ; +0x55, 0x100476bf5 jz short loc_100476C03 ; +0x57, 0x100476bf7 mov rdi, rbx ; +0x59, 0x100476bf9 call cocos2d__CCObject__autorelease ; +0x5c, 0x100476bfc jmp short loc_100476C0E ; +0x61, 0x100476c01 mov rax, [rbx] ; +0x63, 0x100476c03 mov rdi, rbx ; +0x66, 0x100476c06 call qword ptr [rax+10h] ; +0x69, 0x100476c09 xor ebx, ebx ; +0x6c, 0x100476c0c mov rax, rbx ; +0x6e, 0x100476c0e pop rbx ; +0x71, 0x100476c11 pop r14 ; +0x72, 0x100476c12 pop rbp ; +0x74, 0x100476c14 retn ; +0x75, 0x100476c15