{"type": "func", "start": 4296757440, "end": 4296757654, "name": "DashRingObject::create", "pseudocode": "// \n// DashRingObject::create from 0x1001b50c0 to 0x1001b5196 (214 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x10059d5d7\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\nDashRingObject *__fastcall DashRingObject::create(const char *a1)\n{\n  DashRingObject *v1; // rbx\n\n  v1 = (DashRingObject *)operator new(0x740u);\n  EffectGameObject::EffectGameObject(v1);\n  *(_WORD *)&v1->m_claimTouch = 0;\n  v1->RingObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (DashRingObject_vtbl *)off_1008CD970;\n  v1->RingObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1008CE0B8;\n  v1->RingObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1008CE138;\n  *(_QWORD *)&v1->m_dashSpeed = 0x3F8000003F800000LL;\n  v1->m_maxDuration = 0.0;\n  *(_WORD *)&v1->m_allowCollide = 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    v1->m_customGlowColor = 1;\n    v1->m_isTouchTriggered = 1;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(DashRingObject *))v1->~DashRingObject_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; DashRingObject::create from 0x1001b50c0 to 0x1001b5196 (214 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x10059d5d7\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, 0x1001b50c0\nmov     rbp, rsp                                                       ; +0x1, 0x1001b50c1\npush    r14                                                            ; +0x4, 0x1001b50c4\npush    rbx                                                            ; +0x6, 0x1001b50c6\nmov     r14, rdi                                                       ; +0x7, 0x1001b50c7\nmov     edi, 740h; __sz                                                ; +0xa, 0x1001b50ca\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1001b50cf\nmov     rbx, rax                                                       ; +0x14, 0x1001b50d4\nmov     rdi, rax                                                       ; +0x17, 0x1001b50d7\ncall    EffectGameObject__EffectGameObject                             ; +0x1a, 0x1001b50da\nmov     word ptr [rbx+72Ch], 0                                         ; +0x1f, 0x1001b50df\nlea     rax, off_1008CD970                                             ; +0x28, 0x1001b50e8\nmov     [rbx], rax                                                     ; +0x2f, 0x1001b50ef\nlea     rax, off_1008CE0B8                                             ; +0x32, 0x1001b50f2\nmov     [rbx+140h], rax                                                ; +0x39, 0x1001b50f9\nlea     rax, off_1008CE138                                             ; +0x40, 0x1001b5100\nmov     [rbx+158h], rax                                                ; +0x47, 0x1001b5107\nmovsd   xmm0, qword ptr cs:xmmword_1008154E0                           ; +0x4e, 0x1001b510e\nmovsd   qword ptr [rbx+730h], xmm0                                     ; +0x56, 0x1001b5116\nmov     dword ptr [rbx+738h], 0                                        ; +0x5e, 0x1001b511e\nmov     word ptr [rbx+73Ch], 0                                         ; +0x68, 0x1001b5128\nmov     rdi, rbx                                                       ; +0x71, 0x1001b5131\nmov     rsi, r14                                                       ; +0x74, 0x1001b5134\ncall    EnhancedGameObject__init                                       ; +0x77, 0x1001b5137\ntest    al, al                                                         ; +0x7c, 0x1001b513c\njz      short loc_1001B5183                                            ; +0x7e, 0x1001b513e\nmov     dword ptr [rbx+4E0h], 1                                        ; +0x80, 0x1001b5140\nmov     byte ptr [rbx+5AAh], 0FFh                                      ; +0x8a, 0x1001b514a\nmov     word ptr [rbx+5A8h], 0FFFFh                                    ; +0x91, 0x1001b5151\nmov     dword ptr [rbx+5ACh], 3F000000h                                ; +0x9a, 0x1001b515a\nmov     byte ptr [rbx+664h], 1                                         ; +0xa4, 0x1001b5164\nmov     byte ptr [rbx+431h], 1                                         ; +0xab, 0x1001b516b\nmov     byte ptr [rbx+5C0h], 1                                         ; +0xb2, 0x1001b5172\nmov     rdi, rbx                                                       ; +0xb9, 0x1001b5179\ncall    cocos2d__CCObject__autorelease                                 ; +0xbc, 0x1001b517c\njmp     short loc_1001B518E                                            ; +0xc1, 0x1001b5181\nmov     rax, [rbx]                                                     ; +0xc3, 0x1001b5183\nmov     rdi, rbx                                                       ; +0xc6, 0x1001b5186\ncall    qword ptr [rax+10h]                                            ; +0xc9, 0x1001b5189\nxor     ebx, ebx                                                       ; +0xcc, 0x1001b518c\nmov     rax, rbx                                                       ; +0xce, 0x1001b518e\npop     rbx                                                            ; +0xd1, 0x1001b5191\npop     r14                                                            ; +0xd2, 0x1001b5192\npop     rbp                                                            ; +0xd4, 0x1001b5194\nretn                                                                   ; +0xd5, 0x1001b5195", "xrefs": ["GameObject::createWithKey @ 0x10059d5d7"], "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"}