{"type": "func", "start": 5373566032, "end": 5373566194, "name": "RingObject::create", "pseudocode": "// \n// RingObject::create from 0x1404a1c50 to 0x1404a1cf2 (162 bytes)\n// \n// 3 xrefs:\n// > GameObject::createWithKey @ 0x14018c3b0\n// > GameObject::createWithKey @ 0x14018cb95\n// > <???> @ 0x1406dc71c\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\n// Hidden C++ exception states: #wind=1\nRingObject *RingObject::create(const char *a1)\n{\n  RingObject *v2; // rdi\n\n  v2 = (RingObject *)operator new(0x748u);\n  EffectGameObject::EffectGameObject(v2);\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (RingObject_vtbl *)&RingObject::`vftable';\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&RingObject::`vftable';\n  v2->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)&RingObject::`vftable';\n  *(_WORD *)&v2->m_claimTouch = 0;\n  if ( EffectGameObject::init(v2, a1) )\n  {\n    v2->m_customGlowColor = 1;\n    v2->m_isTouchTriggered = 1;\n    cocos2d::CCObject::autorelease(v2);\n    return v2;\n  }\n  else\n  {\n    ((void (__fastcall *)(RingObject *, __int64))v2->~RingObject)(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; RingObject::create from 0x1404a1c50 to 0x1404a1cf2 (162 bytes)\n; \n; 3 xrefs:\n; > GameObject::createWithKey @ 0x14018c3b0\n; > GameObject::createWithKey @ 0x14018cb95\n; > <???> @ 0x1406dc71c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1404a1c50\npush    rdi                                                            ; +0x5, 0x1404a1c55\nsub     rsp, 20h                                                       ; +0x6, 0x1404a1c56\nmov     rbx, rcx                                                       ; +0xa, 0x1404a1c5a\nmov     ecx, 748h; Size                                                ; +0xd, 0x1404a1c5d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x1404a1c62\nmov     rdi, rax                                                       ; +0x17, 0x1404a1c67\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x1404a1c6a\nmov     rcx, rax                                                       ; +0x1f, 0x1404a1c6f\ncall    EffectGameObject__EffectGameObject                             ; +0x22, 0x1404a1c72\nlea     rax, ??_7RingObject@@6B@; const RingObject::`vftable'          ; +0x27, 0x1404a1c77\nmov     [rdi], rax                                                     ; +0x2e, 0x1404a1c7e\nlea     rax, ??_7RingObject@@6B@_0; const RingObject::`vftable'        ; +0x31, 0x1404a1c81\nmov     [rdi+140h], rax                                                ; +0x38, 0x1404a1c88\nlea     rax, ??_7RingObject@@6B@_1; const RingObject::`vftable'        ; +0x3f, 0x1404a1c8f\nmov     [rdi+158h], rax                                                ; +0x46, 0x1404a1c96\nmov     word ptr [rdi+740h], 0                                         ; +0x4d, 0x1404a1c9d\nmov     rdx, rbx                                                       ; +0x56, 0x1404a1ca6\nmov     rcx, rdi                                                       ; +0x59, 0x1404a1ca9\ncall    EffectGameObject__init                                         ; +0x5c, 0x1404a1cac\nmov     rcx, rdi                                                       ; +0x61, 0x1404a1cb1\ntest    al, al                                                         ; +0x64, 0x1404a1cb4\njz      short loc_1404A1CDA                                            ; +0x66, 0x1404a1cb6\nmov     byte ptr [rdi+439h], 1                                         ; +0x68, 0x1404a1cb8\nmov     byte ptr [rdi+5D0h], 1                                         ; +0x6f, 0x1404a1cbf\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x76, 0x1404a1cc6\nmov     rax, rdi                                                       ; +0x7c, 0x1404a1ccc\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x7f, 0x1404a1ccf\nadd     rsp, 20h                                                       ; +0x84, 0x1404a1cd4\npop     rdi                                                            ; +0x88, 0x1404a1cd8\nretn                                                                   ; +0x89, 0x1404a1cd9\nmov     rax, [rdi]                                                     ; +0x8a, 0x1404a1cda\nmov     edx, 1                                                         ; +0x8d, 0x1404a1cdd\ncall    qword ptr [rax+8]                                              ; +0x92, 0x1404a1ce2\nxor     eax, eax                                                       ; +0x95, 0x1404a1ce5\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x97, 0x1404a1ce7\nadd     rsp, 20h                                                       ; +0x9c, 0x1404a1cec\npop     rdi                                                            ; +0xa0, 0x1404a1cf0\nretn                                                                   ; +0xa1, 0x1404a1cf1", "xrefs": ["GameObject::createWithKey @ 0x14018c3b0", "GameObject::createWithKey @ 0x14018cb95", "<???> @ 0x1406dc71c"], "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"}