{"type": "func", "start": 10642048, "end": 10642340, "name": "CharacterColorPage::create", "pseudocode": "// \n// CharacterColorPage::create from 0xa26280 to 0xa263a4 (292 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::onPaint @ 0x78fd84\n// > <???> @ 0x949f8\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\nCharacterColorPage *CharacterColorPage::create()\n{\n  CharacterColorPage *v0; // x19\n\n  v0 = (CharacterColorPage *)operator new(0x2C0u);\n  cocos2d::CCLayerColor::CCLayerColor(v0);\n  v0->m_controlConnected = -1;\n  v0->m_joystickConnected = -1;\n  v0->m_buttonMenu = nullptr;\n  v0->m_alertProtocol = nullptr;\n  v0->m_scene = nullptr;\n  v0->m_reverseKeyBack = 0;\n  v0->m_mainLayer = nullptr;\n  v0->m_ZOrder = 0;\n  v0->m_noElasticity = 0;\n  v0->m_button1 = nullptr;\n  v0->m_button2 = nullptr;\n  v0->m_scrollingLayer = nullptr;\n  v0->m_containsBorder = 0;\n  v0->m_noAction = 0;\n  v0->m_forcePrioRegistered = 0;\n  v0->m_colorMode = 0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CharacterColorPage_vtbl *)&off_11D8CE0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_11D9200;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_11D9270;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_11D9288;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_11D92A8;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_11D92C8;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11D92F0;\n  v0->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_11D9370;\n  v0->m_playerObjects = nullptr;\n  v0->m_modeButtons = nullptr;\n  v0->m_colorButtons = nullptr;\n  v0->m_cursors = nullptr;\n  v0->m_delegate = nullptr;\n  v0->m_glowToggler = nullptr;\n  v0->m_glowLabel = nullptr;\n  if ( CharacterColorPage::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n    return v0;\n  }\n  else\n  {\n    v0->~CharacterColorPage_0(v0);\n    return nullptr;\n  }\n}", "assembly": "; \n; CharacterColorPage::create from 0xa26280 to 0xa263a4 (292 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::onPaint @ 0x78fd84\n; > <???> @ 0x949f8\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, 0xa26280\nMOV             X0, #0x2C0; unsigned __int64                           ; +0x4, 0xa26284\nMOV             X29, SP                                                ; +0x8, 0xa26288\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0xa2628c\nBL              _Znwm; operator new(ulong)                             ; +0x10, 0xa26290\nMOV             X19, X0                                                ; +0x14, 0xa26294\nBL              _ZN7cocos2d12CCLayerColorC1Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x18, 0xa26298\nMOV             W1, #0xFFFFFFFF                                        ; +0x1c, 0xa2629c\nSTR             W1, [X19,#0x268]                                       ; +0x20, 0xa262a0\nSTR             W1, [X19,#0x270]                                       ; +0x24, 0xa262a4\nADRP            X1, #_ZTV18CharacterColorPage_ptr@PAGE                 ; +0x28, 0xa262a8\nSTR             XZR, [X19,#0x220]                                      ; +0x2c, 0xa262ac\nMOV             X0, X19; this                                          ; +0x30, 0xa262b0\nSTR             XZR, [X19,#0x228]                                      ; +0x34, 0xa262b4\nSTR             XZR, [X19,#0x230]                                      ; +0x38, 0xa262b8\nSTRB            WZR, [X19,#0x238]                                      ; +0x3c, 0xa262bc\nSTR             XZR, [X19,#0x240]                                      ; +0x40, 0xa262c0\nSTR             WZR, [X19,#0x248]                                      ; +0x44, 0xa262c4\nSTRB            WZR, [X19,#0x24C]                                      ; +0x48, 0xa262c8\nSTR             XZR, [X19,#0x250]                                      ; +0x4c, 0xa262cc\nSTR             XZR, [X19,#0x258]                                      ; +0x50, 0xa262d0\nSTR             XZR, [X19,#0x260]                                      ; +0x54, 0xa262d4\nSTRB            WZR, [X19,#0x26C]                                      ; +0x58, 0xa262d8\nSTRB            WZR, [X19,#0x26D]                                      ; +0x5c, 0xa262dc\nSTRB            WZR, [X19,#0x274]                                      ; +0x60, 0xa262e0\nLDR             X1, [X1,#_ZTV18CharacterColorPage_ptr@PAGEOFF]; `vtable for'CharacterColorPage ... ; +0x64, 0xa262e4\nSTR             WZR, [X19,#0x278]                                      ; +0x68, 0xa262e8\nADD             X8, X1, #0x10                                          ; +0x6c, 0xa262ec\nADD             X7, X1, #0x530                                         ; +0x70, 0xa262f0\nADD             X6, X1, #0x5A0                                         ; +0x74, 0xa262f4\nADD             X5, X1, #0x5B8                                         ; +0x78, 0xa262f8\nADD             X4, X1, #0x5D8                                         ; +0x7c, 0xa262fc\nADD             X3, X1, #0x5F8                                         ; +0x80, 0xa26300\nADD             X2, X1, #0x620                                         ; +0x84, 0xa26304\nSTR             X8, [X19]                                              ; +0x88, 0xa26308\nADD             X1, X1, #0x6A0                                         ; +0x8c, 0xa2630c\nSTR             X7, [X19,#0x140]                                       ; +0x90, 0xa26310\nSTR             X6, [X19,#0x148]                                       ; +0x94, 0xa26314\nSTR             X5, [X19,#0x150]                                       ; +0x98, 0xa26318\nSTR             X4, [X19,#0x158]                                       ; +0x9c, 0xa2631c\nSTR             X3, [X19,#0x160]                                       ; +0xa0, 0xa26320\nSTR             X2, [X19,#0x198]                                       ; +0xa4, 0xa26324\nSTR             X1, [X19,#0x1B0]                                       ; +0xa8, 0xa26328\nSTR             XZR, [X19,#0x288]                                      ; +0xac, 0xa2632c\nSTR             XZR, [X19,#0x290]                                      ; +0xb0, 0xa26330\nSTR             XZR, [X19,#0x298]                                      ; +0xb4, 0xa26334\nSTR             XZR, [X19,#0x2A0]                                      ; +0xb8, 0xa26338\nSTR             XZR, [X19,#0x2A8]                                      ; +0xbc, 0xa2633c\nSTR             XZR, [X19,#0x2B0]                                      ; +0xc0, 0xa26340\nSTR             XZR, [X19,#0x2B8]                                      ; +0xc4, 0xa26344\nBL              _ZN18CharacterColorPage4initEv; CharacterColorPage::init(void) ; +0xc8, 0xa26348\nUXTB            W0, W0                                                 ; +0xcc, 0xa2634c\nCBZ             W0, loc_A2636C                                         ; +0xd0, 0xa26350\nMOV             X0, X19; this                                          ; +0xd4, 0xa26354\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xd8, 0xa26358\nMOV             X0, X19                                                ; +0xdc, 0xa2635c\nLDP             X19, X20, [SP,#var_s10]                                ; +0xe0, 0xa26360\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xe4, 0xa26364\nRET                                                                    ; +0xe8, 0xa26368\nLDR             X1, [X19]                                              ; +0xec, 0xa2636c\nMOV             X0, X19                                                ; +0xf0, 0xa26370\nMOV             X19, #0                                                ; +0xf4, 0xa26374\nLDR             X1, [X1,#0x10]                                         ; +0xf8, 0xa26378\nBLR             X1                                                     ; +0xfc, 0xa2637c\nMOV             X0, X19                                                ; +0x100, 0xa26380\nLDP             X19, X20, [SP,#var_s10]                                ; +0x104, 0xa26384\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x108, 0xa26388\nRET                                                                    ; +0x10c, 0xa2638c\nMOV             X20, X0                                                ; +0x110, 0xa26390\nMOV             X0, X19; p                                             ; +0x114, 0xa26394\nBL              _ZdlPv; operator delete(void *)                        ; +0x118, 0xa26398\nMOV             X0, X20                                                ; +0x11c, 0xa2639c\nBL              _Unwind_Resume                                         ; +0x120, 0xa263a0", "xrefs": ["GJGarageLayer::onPaint @ 0x78fd84", "<???> @ 0x949f8"], "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"}