// // ColorChannelSprite::create from 0x9f8614 to 0x9f86bc (168 bytes) // // 10 xrefs: // > CustomizeObjectLayer::init @ 0x9860c8 // > GJColorSetupLayer::init @ 0x9f7978 // > CharacterColorPage::createColorMenu @ 0xb5210c // > LevelSettingsLayer::init @ 0xb66a80 // > LevelSettingsLayer::init @ 0xb66af8 // > LevelSettingsLayer::init @ 0xb66b6c // > LevelSettingsLayer::init @ 0xb66be0 // > LevelSettingsLayer::init @ 0xb66c54 // > LevelSettingsLayer::init @ 0xb66cc8 // > @ 0x492b8 // // This function is hookable on this platform (idp: arm, 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:59:15 +0000 // cocos2d::CCSprite *__fastcall ColorChannelSprite::create(ColorChannelSprite *this) { cocos2d::CCSprite *v1; // x19 v1 = (cocos2d::CCSprite *)operator new(0x270u); cocos2d::CCSprite::CCSprite(v1); *((_QWORD *)v1 + 75) = 0; *(_QWORD *)v1 = &off_1477450; *((_QWORD *)v1 + 40) = &off_1477938; *((_QWORD *)v1 + 43) = &off_14779B8; *((_QWORD *)v1 + 76) = 0; *((_QWORD *)v1 + 77) = 0; if ( (unsigned __int8)ColorChannelSprite::init(v1) ) { cocos2d::CCObject::autorelease(v1); return v1; } else { (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } }