{"type": "func", "start": 5153788, "end": 5153904, "name": "EventLinkTrigger::create", "pseudocode": "// \n// EventLinkTrigger::create from 0x4ea3fc to 0x4ea470 (116 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x45bbe0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:51:07 +0000\n// \n\nEffectGameObject *__fastcall EventLinkTrigger::create(EventLinkTrigger *this)\n{\n  EffectGameObject *v1; // r4\n  int v2; // r3\n  int *v3; // r0\n\n  v1 = (EffectGameObject *)operator new(0x688u);\n  EffectGameObject::EffectGameObject(v1);\n  *(_DWORD *)v1 = &off_CA1AB0;\n  *((_DWORD *)v1 + 66) = &off_CA1E5C;\n  *((_DWORD *)v1 + 70) = &off_CA1E9C;\n  *((_DWORD *)v1 + 412) = (char *)v1 + 1652;\n  *((_DWORD *)v1 + 413) = 0;\n  *((_DWORD *)v1 + 414) = 0;\n  *((_BYTE *)v1 + 1660) = 0;\n  *((_DWORD *)v1 + 416) = 0;\n  *((_DWORD *)v1 + 417) = 0;\n  if ( EventLinkTrigger::init(v1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    v2 = *(_DWORD *)v1;\n    v3 = (int *)v1;\n    v1 = nullptr;\n    (*(void (__fastcall **)(int *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; EventLinkTrigger::create from 0x4ea3fc to 0x4ea470 (116 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x45bbe0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:51:07 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4ea3fc\nMOV.W           R0, #0x688; unsigned int                               ; +0x2, 0x4ea3fe\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x4ea402\nMOV             R4, R0                                                 ; +0xa, 0x4ea406\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xc, 0x4ea408\nLDR             R3, =(_ZTV16EventLinkTrigger_ptr - 0x4EA414)           ; +0x10, 0x4ea40c\nMOV             R0, R4; this                                           ; +0x12, 0x4ea40e\nADD             R3, PC; _ZTV16EventLinkTrigger_ptr                     ; +0x14, 0x4ea410\nLDR             R3, [R3]; `vtable for'EventLinkTrigger ...             ; +0x16, 0x4ea412\nADD.W           R2, R3, #8                                             ; +0x18, 0x4ea414\nSTR             R2, [R4]                                               ; +0x1c, 0x4ea418\nADD.W           R2, R3, #0x3B4                                         ; +0x1e, 0x4ea41a\nADD.W           R3, R3, #0x3F4                                         ; +0x22, 0x4ea41e\nSTR.W           R2, [R4,#0x108]                                        ; +0x26, 0x4ea422\nADDW            R2, R4, #0x674                                         ; +0x2a, 0x4ea426\nSTR.W           R3, [R4,#0x118]                                        ; +0x2e, 0x4ea42a\nMOVS            R3, #0                                                 ; +0x32, 0x4ea42e\nSTR.W           R2, [R4,#0x670]                                        ; +0x34, 0x4ea430\nSTR.W           R3, [R4,#0x674]                                        ; +0x38, 0x4ea434\nSTR.W           R3, [R4,#0x678]                                        ; +0x3c, 0x4ea438\nSTRB.W          R3, [R4,#0x67C]                                        ; +0x40, 0x4ea43c\nSTR.W           R3, [R4,#0x680]                                        ; +0x44, 0x4ea440\nSTR.W           R3, [R4,#0x684]                                        ; +0x48, 0x4ea444\nBL              _ZN16EventLinkTrigger4initEv; EventLinkTrigger::init(void) ; +0x4c, 0x4ea448\nMOV             R5, R0                                                 ; +0x50, 0x4ea44c\nCBZ             R0, loc_4EA462                                         ; +0x52, 0x4ea44e\nMOV             R0, R4; this                                           ; +0x54, 0x4ea450\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x56, 0x4ea452\nB               loc_4EA46C                                             ; +0x5a, 0x4ea456\nMOV             R0, R4; void *                                         ; +0x5c, 0x4ea458\nBL              _ZdlPv; operator delete(void *)                        ; +0x5e, 0x4ea45a\nBL              __cxa_end_cleanup                                      ; +0x62, 0x4ea45e\nLDR             R3, [R4]                                               ; +0x66, 0x4ea462\nMOV             R0, R4                                                 ; +0x68, 0x4ea464\nMOV             R4, R5                                                 ; +0x6a, 0x4ea466\nLDR             R3, [R3,#8]                                            ; +0x6c, 0x4ea468\nBLX             R3                                                     ; +0x6e, 0x4ea46a\nMOV             R0, R4                                                 ; +0x70, 0x4ea46c\nPOP             {R3-R5,PC}                                             ; +0x72, 0x4ea46e", "xrefs": ["GameObject::createWithKey @ 0x45bbe0"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}