{"type": "func", "start": 4296924640, "end": 4296924850, "name": "CameraTriggerGameObject::create", "pseudocode": "// \n// CameraTriggerGameObject::create from 0x1001ddde0 to 0x1001ddeb2 (210 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10059d505\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 *__fastcall CameraTriggerGameObject::create(const char *a1)\n{\n  CameraTriggerGameObject *v1; // rbx\n\n  v1 = (CameraTriggerGameObject *)operator new(0x748u);\n  EffectGameObject::EffectGameObject(v1);\n  v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (CameraTriggerGameObject_vtbl *)off_1008D32E0;\n  v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008D3A28;\n  v1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008D3AA8;\n  *(_WORD *)&v1->m_exitStatic = 0;\n  *(_QWORD *)&v1->m_followEasing = 1065353216;\n  v1->m_smoothVelocity = 0;\n  v1->m_velocityModifier = 0.0;\n  v1->m_exitInstant = 0;\n  v1->m_previewOpacity = 1.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 *)(CameraTriggerGameObject *))v1->~CameraTriggerGameObject_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; CameraTriggerGameObject::create from 0x1001ddde0 to 0x1001ddeb2 (210 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10059d505\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, 0x1001ddde0\nmov     rbp, rsp                                                       ; +0x1, 0x1001ddde1\npush    r14                                                            ; +0x4, 0x1001ddde4\npush    rbx                                                            ; +0x6, 0x1001ddde6\nmov     r14, rdi                                                       ; +0x7, 0x1001ddde7\nmov     edi, 748h; __sz                                                ; +0xa, 0x1001dddea\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001dddef\nmov     rbx, rax                                                       ; +0x14, 0x1001dddf4\nmov     rdi, rax                                                       ; +0x17, 0x1001dddf7\ncall    EffectGameObject__EffectGameObject                             ; +0x1a, 0x1001dddfa\nlea     rax, off_1008D32E0                                             ; +0x1f, 0x1001dddff\nmov     [rbx], rax                                                     ; +0x26, 0x1001dde06\nlea     rax, off_1008D3A28                                             ; +0x29, 0x1001dde09\nmov     [rbx+140h], rax                                                ; +0x30, 0x1001dde10\nlea     rax, off_1008D3AA8                                             ; +0x37, 0x1001dde17\nmov     [rbx+158h], rax                                                ; +0x3e, 0x1001dde1e\nmov     word ptr [rbx+72Ch], 0                                         ; +0x45, 0x1001dde25\nmov     qword ptr [rbx+730h], 3F800000h                                ; +0x4e, 0x1001dde2e\nmov     byte ptr [rbx+738h], 0                                         ; +0x59, 0x1001dde39\nmov     dword ptr [rbx+73Ch], 0                                        ; +0x60, 0x1001dde40\nmov     byte ptr [rbx+740h], 0                                         ; +0x6a, 0x1001dde4a\nmov     dword ptr [rbx+744h], 3F800000h                                ; +0x71, 0x1001dde51\nmov     rdi, rbx                                                       ; +0x7b, 0x1001dde5b\nmov     rsi, r14                                                       ; +0x7e, 0x1001dde5e\ncall    EnhancedGameObject__init                                       ; +0x81, 0x1001dde61\ntest    al, al                                                         ; +0x86, 0x1001dde66\njz      short loc_1001DDE9F                                            ; +0x88, 0x1001dde68\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x8a, 0x1001dde6a\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x94, 0x1001dde74\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x9b, 0x1001dde7b\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0xa4, 0x1001dde84\nmov     byte ptr [rbx+664h], 1                                         ; +0xae, 0x1001dde8e\nmov     rdi, rbx                                                       ; +0xb5, 0x1001dde95\ncall    cocos2d__CCObject__autorelease                                 ; +0xb8, 0x1001dde98\njmp     short loc_1001DDEAA                                            ; +0xbd, 0x1001dde9d\nmov     rax, [rbx]                                                     ; +0xbf, 0x1001dde9f\nmov     rdi, rbx                                                       ; +0xc2, 0x1001ddea2\ncall    qword ptr [rax+10h]                                            ; +0xc5, 0x1001ddea5\nxor     ebx, ebx                                                       ; +0xc8, 0x1001ddea8\nmov     rax, rbx                                                       ; +0xca, 0x1001ddeaa\npop     rbx                                                            ; +0xcd, 0x1001ddead\npop     r14                                                            ; +0xce, 0x1001ddeae\npop     rbp                                                            ; +0xd0, 0x1001ddeb0\nretn                                                                   ; +0xd1, 0x1001ddeb1", "xrefs": ["GameObject::createWithKey @ 0x10059d505"], "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"}