{"type": "func", "start": 4112816, "end": 4112934, "name": "CountTriggerGameObject::create", "pseudocode": "// \n// CountTriggerGameObject::create from 0x3ec1b0 to 0x3ec226 (118 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x3624c6\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\nCountTriggerGameObject *CountTriggerGameObject::create(const char *a1)\n{\n  CountTriggerGameObject *v2; // r4\n  CountTriggerGameObject_vtbl *v3; // r3\n  int *v4; // r0\n\n  v2 = (CountTriggerGameObject *)operator new(0x678u);\n  EffectGameObject::EffectGameObject(v2);\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CountTriggerGameObject_vtbl *)&off_A58D18;\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&off_A590FC;\n  v2->m_pickupCount = 0;\n  v2->m_pickupTriggerMode = 0;\n  v2->m_multiActivate = 0;\n  v2->m_isOverride = 0;\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A590BC;\n  v2->m_pickupTriggerMultiplier = 1.0;\n  if ( CountTriggerGameObject::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->~CountTriggerGameObject_0((CountTriggerGameObject *)v4);\n  }\n  return v2;\n}", "assembly": "; \n; CountTriggerGameObject::create from 0x3ec1b0 to 0x3ec226 (118 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x3624c6\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, 0x3ec1b0\nMOV             R5, R0                                                 ; +0x2, 0x3ec1b2\nMOV.W           R0, #0x678; unsigned int                               ; +0x4, 0x3ec1b4\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x3ec1b8\nMOV             R4, R0                                                 ; +0xc, 0x3ec1bc\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xe, 0x3ec1be\nLDR             R3, =(_ZTV22CountTriggerGameObject_ptr - 0x3EC1CC)     ; +0x12, 0x3ec1c2\nMOV             R1, R5; char *                                         ; +0x14, 0x3ec1c4\nMOV             R0, R4; this                                           ; +0x16, 0x3ec1c6\nADD             R3, PC; _ZTV22CountTriggerGameObject_ptr               ; +0x18, 0x3ec1c8\nLDR             R3, [R3]; `vtable for'CountTriggerGameObject ...       ; +0x1a, 0x3ec1ca\nADD.W           R2, R3, #8                                             ; +0x1c, 0x3ec1cc\nSTR             R2, [R4]                                               ; +0x20, 0x3ec1d0\nADD.W           R2, R3, #0x3AC                                         ; +0x22, 0x3ec1d2\nADD.W           R3, R3, #0x3EC                                         ; +0x26, 0x3ec1d6\nSTR.W           R3, [R4,#0x118]                                        ; +0x2a, 0x3ec1da\nMOVS            R3, #0                                                 ; +0x2e, 0x3ec1de\nSTR.W           R3, [R4,#0x664]                                        ; +0x30, 0x3ec1e0\nSTR.W           R3, [R4,#0x668]                                        ; +0x34, 0x3ec1e4\nSTRB.W          R3, [R4,#0x66C]                                        ; +0x38, 0x3ec1e8\nSTRB.W          R3, [R4,#0x66D]                                        ; +0x3c, 0x3ec1ec\nADD.W           R3, R4, #0x670                                         ; +0x40, 0x3ec1f0\nSTR.W           R2, [R4,#0x108]                                        ; +0x44, 0x3ec1f4\nMOV.W           R2, #0x3F800000                                        ; +0x48, 0x3ec1f8\nSTR             R2, [R3]                                               ; +0x4c, 0x3ec1fc\nBL              _ZN22CountTriggerGameObject4initEPKc; CountTriggerGameObject::init(char const*) ; +0x4e, 0x3ec1fe\nMOV             R5, R0                                                 ; +0x52, 0x3ec202\nCBZ             R0, loc_3EC218                                         ; +0x54, 0x3ec204\nMOV             R0, R4; this                                           ; +0x56, 0x3ec206\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x58, 0x3ec208\nB               loc_3EC222                                             ; +0x5c, 0x3ec20c\nMOV             R0, R4; p                                              ; +0x5e, 0x3ec20e\nBL              _ZdlPv; operator delete(void *)                        ; +0x60, 0x3ec210\nBL              __cxa_end_cleanup                                      ; +0x64, 0x3ec214\nLDR             R3, [R4]                                               ; +0x68, 0x3ec218\nMOV             R0, R4                                                 ; +0x6a, 0x3ec21a\nMOV             R4, R5                                                 ; +0x6c, 0x3ec21c\nLDR             R3, [R3,#8]                                            ; +0x6e, 0x3ec21e\nBLX             R3                                                     ; +0x70, 0x3ec220\nMOV             R0, R4                                                 ; +0x72, 0x3ec222\nPOP             {R3-R5,PC}                                             ; +0x74, 0x3ec224", "xrefs": ["GameObject::createWithKey @ 0x3624c6"], "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"}