{"type": "func", "start": 4297275872, "end": 4297276044, "name": "GauntletSprite::create", "pseudocode": "// \n// GauntletSprite::create from 0x1002339e0 to 0x100233a8c (172 bytes)\n// \n// 1 xrefs:\n// > GauntletLayer::setupGauntlet @ 0x100232d3c\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\nGauntletSprite *__fastcall GauntletSprite::create(GauntletType a1, bool a2)\n{\n  GauntletSprite *v4; // x19\n\n  v4 = (GauntletSprite *)operator new(0x140u);\n  *(_OWORD *)&v4->__vftable = 0u;\n  *(_OWORD *)&v4->m_nTag = 0u;\n  *(_OWORD *)&v4->m_uIndexInArray = 0u;\n  *(_OWORD *)&v4->m_uOrderOfArrival = 0u;\n  *(_OWORD *)&v4->m_fScaleX = 0u;\n  *(_OWORD *)&v4->m_obPosition.y = 0u;\n  *(_OWORD *)&v4->m_obAnchorPointInPoints.y = 0u;\n  *(_OWORD *)&v4->m_obContentSize.height = 0u;\n  *(_OWORD *)&v4->m_sAdditionalTransform.d = 0u;\n  *(_OWORD *)&v4->m_sTransform.b = 0u;\n  *(_OWORD *)&v4->m_sTransform.ty = 0u;\n  *(_OWORD *)&v4->m_sInverse.d = 0u;\n  *(_OWORD *)&v4->m_pCamera = 0u;\n  *(_OWORD *)&v4->m_pChildren = 0u;\n  *(_OWORD *)&v4->m_pUserData = 0u;\n  *(_OWORD *)&v4->m_pShaderProgram = 0u;\n  *(_OWORD *)&v4->m_pScheduler = 0u;\n  *(_OWORD *)&v4->m_bRunning = 0u;\n  *(_OWORD *)&v4->m_bReorderChildDirty = 0u;\n  *(_OWORD *)&v4->m_pComponentContainer = 0u;\n  cocos2d::CCNode::CCNode(v4);\n  v4->__vftable = (GauntletSprite_vtbl *)&off_1007C6F60;\n  if ( GauntletSprite::init(v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v4);\n  }\n  else\n  {\n    ((void (__fastcall *)(GauntletSprite *))v4->~GauntletSprite_0)(v4);\n    return nullptr;\n  }\n  return v4;\n}", "assembly": "; \n; GauntletSprite::create from 0x1002339e0 to 0x100233a8c (172 bytes)\n; \n; 1 xrefs:\n; > GauntletLayer::setupGauntlet @ 0x100232d3c\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1002339e0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002339e4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002339e8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002339ec\nMOV             X20, X1                                                ; +0x10, 0x1002339f0\nMOV             X21, X0                                                ; +0x14, 0x1002339f4\nMOV             W0, #0x140; __sz                                       ; +0x18, 0x1002339f8\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x1002339fc\nMOV             X19, X0                                                ; +0x20, 0x100233a00\nMOVI            V0.16B, #0                                             ; +0x24, 0x100233a04\nSTP             Q0, Q0, [X0]                                           ; +0x28, 0x100233a08\nSTP             Q0, Q0, [X0,#0x20]                                     ; +0x2c, 0x100233a0c\nSTP             Q0, Q0, [X0,#0x40]                                     ; +0x30, 0x100233a10\nSTP             Q0, Q0, [X0,#0x60]                                     ; +0x34, 0x100233a14\nSTP             Q0, Q0, [X0,#0x80]                                     ; +0x38, 0x100233a18\nSTP             Q0, Q0, [X0,#0xA0]                                     ; +0x3c, 0x100233a1c\nSTP             Q0, Q0, [X0,#0xC0]                                     ; +0x40, 0x100233a20\nSTP             Q0, Q0, [X0,#0xE0]                                     ; +0x44, 0x100233a24\nSTP             Q0, Q0, [X0,#0x100]                                    ; +0x48, 0x100233a28\nSTP             Q0, Q0, [X0,#0x120]                                    ; +0x4c, 0x100233a2c\nBL              cocos2d__CCNode__CCNode                                ; +0x50, 0x100233a30\nADRL            X8, unk_1007C6F50                                      ; +0x54, 0x100233a34\nADD             X8, X8, #(off_1007C6F60 - 0x1007C6F50)                 ; +0x5c, 0x100233a3c\nSTR             X8, [X19]                                              ; +0x60, 0x100233a40\nMOV             X0, X19                                                ; +0x64, 0x100233a44\nMOV             X1, X21                                                ; +0x68, 0x100233a48\nMOV             X2, X20                                                ; +0x6c, 0x100233a4c\nBL              GauntletSprite__init                                   ; +0x70, 0x100233a50\nCBZ             W0, loc_100233A64                                      ; +0x74, 0x100233a54\nMOV             X0, X19                                                ; +0x78, 0x100233a58\nBL              cocos2d__CCObject__autorelease                         ; +0x7c, 0x100233a5c\nB               loc_100233A78                                          ; +0x80, 0x100233a60\nLDR             X8, [X19]                                              ; +0x84, 0x100233a64\nLDR             X8, [X8,#0x10]                                         ; +0x88, 0x100233a68\nMOV             X0, X19                                                ; +0x8c, 0x100233a6c\nBLR             X8                                                     ; +0x90, 0x100233a70\nMOV             X19, #0                                                ; +0x94, 0x100233a74\nMOV             X0, X19                                                ; +0x98, 0x100233a78\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x9c, 0x100233a7c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0xa0, 0x100233a80\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0xa4, 0x100233a84\nRET                                                                    ; +0xa8, 0x100233a88", "xrefs": ["GauntletLayer::setupGauntlet @ 0x100232d3c"], "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"}