{"type": "func", "start": 4296800372, "end": 4296800492, "name": "GauntletNode::create", "pseudocode": "// \n// GauntletNode::create from 0x1001bf874 to 0x1001bf8ec (120 bytes)\n// \n// 1 xrefs:\n// > GauntletSelectLayer::setupGauntlets @ 0x1001bf3e0\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\nGauntletNode *__fastcall GauntletNode::create(GJMapPack *a1)\n{\n  GauntletNode *v2; // x19\n\n  v2 = (GauntletNode *)operator new(0x168u);\n  cocos2d::CCNode::CCNode(v2);\n  v2->__vftable = (GauntletNode_vtbl *)off_1007B6B78;\n  v2->m_gauntlet = nullptr;\n  v2->m_locked = 0;\n  v2->m_gauntletInfoNode = nullptr;\n  v2->m_rewardNode = nullptr;\n  if ( GauntletNode::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(GauntletNode *))v2->~GauntletNode_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GauntletNode::create from 0x1001bf874 to 0x1001bf8ec (120 bytes)\n; \n; 1 xrefs:\n; > GauntletSelectLayer::setupGauntlets @ 0x1001bf3e0\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, 0x1001bf874\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001bf878\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001bf87c\nMOV             X20, X0                                                ; +0xc, 0x1001bf880\nMOV             W0, #0x168; __sz                                       ; +0x10, 0x1001bf884\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1001bf888\nMOV             X19, X0                                                ; +0x18, 0x1001bf88c\nBL              cocos2d__CCNode__CCNode                                ; +0x1c, 0x1001bf890\nADRL            X8, off_1007B6B78                                      ; +0x20, 0x1001bf894\nSTR             X8, [X19]                                              ; +0x28, 0x1001bf89c\nSTR             XZR, [X19,#0x158]                                      ; +0x2c, 0x1001bf8a0\nSTRB            WZR, [X19,#0x160]                                      ; +0x30, 0x1001bf8a4\nSTP             XZR, XZR, [X19,#0x140]                                 ; +0x34, 0x1001bf8a8\nMOV             X0, X19                                                ; +0x38, 0x1001bf8ac\nMOV             X1, X20                                                ; +0x3c, 0x1001bf8b0\nBL              GauntletNode__init                                     ; +0x40, 0x1001bf8b4\nCBZ             W0, loc_1001BF8C8                                      ; +0x44, 0x1001bf8b8\nMOV             X0, X19                                                ; +0x48, 0x1001bf8bc\nBL              cocos2d__CCObject__autorelease                         ; +0x4c, 0x1001bf8c0\nB               loc_1001BF8DC                                          ; +0x50, 0x1001bf8c4\nLDR             X8, [X19]                                              ; +0x54, 0x1001bf8c8\nLDR             X8, [X8,#0x10]                                         ; +0x58, 0x1001bf8cc\nMOV             X0, X19                                                ; +0x5c, 0x1001bf8d0\nBLR             X8                                                     ; +0x60, 0x1001bf8d4\nMOV             X19, #0                                                ; +0x64, 0x1001bf8d8\nMOV             X0, X19                                                ; +0x68, 0x1001bf8dc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x6c, 0x1001bf8e0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x70, 0x1001bf8e4\nRET                                                                    ; +0x74, 0x1001bf8e8", "xrefs": ["GauntletSelectLayer::setupGauntlets @ 0x1001bf3e0"], "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"}