; ; ColorChannelSprite::create from 0x5c20c4 to 0x5c2128 (100 bytes) ; ; 9 xrefs: ; > CustomizeObjectLayer::init @ 0x58042c ; > GJColorSetupLayer::init @ 0x5c1a36 ; > CharacterColorPage::createColorMenu @ 0x69d482 ; > LevelSettingsLayer::init @ 0x6ab7ca ; > LevelSettingsLayer::init @ 0x6ab820 ; > LevelSettingsLayer::init @ 0x6ab8b2 ; > LevelSettingsLayer::init @ 0x6ab900 ; > LevelSettingsLayer::init @ 0x6ab94e ; > LevelSettingsLayer::init @ 0x6ab99c ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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 11:53:50 +0000 ; PUSH {R3-R5,LR} ; +0x0, 0x5c20c4 MOV.W R0, #0x208; unsigned int ; +0x2, 0x5c20c6 BL _Znwj; operator new(uint) ; +0x6, 0x5c20ca MOV R4, R0 ; +0xa, 0x5c20ce BL _ZN7cocos2d8CCSpriteC2Ev; cocos2d::CCSprite::CCSprite(void) ; +0xc, 0x5c20d0 LDR R3, =(_ZTV18ColorChannelSprite_ptr - 0x5C20DC) ; +0x10, 0x5c20d4 MOV R0, R4; this ; +0x12, 0x5c20d6 ADD R3, PC; _ZTV18ColorChannelSprite_ptr ; +0x14, 0x5c20d8 LDR R3, [R3]; `vtable for'ColorChannelSprite ... ; +0x16, 0x5c20da ADD.W R2, R3, #8 ; +0x18, 0x5c20dc STR R2, [R4] ; +0x1c, 0x5c20e0 ADD.W R2, R3, #0x27C ; +0x1e, 0x5c20e2 ADD.W R3, R3, #0x2BC ; +0x22, 0x5c20e6 STR.W R2, [R4,#0x108] ; +0x26, 0x5c20ea STR.W R3, [R4,#0x118] ; +0x2a, 0x5c20ee MOVS R3, #0 ; +0x2e, 0x5c20f2 STR.W R3, [R4,#0x1FC] ; +0x30, 0x5c20f4 STR.W R3, [R4,#0x200] ; +0x34, 0x5c20f8 STR.W R3, [R4,#0x204] ; +0x38, 0x5c20fc BL _ZN18ColorChannelSprite4initEv; ColorChannelSprite::init(void) ; +0x3c, 0x5c2100 MOV R5, R0 ; +0x40, 0x5c2104 CBZ R0, loc_5C211A ; +0x42, 0x5c2106 MOV R0, R4; this ; +0x44, 0x5c2108 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x46, 0x5c210a B loc_5C2124 ; +0x4a, 0x5c210e MOV R0, R4; void * ; +0x4c, 0x5c2110 BL _ZdlPv; operator delete(void *) ; +0x4e, 0x5c2112 BL __cxa_end_cleanup ; +0x52, 0x5c2116 LDR R3, [R4] ; +0x56, 0x5c211a MOV R0, R4 ; +0x58, 0x5c211c MOV R4, R5 ; +0x5a, 0x5c211e LDR R3, [R3,#8] ; +0x5c, 0x5c2120 BLX R3 ; +0x5e, 0x5c2122 MOV R0, R4 ; +0x60, 0x5c2124 POP {R3-R5,PC} ; +0x62, 0x5c2126