{"type": "func", "start": 4298694908, "end": 4298695096, "name": "EventLinkTrigger::create", "pseudocode": "// \n// EventLinkTrigger::create from 0x10038e0fc to 0x10038e1b8 (188 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x1002548d0\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\nEventLinkTrigger *__fastcall EventLinkTrigger::create()\n{\n  char *v0; // x19\n\n  v0 = (char *)operator new(0x758u);\n  EffectGameObject::EffectGameObject((EffectGameObject *)v0);\n  *(_QWORD *)v0 = off_1007F7908;\n  *((_QWORD *)v0 + 40) = off_1007F8050;\n  *((_QWORD *)v0 + 43) = off_1007F80D0;\n  *(_OWORD *)(v0 + 1848) = 0u;\n  *((_QWORD *)v0 + 230) = v0 + 1848;\n  v0[1864] = 0;\n  *(_QWORD *)(v0 + 1868) = 0;\n  if ( EnhancedGameObject::init((EnhancedGameObject *)v0, \"edit_eEventLinkBtn_001.png\") )\n  {\n    *((_DWORD *)v0 + 312) = 1;\n    v0[1450] = -1;\n    *((_WORD *)v0 + 724) = -1;\n    *((_DWORD *)v0 + 363) = 1056964608;\n    v0[1636] = 1;\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (EventLinkTrigger *)v0;\n}", "assembly": "; \n; EventLinkTrigger::create from 0x10038e0fc to 0x10038e1b8 (188 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x1002548d0\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10038e0fc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10038e100\nADD             X29, SP, #0x10                                         ; +0x8, 0x10038e104\nMOV             W0, #0x758; __sz                                       ; +0xc, 0x10038e108\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x10038e10c\nMOV             X19, X0                                                ; +0x14, 0x10038e110\nBL              EffectGameObject__EffectGameObject                     ; +0x18, 0x10038e114\nADRL            X8, off_1007F7908                                      ; +0x1c, 0x10038e118\nSTR             X8, [X19]                                              ; +0x24, 0x10038e120\nADD             X9, X8, #(off_1007F8050 - 0x1007F7908)                 ; +0x28, 0x10038e124\nSTR             X9, [X19,#0x140]                                       ; +0x2c, 0x10038e128\nADD             X8, X8, #(off_1007F80D0 - 0x1007F7908)                 ; +0x30, 0x10038e12c\nSTR             X8, [X19,#0x158]                                       ; +0x34, 0x10038e130\nADD             X8, X19, #0x738                                        ; +0x38, 0x10038e134\nMOVI            V0.16B, #0                                             ; +0x3c, 0x10038e138\nSTR             Q0, [X8]                                               ; +0x40, 0x10038e13c\nSTR             X8, [X19,#0x730]                                       ; +0x44, 0x10038e140\nSTRB            WZR, [X19,#0x748]                                      ; +0x48, 0x10038e144\nADD             X8, X19, #0x74C                                        ; +0x4c, 0x10038e148\nSTR             XZR, [X8]                                              ; +0x50, 0x10038e14c\nADRL            X1, aEditEeventlink; \"edit_eEventLinkBtn_001.png\"      ; +0x54, 0x10038e150\nMOV             X0, X19                                                ; +0x5c, 0x10038e158\nBL              EnhancedGameObject__init                               ; +0x60, 0x10038e15c\nCBZ             W0, loc_10038E194                                      ; +0x64, 0x10038e160\nMOV             W8, #1                                                 ; +0x68, 0x10038e164\nSTR             W8, [X19,#0x4E0]                                       ; +0x6c, 0x10038e168\nMOV             W9, #0xFF                                              ; +0x70, 0x10038e16c\nSTRB            W9, [X19,#0x5AA]                                       ; +0x74, 0x10038e170\nMOV             W9, #0xFFFF                                            ; +0x78, 0x10038e174\nSTRH            W9, [X19,#0x5A8]                                       ; +0x7c, 0x10038e178\nMOV             W9, #0x3F000000                                        ; +0x80, 0x10038e17c\nSTR             W9, [X19,#0x5AC]                                       ; +0x84, 0x10038e180\nSTRB            W8, [X19,#0x664]                                       ; +0x88, 0x10038e184\nMOV             X0, X19                                                ; +0x8c, 0x10038e188\nBL              cocos2d__CCObject__autorelease                         ; +0x90, 0x10038e18c\nB               loc_10038E1A8                                          ; +0x94, 0x10038e190\nLDR             X8, [X19]                                              ; +0x98, 0x10038e194\nLDR             X8, [X8,#0x10]                                         ; +0x9c, 0x10038e198\nMOV             X0, X19                                                ; +0xa0, 0x10038e19c\nBLR             X8                                                     ; +0xa4, 0x10038e1a0\nMOV             X19, #0                                                ; +0xa8, 0x10038e1a4\nMOV             X0, X19                                                ; +0xac, 0x10038e1a8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb0, 0x10038e1ac\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb4, 0x10038e1b0\nRET                                                                    ; +0xb8, 0x10038e1b4", "xrefs": ["GameObject::createWithKey @ 0x1002548d0"], "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"}