{"type": "func", "start": 4296237636, "end": 4296237840, "name": "GJFollowCommandLayer::create", "pseudocode": "// \n// GJFollowCommandLayer::create from 0x100136244 to 0x100136310 (204 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editObject @ 0x1003e5074\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 *__fastcall GJFollowCommandLayer::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  GJFollowCommandLayer *v4; // x19\n\n  v4 = (GJFollowCommandLayer *)operator new(0x410u);\n  SetupTriggerPopup::SetupTriggerPopup(v4);\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJFollowCommandLayer_vtbl *)&off_100793150;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100793720;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100793790;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007937A8;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007937C8;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007937E8;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100793810;\n  v4->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100793890;\n  v4->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_1007938B0;\n  v4->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_1007938F8;\n  v4->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_100793910;\n  __asm { FMOV            V0.2S, #1.0 }\n  *(_QWORD *)&v4->m_xMod = _D0;\n  if ( GJFollowCommandLayer::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJFollowCommandLayer *))v4->~GJFollowCommandLayer_0)(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; GJFollowCommandLayer::create from 0x100136244 to 0x100136310 (204 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editObject @ 0x1003e5074\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100136244\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100136248\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10013624c\nADD             X29, SP, #0x20                                         ; +0xc, 0x100136250\nMOV             X20, X1                                                ; +0x10, 0x100136254\nMOV             X21, X0                                                ; +0x14, 0x100136258\nMOV             W0, #0x410; __sz                                       ; +0x18, 0x10013625c\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x100136260\nMOV             X19, X0                                                ; +0x20, 0x100136264\nBL              SetupTriggerPopup__SetupTriggerPopup                   ; +0x24, 0x100136268\nADRL            X8, off_100793150                                      ; +0x28, 0x10013626c\nSTR             X8, [X19]                                              ; +0x30, 0x100136274\nADD             X9, X8, #(off_100793720 - 0x100793150)                 ; +0x34, 0x100136278\nADD             X10, X8, #(off_100793790 - 0x100793150)                ; +0x38, 0x10013627c\nSTP             X9, X10, [X19,#0x140]                                  ; +0x3c, 0x100136280\nADD             X9, X8, #(off_1007937A8 - 0x100793150)                 ; +0x40, 0x100136284\nADD             X10, X8, #(off_1007937C8 - 0x100793150)                ; +0x44, 0x100136288\nSTP             X9, X10, [X19,#0x150]                                  ; +0x48, 0x10013628c\nADD             X9, X8, #(off_1007937E8 - 0x100793150)                 ; +0x4c, 0x100136290\nSTR             X9, [X19,#0x160]                                       ; +0x50, 0x100136294\nADD             X9, X8, #(off_100793810 - 0x100793150)                 ; +0x54, 0x100136298\nSTR             X9, [X19,#0x198]                                       ; +0x58, 0x10013629c\nADD             X9, X8, #(off_100793890 - 0x100793150)                 ; +0x5c, 0x1001362a0\nSTR             X9, [X19,#0x1B0]                                       ; +0x60, 0x1001362a4\nADD             X9, X8, #(off_1007938B0 - 0x100793150)                 ; +0x64, 0x1001362a8\nSTR             X9, [X19,#0x278]                                       ; +0x68, 0x1001362ac\nADD             X9, X8, #(off_1007938F8 - 0x100793150)                 ; +0x6c, 0x1001362b0\nSTR             X9, [X19,#0x280]                                       ; +0x70, 0x1001362b4\nADD             X8, X8, #(off_100793910 - 0x100793150)                 ; +0x74, 0x1001362b8\nSTR             X8, [X19,#0x288]                                       ; +0x78, 0x1001362bc\nFMOV            V0.2S, #1.0                                            ; +0x7c, 0x1001362c0\nSTR             D0, [X19,#0x3E8]                                       ; +0x80, 0x1001362c4\nMOV             X0, X19                                                ; +0x84, 0x1001362c8\nMOV             X1, X21                                                ; +0x88, 0x1001362cc\nMOV             X2, X20                                                ; +0x8c, 0x1001362d0\nBL              GJFollowCommandLayer__init                             ; +0x90, 0x1001362d4\nCBZ             W0, loc_1001362E8                                      ; +0x94, 0x1001362d8\nMOV             X0, X19                                                ; +0x98, 0x1001362dc\nBL              cocos2d__CCObject__autorelease                         ; +0x9c, 0x1001362e0\nB               loc_1001362FC                                          ; +0xa0, 0x1001362e4\nLDR             X8, [X19]                                              ; +0xa4, 0x1001362e8\nLDR             X8, [X8,#0x10]                                         ; +0xa8, 0x1001362ec\nMOV             X0, X19                                                ; +0xac, 0x1001362f0\nBLR             X8                                                     ; +0xb0, 0x1001362f4\nMOV             X19, #0                                                ; +0xb4, 0x1001362f8\nMOV             X0, X19                                                ; +0xb8, 0x1001362fc\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xbc, 0x100136300\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xc0, 0x100136304\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xc4, 0x100136308\nRET                                                                    ; +0xc8, 0x10013630c", "xrefs": ["EditorUI::editObject @ 0x1003e5074"], "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"}