{"type": "func", "start": 4113308, "end": 4113444, "name": "CameraTriggerGameObject::create", "pseudocode": "// \n// CameraTriggerGameObject::create from 0x3ec39c to 0x3ec424 (136 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x3624aa\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\nCameraTriggerGameObject *CameraTriggerGameObject::create(const char *a1)\n{\n  CameraTriggerGameObject *v2; // r4\n  CameraTriggerGameObject_vtbl *v3; // r3\n  int *v4; // r0\n\n  v2 = (CameraTriggerGameObject *)operator new(0x680u);\n  EffectGameObject::EffectGameObject(v2);\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CameraTriggerGameObject_vtbl *)&off_A59D18;\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A5A0BC;\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A5A0FC;\n  v2->m_exitStatic = 0;\n  v2->m_followObject = 0;\n  v2->m_followEasing = 1.0;\n  v2->m_edgeDirection = 0;\n  v2->m_smoothVelocity = 0;\n  v2->m_velocityModifier = 0.0;\n  v2->m_exitInstant = 0;\n  v2->m_previewOpacity = 1.0;\n  if ( CameraTriggerGameObject::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 = (int *)v2;\n    v2 = nullptr;\n    v3->~CameraTriggerGameObject_0((CameraTriggerGameObject *)v4);\n  }\n  return v2;\n}", "assembly": "; \n; CameraTriggerGameObject::create from 0x3ec39c to 0x3ec424 (136 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x3624aa\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, 0x3ec39c\nMOV             R5, R0                                                 ; +0x2, 0x3ec39e\nMOV.W           R0, #0x680; unsigned int                               ; +0x4, 0x3ec3a0\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x3ec3a4\nMOV             R4, R0                                                 ; +0xc, 0x3ec3a8\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xe, 0x3ec3aa\nLDR             R3, =(_ZTV23CameraTriggerGameObject_ptr - 0x3EC3BA)    ; +0x12, 0x3ec3ae\nMOV.W           R1, #0x3F800000                                        ; +0x14, 0x3ec3b0\nMOVS            R0, #0                                                 ; +0x18, 0x3ec3b4\nADD             R3, PC; _ZTV23CameraTriggerGameObject_ptr              ; +0x1a, 0x3ec3b6\nLDR             R3, [R3]; `vtable for'CameraTriggerGameObject ...      ; +0x1c, 0x3ec3b8\nADD.W           R2, R3, #8                                             ; +0x1e, 0x3ec3ba\nSTR             R2, [R4]                                               ; +0x22, 0x3ec3be\nADD.W           R2, R3, #0x3AC                                         ; +0x24, 0x3ec3c0\nSTR.W           R2, [R4,#0x108]                                        ; +0x28, 0x3ec3c4\nADD.W           R2, R4, #0x668                                         ; +0x2c, 0x3ec3c8\nADD.W           R3, R3, #0x3EC                                         ; +0x30, 0x3ec3cc\nSTR.W           R3, [R4,#0x118]                                        ; +0x34, 0x3ec3d0\nMOVS            R3, #0                                                 ; +0x38, 0x3ec3d4\nSTRB.W          R3, [R4,#0x664]                                        ; +0x3a, 0x3ec3d6\nSTRB.W          R3, [R4,#0x665]                                        ; +0x3e, 0x3ec3da\nSTR             R1, [R2]                                               ; +0x42, 0x3ec3de\nADDW            R2, R4, #0x674                                         ; +0x44, 0x3ec3e0\nSTR.W           R3, [R4,#0x66C]                                        ; +0x48, 0x3ec3e4\nSTRB.W          R3, [R4,#0x670]                                        ; +0x4c, 0x3ec3e8\nSTR             R0, [R2]                                               ; +0x50, 0x3ec3ec\nMOV             R0, R4; this                                           ; +0x52, 0x3ec3ee\nSTRB.W          R3, [R4,#0x678]                                        ; +0x54, 0x3ec3f0\nADDW            R3, R4, #0x67C                                         ; +0x58, 0x3ec3f4\nSTR             R1, [R3]                                               ; +0x5c, 0x3ec3f8\nMOV             R1, R5; char *                                         ; +0x5e, 0x3ec3fa\nBL              _ZN23CameraTriggerGameObject4initEPKc; CameraTriggerGameObject::init(char const*) ; +0x60, 0x3ec3fc\nMOV             R5, R0                                                 ; +0x64, 0x3ec400\nCBZ             R0, loc_3EC416                                         ; +0x66, 0x3ec402\nMOV             R0, R4; this                                           ; +0x68, 0x3ec404\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x6a, 0x3ec406\nB               loc_3EC420                                             ; +0x6e, 0x3ec40a\nMOV             R0, R4; p                                              ; +0x70, 0x3ec40c\nBL              _ZdlPv; operator delete(void *)                        ; +0x72, 0x3ec40e\nBL              __cxa_end_cleanup                                      ; +0x76, 0x3ec412\nLDR             R3, [R4]                                               ; +0x7a, 0x3ec416\nMOV             R0, R4                                                 ; +0x7c, 0x3ec418\nMOV             R4, R5                                                 ; +0x7e, 0x3ec41a\nLDR             R3, [R3,#8]                                            ; +0x80, 0x3ec41c\nBLX             R3                                                     ; +0x82, 0x3ec41e\nMOV             R0, R4                                                 ; +0x84, 0x3ec420\nPOP             {R3-R5,PC}                                             ; +0x86, 0x3ec422", "xrefs": ["GameObject::createWithKey @ 0x3624aa"], "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"}