; ; ColorChannelSprite::create from 0x498f34 to 0x498f98 (100 bytes) ; ; 9 xrefs: ; > CustomizeObjectLayer::init @ 0x463180 ; > GJColorSetupLayer::init @ 0x49839e ; > CharacterColorPage::createColorMenu @ 0x56523a ; > LevelSettingsLayer::init @ 0x571530 ; > LevelSettingsLayer::init @ 0x571582 ; > LevelSettingsLayer::init @ 0x571612 ; > LevelSettingsLayer::init @ 0x57165e ; > LevelSettingsLayer::init @ 0x5716aa ; > LevelSettingsLayer::init @ 0x5716f6 ; ; 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 {R3-R5,LR} ; +0x0, 0x498f34 MOV.W R0, #0x208; unsigned int ; +0x2, 0x498f36 BL _Znwj; operator new(uint) ; +0x6, 0x498f3a MOV R4, R0 ; +0xa, 0x498f3e BL _ZN7cocos2d8CCSpriteC2Ev; cocos2d::CCSprite::CCSprite(void) ; +0xc, 0x498f40 LDR R3, =(_ZTV18ColorChannelSprite_ptr - 0x498F4C) ; +0x10, 0x498f44 MOV R0, R4; this ; +0x12, 0x498f46 ADD R3, PC; _ZTV18ColorChannelSprite_ptr ; +0x14, 0x498f48 LDR R3, [R3]; `vtable for'ColorChannelSprite ... ; +0x16, 0x498f4a ADD.W R2, R3, #8 ; +0x18, 0x498f4c STR R2, [R4] ; +0x1c, 0x498f50 ADD.W R2, R3, #0x274 ; +0x1e, 0x498f52 ADD.W R3, R3, #0x2B4 ; +0x22, 0x498f56 STR.W R2, [R4,#0x108] ; +0x26, 0x498f5a STR.W R3, [R4,#0x118] ; +0x2a, 0x498f5e MOVS R3, #0 ; +0x2e, 0x498f62 STR.W R3, [R4,#0x1FC] ; +0x30, 0x498f64 STR.W R3, [R4,#0x200] ; +0x34, 0x498f68 STR.W R3, [R4,#0x204] ; +0x38, 0x498f6c BL _ZN18ColorChannelSprite4initEv; ColorChannelSprite::init(void) ; +0x3c, 0x498f70 MOV R5, R0 ; +0x40, 0x498f74 CBZ R0, loc_498F8A ; +0x42, 0x498f76 MOV R0, R4; this ; +0x44, 0x498f78 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x46, 0x498f7a B loc_498F94 ; +0x4a, 0x498f7e MOV R0, R4; p ; +0x4c, 0x498f80 BL _ZdlPv; operator delete(void *) ; +0x4e, 0x498f82 BL __cxa_end_cleanup ; +0x52, 0x498f86 LDR R3, [R4] ; +0x56, 0x498f8a MOV R0, R4 ; +0x58, 0x498f8c MOV R4, R5 ; +0x5a, 0x498f8e LDR R3, [R3,#8] ; +0x5c, 0x498f90 BLX R3 ; +0x5e, 0x498f92 MOV R0, R4 ; +0x60, 0x498f94 POP {R3-R5,PC} ; +0x62, 0x498f96