; ; ColorChannelSprite::create from 0x1002d8ba0 to 0x1002d8c27 (135 bytes) ; ; 9 xrefs: ; > CustomizeObjectLayer::init @ 0x1001f636a ; > GJColorSetupLayer::init @ 0x10020b873 ; > LevelSettingsLayer::init @ 0x10026bc53 ; > LevelSettingsLayer::init @ 0x10026bcce ; > LevelSettingsLayer::init @ 0x10026bd42 ; > LevelSettingsLayer::init @ 0x10026bdb6 ; > LevelSettingsLayer::init @ 0x10026be2a ; > LevelSettingsLayer::init @ 0x10026be9e ; > CharacterColorPage::createColorMenu @ 0x10065dd16 ; ; 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, 0x1002d8ba0 mov rbp, rsp ; +0x1, 0x1002d8ba1 push r14 ; +0x4, 0x1002d8ba4 push rbx ; +0x6, 0x1002d8ba6 mov edi, 270h; __sz ; +0x7, 0x1002d8ba7 call __Znwm; operator new(ulong) ; +0xc, 0x1002d8bac mov rbx, rax ; +0x11, 0x1002d8bb1 mov rdi, rax ; +0x14, 0x1002d8bb4 call cocos2d__CCSprite__CCSprite ; +0x17, 0x1002d8bb7 lea rax, off_100909678 ; +0x1c, 0x1002d8bbc mov [rbx], rax ; +0x23, 0x1002d8bc3 lea rax, off_100909B50 ; +0x26, 0x1002d8bc6 mov [rbx+140h], rax ; +0x2d, 0x1002d8bcd lea rax, off_100909BD0 ; +0x34, 0x1002d8bd4 mov [rbx+158h], rax ; +0x3b, 0x1002d8bdb xorps xmm0, xmm0 ; +0x42, 0x1002d8be2 movups xmmword ptr [rbx+258h], xmm0 ; +0x45, 0x1002d8be5 mov qword ptr [rbx+268h], 0 ; +0x4c, 0x1002d8bec lea rsi, aGjColorbtn001P; "GJ_colorBtn_001.png" ; +0x57, 0x1002d8bf7 mov rdi, rbx ; +0x5e, 0x1002d8bfe call cocos2d__CCSprite__initWithSpriteFrameName ; +0x61, 0x1002d8c01 test al, al ; +0x66, 0x1002d8c06 jz short loc_1002D8C14 ; +0x68, 0x1002d8c08 mov rdi, rbx ; +0x6a, 0x1002d8c0a call cocos2d__CCObject__autorelease ; +0x6d, 0x1002d8c0d jmp short loc_1002D8C1F ; +0x72, 0x1002d8c12 mov rax, [rbx] ; +0x74, 0x1002d8c14 mov rdi, rbx ; +0x77, 0x1002d8c17 call qword ptr [rax+10h] ; +0x7a, 0x1002d8c1a xor ebx, ebx ; +0x7d, 0x1002d8c1d mov rax, rbx ; +0x7f, 0x1002d8c1f pop rbx ; +0x82, 0x1002d8c22 pop r14 ; +0x83, 0x1002d8c23 pop rbp ; +0x85, 0x1002d8c25 retn ; +0x86, 0x1002d8c26