{"type": "func", "start": 4295189816, "end": 4295189936, "name": "ChallengeNode::create", "pseudocode": "// \n// ChallengeNode::create from 0x100036538 to 0x1000365b0 (120 bytes)\n// \n// 1 xrefs:\n// > ChallengesPage::createChallengeNode @ 0x100036074\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:57:32 +0000\n// \n\nvoid *__fastcall ChallengeNode::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  void *v6; // x19\n\n  v6 = operator new(0x168u);\n  ChallengeNode::ChallengeNode();\n  if ( (unsigned int)ChallengeNode::init(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v6);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; ChallengeNode::create from 0x100036538 to 0x1000365b0 (120 bytes)\n; \n; 1 xrefs:\n; > ChallengesPage::createChallengeNode @ 0x100036074\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:57:32 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x100036538\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10003653c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100036540\nADD             X29, SP, #0x20                                         ; +0xc, 0x100036544\nMOV             X20, X2                                                ; +0x10, 0x100036548\nMOV             X21, X1                                                ; +0x14, 0x10003654c\nMOV             X22, X0                                                ; +0x18, 0x100036550\nMOV             W0, #0x168; __sz                                       ; +0x1c, 0x100036554\nBL              __Znwm; operator new(ulong)                            ; +0x20, 0x100036558\nMOV             X19, X0                                                ; +0x24, 0x10003655c\nBL              ChallengeNode__ChallengeNode                           ; +0x28, 0x100036560\nMOV             X0, X19                                                ; +0x2c, 0x100036564\nMOV             X1, X22                                                ; +0x30, 0x100036568\nMOV             X2, X21                                                ; +0x34, 0x10003656c\nMOV             X3, X20                                                ; +0x38, 0x100036570\nBL              ChallengeNode__init                                    ; +0x3c, 0x100036574\nCBZ             W0, loc_100036588                                      ; +0x40, 0x100036578\nMOV             X0, X19                                                ; +0x44, 0x10003657c\nBL              cocos2d__CCObject__autorelease                         ; +0x48, 0x100036580\nB               loc_10003659C                                          ; +0x4c, 0x100036584\nLDR             X8, [X19]                                              ; +0x50, 0x100036588\nLDR             X8, [X8,#0x10]                                         ; +0x54, 0x10003658c\nMOV             X0, X19                                                ; +0x58, 0x100036590\nBLR             X8                                                     ; +0x5c, 0x100036594\nMOV             X19, #0                                                ; +0x60, 0x100036598\nMOV             X0, X19                                                ; +0x64, 0x10003659c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x1000365a0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x1000365a4\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x70, 0x1000365a8\nRET                                                                    ; +0x74, 0x1000365ac", "xrefs": ["ChallengesPage::createChallengeNode @ 0x100036074"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}