{"type": "func", "start": 4298710652, "end": 4298710820, "name": "EndTriggerGameObject::create", "pseudocode": "// \n// EndTriggerGameObject::create from 0x100391e7c to 0x100391f24 (168 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x1002548f8\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\nEndTriggerGameObject *__fastcall EndTriggerGameObject::create()\n{\n  EndTriggerGameObject *v0; // x19\n\n  v0 = (EndTriggerGameObject *)operator new(0x730u);\n  EffectGameObject::EffectGameObject(v0);\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EndTriggerGameObject_vtbl *)&off_100803338;\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100803A80;\n  v0->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_100803B00;\n  *(_WORD *)&v0->m_noEffects = 0;\n  v0->m_instant = 0;\n  if ( EnhancedGameObject::init(v0, \"edit_eEndBtn_001.png\") )\n  {\n    v0->m_classType = Effect;\n    v0->m_triggerTargetColor.b = -1;\n    *(_WORD *)&v0->m_triggerTargetColor.r = -1;\n    v0->m_duration = 0.5;\n    v0->m_legacyHSV = 1;\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    ((void (__fastcall *)(EndTriggerGameObject *))v0->~EndTriggerGameObject_0)(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; EndTriggerGameObject::create from 0x100391e7c to 0x100391f24 (168 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x1002548f8\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100391e7c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100391e80\nADD             X29, SP, #0x10                                         ; +0x8, 0x100391e84\nMOV             W0, #0x730; __sz                                       ; +0xc, 0x100391e88\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x100391e8c\nMOV             X19, X0                                                ; +0x14, 0x100391e90\nBL              EffectGameObject__EffectGameObject                     ; +0x18, 0x100391e94\nADRL            X8, off_100803338                                      ; +0x1c, 0x100391e98\nSTR             X8, [X19]                                              ; +0x24, 0x100391ea0\nADD             X9, X8, #(off_100803A80 - 0x100803338)                 ; +0x28, 0x100391ea4\nSTR             X9, [X19,#0x140]                                       ; +0x2c, 0x100391ea8\nADD             X8, X8, #(off_100803B00 - 0x100803338)                 ; +0x30, 0x100391eac\nSTR             X8, [X19,#0x158]                                       ; +0x34, 0x100391eb0\nSTRH            WZR, [X19,#0x72C]                                      ; +0x38, 0x100391eb4\nSTRB            WZR, [X19,#0x72E]                                      ; +0x3c, 0x100391eb8\nADRL            X1, aEditEendbtn001; \"edit_eEndBtn_001.png\"            ; +0x40, 0x100391ebc\nMOV             X0, X19                                                ; +0x48, 0x100391ec4\nBL              EnhancedGameObject__init                               ; +0x4c, 0x100391ec8\nCBZ             W0, loc_100391F00                                      ; +0x50, 0x100391ecc\nMOV             W8, #1                                                 ; +0x54, 0x100391ed0\nSTR             W8, [X19,#0x4E0]                                       ; +0x58, 0x100391ed4\nMOV             W9, #0xFF                                              ; +0x5c, 0x100391ed8\nSTRB            W9, [X19,#0x5AA]                                       ; +0x60, 0x100391edc\nMOV             W9, #0xFFFF                                            ; +0x64, 0x100391ee0\nSTRH            W9, [X19,#0x5A8]                                       ; +0x68, 0x100391ee4\nMOV             W9, #0x3F000000                                        ; +0x6c, 0x100391ee8\nSTR             W9, [X19,#0x5AC]                                       ; +0x70, 0x100391eec\nSTRB            W8, [X19,#0x664]                                       ; +0x74, 0x100391ef0\nMOV             X0, X19                                                ; +0x78, 0x100391ef4\nBL              cocos2d__CCObject__autorelease                         ; +0x7c, 0x100391ef8\nB               loc_100391F14                                          ; +0x80, 0x100391efc\nLDR             X8, [X19]                                              ; +0x84, 0x100391f00\nLDR             X8, [X8,#0x10]                                         ; +0x88, 0x100391f04\nMOV             X0, X19                                                ; +0x8c, 0x100391f08\nBLR             X8                                                     ; +0x90, 0x100391f0c\nMOV             X19, #0                                                ; +0x94, 0x100391f10\nMOV             X0, X19                                                ; +0x98, 0x100391f14\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x9c, 0x100391f18\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa0, 0x100391f1c\nRET                                                                    ; +0xa4, 0x100391f20", "xrefs": ["GameObject::createWithKey @ 0x1002548f8"], "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"}