{"type": "func", "start": 4298648420, "end": 4298648608, "name": "DashRingObject::create", "pseudocode": "// \n// DashRingObject::create from 0x100382b64 to 0x100382c20 (188 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x100254334\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 *v2; // x19\n\n  v2 = (DashRingObject *)operator new(0x740u);\n  EffectGameObject::EffectGameObject(v2);\n  *(_WORD *)&v2->m_claimTouch = 0;\n  v2->RingObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (DashRingObject_vtbl *)&off_1007FE9E8;\n  v2->RingObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007FF130;\n  v2->RingObject::EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1007FF1B0;\n  __asm { FMOV            V0.2S, #1.0 }\n  *(_QWORD *)&v2->m_dashSpeed = _D0;\n  v2->m_maxDuration = 0.0;\n  *(_WORD *)&v2->m_allowCollide = 0;\n  if ( EnhancedGameObject::init(v2, a1) )\n  {\n    v2->m_classType = Effect;\n    v2->m_triggerTargetColor.b = -1;\n    *(_WORD *)&v2->m_triggerTargetColor.r = -1;\n    v2->m_duration = 0.5;\n    v2->m_legacyHSV = 1;\n    v2->m_customGlowColor = 1;\n    v2->m_isTouchTriggered = 1;\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(DashRingObject *))v2->~DashRingObject_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; DashRingObject::create from 0x100382b64 to 0x100382c20 (188 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x100254334\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, 0x100382b64\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100382b68\nADD             X29, SP, #0x10                                         ; +0x8, 0x100382b6c\nMOV             X20, X0                                                ; +0xc, 0x100382b70\nMOV             W0, #0x740; __sz                                       ; +0x10, 0x100382b74\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x100382b78\nMOV             X19, X0                                                ; +0x18, 0x100382b7c\nBL              EffectGameObject__EffectGameObject                     ; +0x1c, 0x100382b80\nSTRH            WZR, [X19,#0x72C]                                      ; +0x20, 0x100382b84\nADRL            X8, off_1007FE9E8                                      ; +0x24, 0x100382b88\nSTR             X8, [X19]                                              ; +0x2c, 0x100382b90\nADD             X9, X8, #(off_1007FF130 - 0x1007FE9E8)                 ; +0x30, 0x100382b94\nSTR             X9, [X19,#0x140]                                       ; +0x34, 0x100382b98\nADD             X8, X8, #(off_1007FF1B0 - 0x1007FE9E8)                 ; +0x38, 0x100382b9c\nSTR             X8, [X19,#0x158]                                       ; +0x3c, 0x100382ba0\nFMOV            V0.2S, #1.0                                            ; +0x40, 0x100382ba4\nSTR             D0, [X19,#0x730]                                       ; +0x44, 0x100382ba8\nSTR             WZR, [X19,#0x738]                                      ; +0x48, 0x100382bac\nSTRH            WZR, [X19,#0x73C]                                      ; +0x4c, 0x100382bb0\nMOV             X0, X19                                                ; +0x50, 0x100382bb4\nMOV             X1, X20                                                ; +0x54, 0x100382bb8\nBL              EnhancedGameObject__init                               ; +0x58, 0x100382bbc\nCBZ             W0, loc_100382BFC                                      ; +0x5c, 0x100382bc0\nMOV             W8, #1                                                 ; +0x60, 0x100382bc4\nSTR             W8, [X19,#0x4E0]                                       ; +0x64, 0x100382bc8\nMOV             W9, #0xFF                                              ; +0x68, 0x100382bcc\nSTRB            W9, [X19,#0x5AA]                                       ; +0x6c, 0x100382bd0\nMOV             W9, #0xFFFF                                            ; +0x70, 0x100382bd4\nSTRH            W9, [X19,#0x5A8]                                       ; +0x74, 0x100382bd8\nMOV             W9, #0x3F000000                                        ; +0x78, 0x100382bdc\nSTR             W9, [X19,#0x5AC]                                       ; +0x7c, 0x100382be0\nSTRB            W8, [X19,#0x664]                                       ; +0x80, 0x100382be4\nSTRB            W8, [X19,#0x431]                                       ; +0x84, 0x100382be8\nSTRB            W8, [X19,#0x5C0]                                       ; +0x88, 0x100382bec\nMOV             X0, X19                                                ; +0x8c, 0x100382bf0\nBL              cocos2d__CCObject__autorelease                         ; +0x90, 0x100382bf4\nB               loc_100382C10                                          ; +0x94, 0x100382bf8\nLDR             X8, [X19]                                              ; +0x98, 0x100382bfc\nLDR             X8, [X8,#0x10]                                         ; +0x9c, 0x100382c00\nMOV             X0, X19                                                ; +0xa0, 0x100382c04\nBLR             X8                                                     ; +0xa4, 0x100382c08\nMOV             X19, #0                                                ; +0xa8, 0x100382c0c\nMOV             X0, X19                                                ; +0xac, 0x100382c10\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb0, 0x100382c14\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb4, 0x100382c18\nRET                                                                    ; +0xb8, 0x100382c1c", "xrefs": ["GameObject::createWithKey @ 0x100254334"], "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"}