{"type": "func", "start": 9056488, "end": 9056656, "name": "ColorChannelSprite::create", "pseudocode": "// \n// ColorChannelSprite::create from 0x8a30e8 to 0x8a3190 (168 bytes)\n// \n// 10 xrefs:\n// > CustomizeObjectLayer::init @ 0x842ee0\n// > GJColorSetupLayer::init @ 0x8a1f70\n// > CharacterColorPage::createColorMenu @ 0xa250bc\n// > LevelSettingsLayer::init @ 0xa37a40\n// > LevelSettingsLayer::init @ 0xa37ab8\n// > LevelSettingsLayer::init @ 0xa37b2c\n// > LevelSettingsLayer::init @ 0xa37ba0\n// > LevelSettingsLayer::init @ 0xa37c14\n// > LevelSettingsLayer::init @ 0xa37c88\n// > <???> @ 0x312c0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nColorChannelSprite *ColorChannelSprite::create()\n{\n  ColorChannelSprite *v0; // x19\n\n  v0 = (ColorChannelSprite *)operator new(0x270u);\n  cocos2d::CCSprite::CCSprite(v0);\n  v0->m_copyLabel = nullptr;\n  v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ColorChannelSprite_vtbl *)&off_11922E0;\n  v0->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11927B8;\n  v0->cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_1192838;\n  v0->m_opacityLabel = nullptr;\n  v0->m_blendingLabel = nullptr;\n  if ( ColorChannelSprite::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    v0->~ColorChannelSprite_0(v0);\n    return nullptr;\n  }\n}", "assembly": "; \n; ColorChannelSprite::create from 0x8a30e8 to 0x8a3190 (168 bytes)\n; \n; 10 xrefs:\n; > CustomizeObjectLayer::init @ 0x842ee0\n; > GJColorSetupLayer::init @ 0x8a1f70\n; > CharacterColorPage::createColorMenu @ 0xa250bc\n; > LevelSettingsLayer::init @ 0xa37a40\n; > LevelSettingsLayer::init @ 0xa37ab8\n; > LevelSettingsLayer::init @ 0xa37b2c\n; > LevelSettingsLayer::init @ 0xa37ba0\n; > LevelSettingsLayer::init @ 0xa37c14\n; > LevelSettingsLayer::init @ 0xa37c88\n; > <???> @ 0x312c0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x8a30e8\nMOV             X0, #0x270; unsigned __int64                           ; +0x4, 0x8a30ec\nMOV             X29, SP                                                ; +0x8, 0x8a30f0\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x8a30f4\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0x8a30f8\nMOV             X19, X0                                                ; +0x14, 0x8a30fc\nBL              _ZN7cocos2d8CCSpriteC2Ev; cocos2d::CCSprite::CCSprite(void) ; +0x18, 0x8a3100\nADRP            X1, #_ZTV18ColorChannelSprite_ptr@PAGE                 ; +0x1c, 0x8a3104\nMOV             X0, X19; this                                          ; +0x20, 0x8a3108\nLDR             X1, [X1,#_ZTV18ColorChannelSprite_ptr@PAGEOFF]; `vtable for'ColorChannelSprite ... ; +0x24, 0x8a310c\nSTR             XZR, [X19,#0x258]                                      ; +0x28, 0x8a3110\nADD             X3, X1, #0x10                                          ; +0x2c, 0x8a3114\nADD             X2, X1, #0x4E8                                         ; +0x30, 0x8a3118\nSTR             X3, [X19]                                              ; +0x34, 0x8a311c\nADD             X1, X1, #0x568                                         ; +0x38, 0x8a3120\nSTR             X2, [X19,#0x140]                                       ; +0x3c, 0x8a3124\nSTR             X1, [X19,#0x158]                                       ; +0x40, 0x8a3128\nSTR             XZR, [X19,#0x260]                                      ; +0x44, 0x8a312c\nSTR             XZR, [X19,#0x268]                                      ; +0x48, 0x8a3130\nBL              _ZN18ColorChannelSprite4initEv; ColorChannelSprite::init(void) ; +0x4c, 0x8a3134\nUXTB            W0, W0                                                 ; +0x50, 0x8a3138\nCBZ             W0, loc_8A3158                                         ; +0x54, 0x8a313c\nMOV             X0, X19; this                                          ; +0x58, 0x8a3140\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x5c, 0x8a3144\nMOV             X0, X19                                                ; +0x60, 0x8a3148\nLDP             X19, X20, [SP,#var_s10]                                ; +0x64, 0x8a314c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x68, 0x8a3150\nRET                                                                    ; +0x6c, 0x8a3154\nLDR             X1, [X19]                                              ; +0x70, 0x8a3158\nMOV             X0, X19                                                ; +0x74, 0x8a315c\nMOV             X19, #0                                                ; +0x78, 0x8a3160\nLDR             X1, [X1,#0x10]                                         ; +0x7c, 0x8a3164\nBLR             X1                                                     ; +0x80, 0x8a3168\nMOV             X0, X19                                                ; +0x84, 0x8a316c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x88, 0x8a3170\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x8c, 0x8a3174\nRET                                                                    ; +0x90, 0x8a3178\nMOV             X20, X0                                                ; +0x94, 0x8a317c\nMOV             X0, X19; p                                             ; +0x98, 0x8a3180\nBL              _ZdlPv; operator delete(void *)                        ; +0x9c, 0x8a3184\nMOV             X0, X20                                                ; +0xa0, 0x8a3188\nBL              _Unwind_Resume                                         ; +0xa4, 0x8a318c", "xrefs": ["CustomizeObjectLayer::init @ 0x842ee0", "GJColorSetupLayer::init @ 0x8a1f70", "CharacterColorPage::createColorMenu @ 0xa250bc", "LevelSettingsLayer::init @ 0xa37a40", "LevelSettingsLayer::init @ 0xa37ab8", "LevelSettingsLayer::init @ 0xa37b2c", "LevelSettingsLayer::init @ 0xa37ba0", "LevelSettingsLayer::init @ 0xa37c14", "LevelSettingsLayer::init @ 0xa37c88", "<???> @ 0x312c0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}