{"type": "func", "start": 4296403404, "end": 4296403620, "name": "GJPFollowCommandLayer::create", "pseudocode": "// \n// GJPFollowCommandLayer::create from 0x10015e9cc to 0x10015eaa4 (216 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editObject @ 0x1003e4fc0\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\nGJPFollowCommandLayer *__fastcall GJPFollowCommandLayer::create(EffectGameObject *a1, cocos2d::CCArray *a2)\n{\n  char *v4; // x19\n\n  v4 = (char *)operator new(0x418u);\n  SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v4);\n  *(_QWORD *)v4 = &off_10079B330;\n  *((_QWORD *)v4 + 40) = off_10079B900;\n  *((_QWORD *)v4 + 41) = &off_10079B970;\n  *((_QWORD *)v4 + 42) = off_10079B988;\n  *((_QWORD *)v4 + 43) = off_10079B9A8;\n  *((_QWORD *)v4 + 44) = off_10079B9C8;\n  *((_QWORD *)v4 + 51) = off_10079B9F0;\n  *((_QWORD *)v4 + 54) = off_10079BA70;\n  *((_QWORD *)v4 + 79) = off_10079BA90;\n  *((_QWORD *)v4 + 80) = &off_10079BAD8;\n  *((_QWORD *)v4 + 81) = off_10079BAF0;\n  *(_OWORD *)(v4 + 984) = 0u;\n  *(_OWORD *)(v4 + 1016) = 0u;\n  if ( GJPFollowCommandLayer::init((GJPFollowCommandLayer *)v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);\n    return nullptr;\n  }\n  return (GJPFollowCommandLayer *)v4;\n}", "assembly": "; \n; GJPFollowCommandLayer::create from 0x10015e9cc to 0x10015eaa4 (216 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editObject @ 0x1003e4fc0\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, 0x10015e9cc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10015e9d0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10015e9d4\nADD             X29, SP, #0x20                                         ; +0xc, 0x10015e9d8\nMOV             X20, X1                                                ; +0x10, 0x10015e9dc\nMOV             X21, X0                                                ; +0x14, 0x10015e9e0\nMOV             W0, #0x418; __sz                                       ; +0x18, 0x10015e9e4\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x10015e9e8\nMOV             X19, X0                                                ; +0x20, 0x10015e9ec\nBL              SetupTriggerPopup__SetupTriggerPopup                   ; +0x24, 0x10015e9f0\nADRL            X8, off_10079B330                                      ; +0x28, 0x10015e9f4\nSTR             X8, [X19]                                              ; +0x30, 0x10015e9fc\nADD             X9, X8, #(off_10079B900 - 0x10079B330)                 ; +0x34, 0x10015ea00\nADD             X10, X8, #(off_10079B970 - 0x10079B330)                ; +0x38, 0x10015ea04\nSTP             X9, X10, [X19,#0x140]                                  ; +0x3c, 0x10015ea08\nADD             X9, X8, #(off_10079B988 - 0x10079B330)                 ; +0x40, 0x10015ea0c\nADD             X10, X8, #(off_10079B9A8 - 0x10079B330)                ; +0x44, 0x10015ea10\nSTP             X9, X10, [X19,#0x150]                                  ; +0x48, 0x10015ea14\nADD             X9, X8, #(off_10079B9C8 - 0x10079B330)                 ; +0x4c, 0x10015ea18\nSTR             X9, [X19,#0x160]                                       ; +0x50, 0x10015ea1c\nADD             X9, X8, #(off_10079B9F0 - 0x10079B330)                 ; +0x54, 0x10015ea20\nSTR             X9, [X19,#0x198]                                       ; +0x58, 0x10015ea24\nADD             X9, X8, #(off_10079BA70 - 0x10079B330)                 ; +0x5c, 0x10015ea28\nSTR             X9, [X19,#0x1B0]                                       ; +0x60, 0x10015ea2c\nADD             X9, X8, #(off_10079BA90 - 0x10079B330)                 ; +0x64, 0x10015ea30\nSTR             X9, [X19,#0x278]                                       ; +0x68, 0x10015ea34\nADD             X9, X8, #(off_10079BAD8 - 0x10079B330)                 ; +0x6c, 0x10015ea38\nSTR             X9, [X19,#0x280]                                       ; +0x70, 0x10015ea3c\nADD             X8, X8, #(off_10079BAF0 - 0x10079B330)                 ; +0x74, 0x10015ea40\nSTR             X8, [X19,#0x288]                                       ; +0x78, 0x10015ea44\nADD             X8, X19, #0x3D8                                        ; +0x7c, 0x10015ea48\nADD             X9, X19, #0x3F8                                        ; +0x80, 0x10015ea4c\nMOVI            V0.16B, #0                                             ; +0x84, 0x10015ea50\nSTR             Q0, [X8]                                               ; +0x88, 0x10015ea54\nSTR             Q0, [X9]                                               ; +0x8c, 0x10015ea58\nMOV             X0, X19                                                ; +0x90, 0x10015ea5c\nMOV             X1, X21                                                ; +0x94, 0x10015ea60\nMOV             X2, X20                                                ; +0x98, 0x10015ea64\nBL              GJPFollowCommandLayer__init                            ; +0x9c, 0x10015ea68\nCBZ             W0, loc_10015EA7C                                      ; +0xa0, 0x10015ea6c\nMOV             X0, X19                                                ; +0xa4, 0x10015ea70\nBL              cocos2d__CCObject__autorelease                         ; +0xa8, 0x10015ea74\nB               loc_10015EA90                                          ; +0xac, 0x10015ea78\nLDR             X8, [X19]                                              ; +0xb0, 0x10015ea7c\nLDR             X8, [X8,#0x10]                                         ; +0xb4, 0x10015ea80\nMOV             X0, X19                                                ; +0xb8, 0x10015ea84\nBLR             X8                                                     ; +0xbc, 0x10015ea88\nMOV             X19, #0                                                ; +0xc0, 0x10015ea8c\nMOV             X0, X19                                                ; +0xc4, 0x10015ea90\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0xc8, 0x10015ea94\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xcc, 0x10015ea98\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xd0, 0x10015ea9c\nRET                                                                    ; +0xd4, 0x10015eaa0", "xrefs": ["EditorUI::editObject @ 0x1003e4fc0"], "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"}