{"type": "func", "start": 4107212, "end": 4107320, "name": "EnhancedTriggerObject::create", "pseudocode": "// \n// EnhancedTriggerObject::create from 0x3eabcc to 0x3eac38 (108 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x36249a\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\nEnhancedTriggerObject *EnhancedTriggerObject::create(const char *a1)\n{\n  EnhancedTriggerObject *v2; // r4\n  EnhancedTriggerObject_vtbl *v3; // r3\n  EnhancedTriggerObject *v4; // r0\n\n  v2 = (EnhancedTriggerObject *)operator new(0x678u);\n  EffectGameObject::EffectGameObject(v2);\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EnhancedTriggerObject_vtbl *)&off_A53D10;\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A540B4;\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A540F4;\n  v2->m_minXID = 0;\n  v2->m_minYID = 0;\n  v2->m_maxXID = 0;\n  v2->m_maxYID = 0;\n  if ( EnhancedTriggerObject::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    v3 = v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    v4 = v2;\n    v2 = nullptr;\n    v3->~EnhancedTriggerObject_0(v4);\n  }\n  return v2;\n}", "assembly": "; \n; EnhancedTriggerObject::create from 0x3eabcc to 0x3eac38 (108 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x36249a\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x3eabcc\nMOV             R5, R0                                                 ; +0x2, 0x3eabce\nMOV.W           R0, #0x678; unsigned int                               ; +0x4, 0x3eabd0\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x3eabd4\nMOV             R4, R0                                                 ; +0xc, 0x3eabd8\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xe, 0x3eabda\nLDR             R3, =(_ZTV21EnhancedTriggerObject_ptr - 0x3EABE8)      ; +0x12, 0x3eabde\nMOV             R1, R5; char *                                         ; +0x14, 0x3eabe0\nMOV             R0, R4; this                                           ; +0x16, 0x3eabe2\nADD             R3, PC; _ZTV21EnhancedTriggerObject_ptr                ; +0x18, 0x3eabe4\nLDR             R3, [R3]; `vtable for'EnhancedTriggerObject ...        ; +0x1a, 0x3eabe6\nADD.W           R2, R3, #8                                             ; +0x1c, 0x3eabe8\nSTR             R2, [R4]                                               ; +0x20, 0x3eabec\nADD.W           R2, R3, #0x3AC                                         ; +0x22, 0x3eabee\nADD.W           R3, R3, #0x3EC                                         ; +0x26, 0x3eabf2\nSTR.W           R2, [R4,#0x108]                                        ; +0x2a, 0x3eabf6\nSTR.W           R3, [R4,#0x118]                                        ; +0x2e, 0x3eabfa\nMOVS            R3, #0                                                 ; +0x32, 0x3eabfe\nSTR.W           R3, [R4,#0x664]                                        ; +0x34, 0x3eac00\nSTR.W           R3, [R4,#0x668]                                        ; +0x38, 0x3eac04\nSTR.W           R3, [R4,#0x66C]                                        ; +0x3c, 0x3eac08\nSTR.W           R3, [R4,#0x670]                                        ; +0x40, 0x3eac0c\nBL              _ZN21EnhancedTriggerObject4initEPKc; EnhancedTriggerObject::init(char const*) ; +0x44, 0x3eac10\nMOV             R5, R0                                                 ; +0x48, 0x3eac14\nCBZ             R0, loc_3EAC2A                                         ; +0x4a, 0x3eac16\nMOV             R0, R4; this                                           ; +0x4c, 0x3eac18\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x4e, 0x3eac1a\nB               loc_3EAC34                                             ; +0x52, 0x3eac1e\nMOV             R0, R4; p                                              ; +0x54, 0x3eac20\nBL              _ZdlPv; operator delete(void *)                        ; +0x56, 0x3eac22\nBL              __cxa_end_cleanup                                      ; +0x5a, 0x3eac26\nLDR             R3, [R4]                                               ; +0x5e, 0x3eac2a\nMOV             R0, R4                                                 ; +0x60, 0x3eac2c\nMOV             R4, R5                                                 ; +0x62, 0x3eac2e\nLDR             R3, [R3,#8]                                            ; +0x64, 0x3eac30\nBLX             R3                                                     ; +0x66, 0x3eac32\nMOV             R0, R4                                                 ; +0x68, 0x3eac34\nPOP             {R3-R5,PC}                                             ; +0x6a, 0x3eac36", "xrefs": ["GameObject::createWithKey @ 0x36249a"], "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"}