; ; CCSpriteCOpacity::createWithSpriteFrame from 0x100482240 to 0x1004822b6 (118 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, 0x100482240 mov rbp, rsp ; +0x1, 0x100482241 push r14 ; +0x4, 0x100482244 push rbx ; +0x6, 0x100482246 mov r14, rdi ; +0x7, 0x100482247 mov edi, 258h; __sz ; +0xa, 0x10048224a call __Znwm; operator new(ulong) ; +0xf, 0x10048224f mov rbx, rax ; +0x14, 0x100482254 mov rdi, rax ; +0x17, 0x100482257 call cocos2d__CCSprite__CCSprite ; +0x1a, 0x10048225a lea rax, off_10093CB78 ; +0x1f, 0x10048225f mov [rbx], rax ; +0x26, 0x100482266 lea rcx, off_10093D050 ; +0x29, 0x100482269 mov [rbx+140h], rcx ; +0x30, 0x100482270 lea rcx, off_10093D0D0 ; +0x37, 0x100482277 mov [rbx+158h], rcx ; +0x3e, 0x10048227e test r14, r14 ; +0x45, 0x100482285 jz short loc_1004822A6 ; +0x48, 0x100482288 mov rdi, rbx ; +0x4a, 0x10048228a mov rsi, r14 ; +0x4d, 0x10048228d call cocos2d__CCSprite__initWithSpriteFrame ; +0x50, 0x100482290 test al, al ; +0x55, 0x100482295 jz short loc_1004822A3 ; +0x57, 0x100482297 mov rdi, rbx ; +0x59, 0x100482299 call cocos2d__CCObject__autorelease ; +0x5c, 0x10048229c jmp short loc_1004822AE ; +0x61, 0x1004822a1 mov rax, [rbx] ; +0x63, 0x1004822a3 mov rdi, rbx ; +0x66, 0x1004822a6 call qword ptr [rax+10h] ; +0x69, 0x1004822a9 xor ebx, ebx ; +0x6c, 0x1004822ac mov rax, rbx ; +0x6e, 0x1004822ae pop rbx ; +0x71, 0x1004822b1 pop r14 ; +0x72, 0x1004822b2 pop rbp ; +0x74, 0x1004822b4 retn ; +0x75, 0x1004822b5