{"type": "func", "start": 4296986432, "end": 4296986598, "name": "ArtTriggerGameObject::create", "pseudocode": "// \n// ArtTriggerGameObject::create from 0x1001ecf40 to 0x1001ecfe6 (166 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10059d52e\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\nArtTriggerGameObject *__fastcall ArtTriggerGameObject::create(const char *a1)\n{\n  ArtTriggerGameObject *v1; // rbx\n\n  v1 = (ArtTriggerGameObject *)operator new(0x730u);\n  EffectGameObject::EffectGameObject(v1);\n  v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (ArtTriggerGameObject_vtbl *)off_1008D5B30;\n  v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008D6278;\n  v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008D62F8;\n  v1->m_artIndex = 0;\n  if ( EnhancedGameObject::init(v1, a1) )\n  {\n    v1->m_classType = Effect;\n    v1->m_triggerTargetColor.b = -1;\n    *(_WORD *)&v1->m_triggerTargetColor.r = -1;\n    v1->m_duration = 0.5;\n    v1->m_legacyHSV = 1;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(ArtTriggerGameObject *))v1->~ArtTriggerGameObject_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; ArtTriggerGameObject::create from 0x1001ecf40 to 0x1001ecfe6 (166 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10059d52e\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    rbp                                                            ; +0x0, 0x1001ecf40\nmov     rbp, rsp                                                       ; +0x1, 0x1001ecf41\npush    r14                                                            ; +0x4, 0x1001ecf44\npush    rbx                                                            ; +0x6, 0x1001ecf46\nmov     r14, rdi                                                       ; +0x7, 0x1001ecf47\nmov     edi, 730h; __sz                                                ; +0xa, 0x1001ecf4a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001ecf4f\nmov     rbx, rax                                                       ; +0x14, 0x1001ecf54\nmov     rdi, rax                                                       ; +0x17, 0x1001ecf57\ncall    EffectGameObject__EffectGameObject                             ; +0x1a, 0x1001ecf5a\nlea     rax, off_1008D5B30                                             ; +0x1f, 0x1001ecf5f\nmov     [rbx], rax                                                     ; +0x26, 0x1001ecf66\nlea     rax, off_1008D6278                                             ; +0x29, 0x1001ecf69\nmov     [rbx+140h], rax                                                ; +0x30, 0x1001ecf70\nlea     rax, off_1008D62F8                                             ; +0x37, 0x1001ecf77\nmov     [rbx+158h], rax                                                ; +0x3e, 0x1001ecf7e\nmov     dword ptr [rbx+72Ch], 0                                        ; +0x45, 0x1001ecf85\nmov     rdi, rbx                                                       ; +0x4f, 0x1001ecf8f\nmov     rsi, r14                                                       ; +0x52, 0x1001ecf92\ncall    EnhancedGameObject__init                                       ; +0x55, 0x1001ecf95\ntest    al, al                                                         ; +0x5a, 0x1001ecf9a\njz      short loc_1001ECFD3                                            ; +0x5c, 0x1001ecf9c\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x5e, 0x1001ecf9e\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x68, 0x1001ecfa8\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x6f, 0x1001ecfaf\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x78, 0x1001ecfb8\nmov     byte ptr [rbx+664h], 1                                         ; +0x82, 0x1001ecfc2\nmov     rdi, rbx                                                       ; +0x89, 0x1001ecfc9\ncall    cocos2d__CCObject__autorelease                                 ; +0x8c, 0x1001ecfcc\njmp     short loc_1001ECFDE                                            ; +0x91, 0x1001ecfd1\nmov     rax, [rbx]                                                     ; +0x93, 0x1001ecfd3\nmov     rdi, rbx                                                       ; +0x96, 0x1001ecfd6\ncall    qword ptr [rax+10h]                                            ; +0x99, 0x1001ecfd9\nxor     ebx, ebx                                                       ; +0x9c, 0x1001ecfdc\nmov     rax, rbx                                                       ; +0x9e, 0x1001ecfde\npop     rbx                                                            ; +0xa1, 0x1001ecfe1\npop     r14                                                            ; +0xa2, 0x1001ecfe2\npop     rbp                                                            ; +0xa4, 0x1001ecfe4\nretn                                                                   ; +0xa5, 0x1001ecfe5", "xrefs": ["GameObject::createWithKey @ 0x10059d52e"], "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"}