{"type": "func", "start": 5097428, "end": 5097852, "name": "GJFollowCommandLayer::create", "pseudocode": "// \n// GJFollowCommandLayer::create from 0x4dc7d4 to 0x4dc97c (424 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editObject @ 0x38029a\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\nGJFollowCommandLayer *GJFollowCommandLayer::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  GJFollowCommandLayer *v4; // r4\n  GJFollowCommandLayer_vtbl *v5; // r3\n  int *v6; // r0\n\n  v4 = (GJFollowCommandLayer *)operator new(0x2DCu);\n  cocos2d::CCLayerColor::CCLayerColor(v4);\n  v4->m_buttonMenu = nullptr;\n  v4->m_alertProtocol = nullptr;\n  v4->m_scene = nullptr;\n  v4->m_reverseKeyBack = 0;\n  v4->m_mainLayer = nullptr;\n  v4->m_ZOrder = 0;\n  v4->m_noElasticity = 0;\n  v4->m_button1 = nullptr;\n  v4->m_button2 = nullptr;\n  v4->m_scrollingLayer = nullptr;\n  v4->m_controlConnected = -1;\n  v4->m_containsBorder = 0;\n  v4->m_noAction = 0;\n  v4->m_joystickConnected = -1;\n  v4->m_forcePrioRegistered = 0;\n  v4->m_width = 0.0;\n  v4->m_height = 0.0;\n  v4->m_gameObject = nullptr;\n  v4->m_gameObjects = nullptr;\n  v4->m_touchTriggered = 0;\n  v4->m_spawnTriggered = 0;\n  v4->m_touchToggle = nullptr;\n  v4->m_spawnToggle = nullptr;\n  v4->m_multiTriggerContainer = nullptr;\n  v4->m_multiTriggered = 0;\n  v4->m_disableTextDelegate = 0;\n  v4->m_valueToggles = nullptr;\n  v4->m_inputNodes = nullptr;\n  v4->m_valueControls = nullptr;\n  v4->m_customValueToggles = nullptr;\n  v4->m_disableButtons = nullptr;\n  v4->m_easingLabel = nullptr;\n  v4->m_easingRateLabel = nullptr;\n  v4->m_easingRateButton = nullptr;\n  v4->m_easingType = 0;\n  v4->m_easingRate = 0.0;\n  v4->m_inputLabels = nullptr;\n  v4->m_triggerValues = nullptr;\n  v4->m_minSliderValues = nullptr;\n  v4->m_maxSliderValues = nullptr;\n  memset(&v4->m_shouldLimitValues.m_header, 0, sizeof(v4->m_shouldLimitValues.m_header));\n  v4->m_shouldLimitValues.m_nodecount = 0;\n  v4->m_disableSliderDelegate = 0;\n  v4->m_effectObjects = 0;\n  v4->m_pageContainers = nullptr;\n  v4->m_page = 0;\n  v4->m_easingControlScale = 1.0;\n  v4->m_groupContainers = nullptr;\n  v4->m_customEasingTags = nullptr;\n  v4->m_customEasingLabels = nullptr;\n  v4->m_customEasingButtons = nullptr;\n  v4->m_customEasingScales = nullptr;\n  v4->m_disabledEasingButtons = nullptr;\n  v4->m_prevButton = nullptr;\n  v4->m_nextButton = nullptr;\n  v4->m_hideAll = 0;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJFollowCommandLayer_vtbl *)&off_A77C60;\n  v4->m_xMod = 1.0;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A77F48;\n  v4->m_yMod = 1.0;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A77F80;\n  v4->m_shouldLimitValues.m_header.m_left = &v4->m_shouldLimitValues.m_header;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A77F8C;\n  v4->m_shouldLimitValues.m_header.m_right = &v4->m_shouldLimitValues.m_header;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A77F9C;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A77FAC;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A77FC0;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A78000;\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A78010;\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A78034;\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A78040;\n  if ( GJFollowCommandLayer::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    v5 = v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v6 = (int *)v4;\n    v4 = nullptr;\n    v5->~GJFollowCommandLayer_0((GJFollowCommandLayer *)v6);\n  }\n  return v4;\n}", "assembly": "; \n; GJFollowCommandLayer::create from 0x4dc7d4 to 0x4dc97c (424 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editObject @ 0x38029a\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\nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x4dc7d4\nMOV             R8, R0                                                 ; +0x4, 0x4dc7d8\nMOV.W           R0, #0x2DC; unsigned int                               ; +0x6, 0x4dc7da\nMOV             R7, R1                                                 ; +0xa, 0x4dc7de\nBL              _Znwj; operator new(uint)                              ; +0xc, 0x4dc7e0\nMOV             R4, R0                                                 ; +0x10, 0x4dc7e4\nBL              _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x12, 0x4dc7e6\nADD.W           R6, R4, #0x260                                         ; +0x16, 0x4dc7ea\nMOVS            R5, #0                                                 ; +0x1a, 0x4dc7ee\nMOV.W           R3, #0xFFFFFFFF                                        ; +0x1c, 0x4dc7f0\nMOV             R1, R5; int                                            ; +0x20, 0x4dc7f4\nSTR.W           R5, [R4,#0x1B8]                                        ; +0x22, 0x4dc7f6\nMOVS            R2, #0x10; size_t                                      ; +0x26, 0x4dc7fa\nSTR.W           R5, [R4,#0x1BC]                                        ; +0x28, 0x4dc7fc\nMOV             R0, R6; void *                                         ; +0x2c, 0x4dc800\nSTR.W           R5, [R4,#0x1C0]                                        ; +0x2e, 0x4dc802\nSTRB.W          R5, [R4,#0x1C4]                                        ; +0x32, 0x4dc806\nSTR.W           R5, [R4,#0x1C8]                                        ; +0x36, 0x4dc80a\nSTR.W           R5, [R4,#0x1CC]                                        ; +0x3a, 0x4dc80e\nSTRB.W          R5, [R4,#0x1D0]                                        ; +0x3e, 0x4dc812\nSTR.W           R5, [R4,#0x1D4]                                        ; +0x42, 0x4dc816\nSTR.W           R5, [R4,#0x1D8]                                        ; +0x46, 0x4dc81a\nSTR.W           R5, [R4,#0x1DC]                                        ; +0x4a, 0x4dc81e\nSTR.W           R3, [R4,#0x1E0]                                        ; +0x4e, 0x4dc822\nSTRB.W          R5, [R4,#0x1E4]                                        ; +0x52, 0x4dc826\nSTRB.W          R5, [R4,#0x1E5]                                        ; +0x56, 0x4dc82a\nSTR.W           R3, [R4,#0x1E8]                                        ; +0x5a, 0x4dc82e\nMOVS            R3, #0                                                 ; +0x5e, 0x4dc832\nSTRB.W          R5, [R4,#0x1EC]                                        ; +0x60, 0x4dc834\nSTR.W           R3, [R4,#0x218]                                        ; +0x64, 0x4dc838\nSTR.W           R3, [R4,#0x21C]                                        ; +0x68, 0x4dc83c\nSTR.W           R5, [R4,#0x1FC]                                        ; +0x6c, 0x4dc840\nSTR.W           R5, [R4,#0x200]                                        ; +0x70, 0x4dc844\nSTRB.W          R5, [R4,#0x204]                                        ; +0x74, 0x4dc848\nSTRB.W          R5, [R4,#0x205]                                        ; +0x78, 0x4dc84c\nSTR.W           R5, [R4,#0x208]                                        ; +0x7c, 0x4dc850\nSTR.W           R5, [R4,#0x20C]                                        ; +0x80, 0x4dc854\nSTR.W           R5, [R4,#0x210]                                        ; +0x84, 0x4dc858\nSTRB.W          R5, [R4,#0x214]                                        ; +0x88, 0x4dc85c\nSTRB.W          R5, [R4,#0x220]                                        ; +0x8c, 0x4dc860\nSTR.W           R5, [R4,#0x224]                                        ; +0x90, 0x4dc864\nSTR.W           R5, [R4,#0x228]                                        ; +0x94, 0x4dc868\nSTR.W           R5, [R4,#0x22C]                                        ; +0x98, 0x4dc86c\nSTR.W           R5, [R4,#0x230]                                        ; +0x9c, 0x4dc870\nSTR.W           R5, [R4,#0x234]                                        ; +0xa0, 0x4dc874\nSTR.W           R5, [R4,#0x238]                                        ; +0xa4, 0x4dc878\nSTR.W           R5, [R4,#0x23C]                                        ; +0xa8, 0x4dc87c\nSTR.W           R5, [R4,#0x240]                                        ; +0xac, 0x4dc880\nSTR.W           R5, [R4,#0x244]                                        ; +0xb0, 0x4dc884\nSTR.W           R3, [R4,#0x248]                                        ; +0xb4, 0x4dc888\nSTR.W           R5, [R4,#0x24C]                                        ; +0xb8, 0x4dc88c\nSTR.W           R5, [R4,#0x250]                                        ; +0xbc, 0x4dc890\nSTR.W           R5, [R4,#0x254]                                        ; +0xc0, 0x4dc894\nSTR.W           R5, [R4,#0x258]                                        ; +0xc4, 0x4dc898\nBLX             memset                                                 ; +0xc8, 0x4dc89c\nLDR             R3, =(_ZTV20GJFollowCommandLayer_ptr - 0x4DC8AE)       ; +0xcc, 0x4dc8a0\nMOV.W           R2, #0x3F800000                                        ; +0xce, 0x4dc8a2\nSTR.W           R5, [R4,#0x270]                                        ; +0xd2, 0x4dc8a6\nADD             R3, PC; _ZTV20GJFollowCommandLayer_ptr                 ; +0xd6, 0x4dc8aa\nLDR             R3, [R3]; `vtable for'GJFollowCommandLayer ...         ; +0xd8, 0x4dc8ac\nSTRB.W          R5, [R4,#0x274]                                        ; +0xda, 0x4dc8ae\nADD.W           R1, R3, #8                                             ; +0xde, 0x4dc8b2\nSTRB.W          R5, [R4,#0x275]                                        ; +0xe2, 0x4dc8b6\nSTR.W           R5, [R4,#0x278]                                        ; +0xe6, 0x4dc8ba\nMOV             R0, R4; this                                           ; +0xea, 0x4dc8be\nSTR.W           R5, [R4,#0x27C]                                        ; +0xec, 0x4dc8c0\nSTR.W           R2, [R4,#0x280]                                        ; +0xf0, 0x4dc8c4\nSTR.W           R5, [R4,#0x284]                                        ; +0xf4, 0x4dc8c8\nSTR.W           R5, [R4,#0x288]                                        ; +0xf8, 0x4dc8cc\nSTR.W           R5, [R4,#0x28C]                                        ; +0xfc, 0x4dc8d0\nSTR.W           R5, [R4,#0x290]                                        ; +0x100, 0x4dc8d4\nSTR.W           R5, [R4,#0x294]                                        ; +0x104, 0x4dc8d8\nSTR.W           R5, [R4,#0x298]                                        ; +0x108, 0x4dc8dc\nSTR.W           R5, [R4,#0x29C]                                        ; +0x10c, 0x4dc8e0\nSTR.W           R5, [R4,#0x2A0]                                        ; +0x110, 0x4dc8e4\nSTRB.W          R5, [R4,#0x2A4]                                        ; +0x114, 0x4dc8e8\nSTR             R1, [R4]                                               ; +0x118, 0x4dc8ec\nADD.W           R1, R3, #0x2F0                                         ; +0x11a, 0x4dc8ee\nSTR.W           R2, [R4,#0x2C4]                                        ; +0x11e, 0x4dc8f2\nSTR.W           R1, [R4,#0x108]                                        ; +0x122, 0x4dc8f6\nADD.W           R1, R3, #0x328                                         ; +0x126, 0x4dc8fa\nSTR.W           R2, [R4,#0x2C8]                                        ; +0x12a, 0x4dc8fe\nMOV             R2, R7; cocos2d::CCArray *                             ; +0x12e, 0x4dc902\nSTR.W           R1, [R4,#0x10C]                                        ; +0x130, 0x4dc904\nADD.W           R1, R3, #0x334                                         ; +0x134, 0x4dc908\nSTR.W           R6, [R4,#0x268]                                        ; +0x138, 0x4dc90c\nSTR.W           R1, [R4,#0x110]                                        ; +0x13c, 0x4dc910\nADD.W           R1, R3, #0x344                                         ; +0x140, 0x4dc914\nSTR.W           R6, [R4,#0x26C]                                        ; +0x144, 0x4dc918\nSTR.W           R1, [R4,#0x114]                                        ; +0x148, 0x4dc91c\nADD.W           R1, R3, #0x354                                         ; +0x14c, 0x4dc920\nSTR.W           R1, [R4,#0x118]                                        ; +0x150, 0x4dc924\nADD.W           R1, R3, #0x368                                         ; +0x154, 0x4dc928\nSTR.W           R1, [R4,#0x13C]                                        ; +0x158, 0x4dc92c\nADD.W           R1, R3, #0x3A8                                         ; +0x15c, 0x4dc930\nSTR.W           R1, [R4,#0x14C]                                        ; +0x160, 0x4dc934\nADD.W           R1, R3, #0x3B8                                         ; +0x164, 0x4dc938\nSTR.W           R1, [R4,#0x1F0]                                        ; +0x168, 0x4dc93c\nADD.W           R1, R3, #0x3DC                                         ; +0x16c, 0x4dc940\nADD.W           R3, R3, #0x3E8                                         ; +0x170, 0x4dc944\nSTR.W           R1, [R4,#0x1F4]                                        ; +0x174, 0x4dc948\nSTR.W           R3, [R4,#0x1F8]                                        ; +0x178, 0x4dc94c\nMOV             R1, R8; EffectGameObject *                             ; +0x17c, 0x4dc950\nBL              _ZN20GJFollowCommandLayer4initEP16EffectGameObjectPN7cocos2d7CCArrayE; GJFollowCommandLayer::init(EffectGameObject *,cocos2d::CCArray *) ; +0x17e, 0x4dc952\nMOV             R5, R0                                                 ; +0x182, 0x4dc956\nCBZ             R0, loc_4DC96C                                         ; +0x184, 0x4dc958\nMOV             R0, R4; this                                           ; +0x186, 0x4dc95a\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x188, 0x4dc95c\nB               loc_4DC976                                             ; +0x18c, 0x4dc960\nMOV             R0, R4; p                                              ; +0x18e, 0x4dc962\nBL              _ZdlPv; operator delete(void *)                        ; +0x190, 0x4dc964\nBL              __cxa_end_cleanup                                      ; +0x194, 0x4dc968\nLDR             R3, [R4]                                               ; +0x198, 0x4dc96c\nMOV             R0, R4                                                 ; +0x19a, 0x4dc96e\nMOV             R4, R5                                                 ; +0x19c, 0x4dc970\nLDR             R3, [R3,#8]                                            ; +0x19e, 0x4dc972\nBLX             R3                                                     ; +0x1a0, 0x4dc974\nMOV             R0, R4                                                 ; +0x1a2, 0x4dc976\nPOP.W           {R4-R8,PC}                                             ; +0x1a4, 0x4dc978", "xrefs": ["EditorUI::editObject @ 0x38029a"], "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"}