{"type": "func", "start": 5156772, "end": 5156872, "name": "EndTriggerGameObject::create", "pseudocode": "// \n// EndTriggerGameObject::create from 0x4eafa4 to 0x4eb008 (100 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x45bbcc\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:08 +0000\n// \n\nEffectGameObject *__fastcall EndTriggerGameObject::create(EndTriggerGameObject *this)\n{\n  EffectGameObject *v1; // r4\n  int v2; // r3\n  int *v3; // r0\n\n  v1 = (EffectGameObject *)operator new(0x678u);\n  EffectGameObject::EffectGameObject(v1);\n  *(_DWORD *)v1 = &off_CA2AD0;\n  *((_DWORD *)v1 + 66) = &off_CA2E7C;\n  *((_DWORD *)v1 + 70) = &off_CA2EBC;\n  *((_BYTE *)v1 + 1648) = 0;\n  *((_BYTE *)v1 + 1649) = 0;\n  *((_BYTE *)v1 + 1650) = 0;\n  if ( EndTriggerGameObject::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; EndTriggerGameObject::create from 0x4eafa4 to 0x4eb008 (100 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x45bbcc\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:08 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4eafa4\nMOV.W           R0, #0x678; unsigned int                               ; +0x2, 0x4eafa6\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x4eafaa\nMOV             R4, R0                                                 ; +0xa, 0x4eafae\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xc, 0x4eafb0\nLDR             R3, =(_ZTV20EndTriggerGameObject_ptr - 0x4EAFBC)       ; +0x10, 0x4eafb4\nMOV             R0, R4; this                                           ; +0x12, 0x4eafb6\nADD             R3, PC; _ZTV20EndTriggerGameObject_ptr                 ; +0x14, 0x4eafb8\nLDR             R3, [R3]; `vtable for'EndTriggerGameObject ...         ; +0x16, 0x4eafba\nADD.W           R2, R3, #8                                             ; +0x18, 0x4eafbc\nSTR             R2, [R4]                                               ; +0x1c, 0x4eafc0\nADD.W           R2, R3, #0x3B4                                         ; +0x1e, 0x4eafc2\nADD.W           R3, R3, #0x3F4                                         ; +0x22, 0x4eafc6\nSTR.W           R2, [R4,#0x108]                                        ; +0x26, 0x4eafca\nSTR.W           R3, [R4,#0x118]                                        ; +0x2a, 0x4eafce\nMOVS            R3, #0                                                 ; +0x2e, 0x4eafd2\nSTRB.W          R3, [R4,#0x670]                                        ; +0x30, 0x4eafd4\nSTRB.W          R3, [R4,#0x671]                                        ; +0x34, 0x4eafd8\nSTRB.W          R3, [R4,#0x672]                                        ; +0x38, 0x4eafdc\nBL              _ZN20EndTriggerGameObject4initEv; EndTriggerGameObject::init(void) ; +0x3c, 0x4eafe0\nMOV             R5, R0                                                 ; +0x40, 0x4eafe4\nCBZ             R0, loc_4EAFFA                                         ; +0x42, 0x4eafe6\nMOV             R0, R4; this                                           ; +0x44, 0x4eafe8\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x46, 0x4eafea\nB               loc_4EB004                                             ; +0x4a, 0x4eafee\nMOV             R0, R4; void *                                         ; +0x4c, 0x4eaff0\nBL              _ZdlPv; operator delete(void *)                        ; +0x4e, 0x4eaff2\nBL              __cxa_end_cleanup                                      ; +0x52, 0x4eaff6\nLDR             R3, [R4]                                               ; +0x56, 0x4eaffa\nMOV             R0, R4                                                 ; +0x58, 0x4eaffc\nMOV             R4, R5                                                 ; +0x5a, 0x4eaffe\nLDR             R3, [R3,#8]                                            ; +0x5c, 0x4eb000\nBLX             R3                                                     ; +0x5e, 0x4eb002\nMOV             R0, R4                                                 ; +0x60, 0x4eb004\nPOP             {R3-R5,PC}                                             ; +0x62, 0x4eb006", "xrefs": ["GameObject::createWithKey @ 0x45bbcc"], "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"}