{"type": "func", "start": 4298649936, "end": 4298650112, "name": "AnimatedGameObject::create", "pseudocode": "// \n// AnimatedGameObject::create from 0x100383150 to 0x100383200 (176 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x100254720\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\nAnimatedGameObject *__fastcall AnimatedGameObject::create(int a1)\n{\n  AnimatedGameObject *v2; // x19\n\n  v2 = (AnimatedGameObject *)operator new(0x5F8u);\n  EnhancedGameObject::EnhancedGameObject(v2);\n  v2->EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (AnimatedGameObject_vtbl *)off_1007F50F0;\n  v2->EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007F5848;\n  v2->EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_1007F58C8;\n  v2->AnimatedSpriteDelegate::__vftable = (AnimatedSpriteDelegate_vtbl *)&off_1007F58F8;\n  v2->SpritePartDelegate::__vftable = (SpritePartDelegate_vtbl *)&off_1007F5910;\n  v2->m_animationID = 0;\n  v2->m_animatedSprite = nullptr;\n  v2->m_eyeSpritePart = nullptr;\n  v2->m_childSprite = nullptr;\n  *(_WORD *)&v2->m_finishedAnimating = 0;\n  v2->m_currentAnimation.m_data.m_long.capacitym1 = 0;\n  v2->m_currentAnimation.m_data.m_long.longStorage = nullptr;\n  v2->m_currentAnimation.m_data.m_long.size = 0;\n  v2->m_notGrounded = 0;\n  if ( AnimatedGameObject::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(AnimatedGameObject *))v2->~AnimatedGameObject_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; AnimatedGameObject::create from 0x100383150 to 0x100383200 (176 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x100254720\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, 0x100383150\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100383154\nADD             X29, SP, #0x10                                         ; +0x8, 0x100383158\nMOV             X20, X0                                                ; +0xc, 0x10038315c\nMOV             W0, #0x5F8; __sz                                       ; +0x10, 0x100383160\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x100383164\nMOV             X19, X0                                                ; +0x18, 0x100383168\nBL              EnhancedGameObject__EnhancedGameObject                 ; +0x1c, 0x10038316c\nADRL            X8, off_1007F50F0                                      ; +0x20, 0x100383170\nSTR             X8, [X19]                                              ; +0x28, 0x100383178\nADD             X9, X8, #(off_1007F5848 - 0x1007F50F0)                 ; +0x2c, 0x10038317c\nSTR             X9, [X19,#0x140]                                       ; +0x30, 0x100383180\nADD             X9, X8, #(off_1007F58C8 - 0x1007F50F0)                 ; +0x34, 0x100383184\nSTR             X9, [X19,#0x158]                                       ; +0x38, 0x100383188\nADD             X9, X8, #(off_1007F58F8 - 0x1007F50F0)                 ; +0x3c, 0x10038318c\nSTR             X9, [X19,#0x5A8]                                       ; +0x40, 0x100383190\nADD             X8, X8, #(off_1007F5910 - 0x1007F50F0)                 ; +0x44, 0x100383194\nSTR             X8, [X19,#0x5B0]                                       ; +0x48, 0x100383198\nSTR             WZR, [X19,#0x5F4]                                      ; +0x4c, 0x10038319c\nSTR             XZR, [X19,#0x5B8]                                      ; +0x50, 0x1003831a0\nSTR             XZR, [X19,#0x5C8]                                      ; +0x54, 0x1003831a4\nSTR             XZR, [X19,#0x5C0]                                      ; +0x58, 0x1003831a8\nSTRH            WZR, [X19,#0x5D0]                                      ; +0x5c, 0x1003831ac\nSTR             XZR, [X19,#0x5D8]                                      ; +0x60, 0x1003831b0\nSTR             XZR, [X19,#0x5E8]                                      ; +0x64, 0x1003831b4\nSTR             XZR, [X19,#0x5E0]                                      ; +0x68, 0x1003831b8\nSTRB            WZR, [X19,#0x5F0]                                      ; +0x6c, 0x1003831bc\nMOV             X0, X19                                                ; +0x70, 0x1003831c0\nMOV             X1, X20                                                ; +0x74, 0x1003831c4\nBL              AnimatedGameObject__init                               ; +0x78, 0x1003831c8\nCBZ             W0, loc_1003831DC                                      ; +0x7c, 0x1003831cc\nMOV             X0, X19                                                ; +0x80, 0x1003831d0\nBL              cocos2d__CCObject__autorelease                         ; +0x84, 0x1003831d4\nB               loc_1003831F0                                          ; +0x88, 0x1003831d8\nLDR             X8, [X19]                                              ; +0x8c, 0x1003831dc\nLDR             X8, [X8,#0x10]                                         ; +0x90, 0x1003831e0\nMOV             X0, X19                                                ; +0x94, 0x1003831e4\nBLR             X8                                                     ; +0x98, 0x1003831e8\nMOV             X19, #0                                                ; +0x9c, 0x1003831ec\nMOV             X0, X19                                                ; +0xa0, 0x1003831f0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xa4, 0x1003831f4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xa8, 0x1003831f8\nRET                                                                    ; +0xac, 0x1003831fc", "xrefs": ["GameObject::createWithKey @ 0x100254720"], "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"}