{"type": "func", "start": 4295267532, "end": 4295267628, "name": "GJUINode::create", "pseudocode": "// \n// GJUINode::create from 0x1000494cc to 0x10004952c (96 bytes)\n// \n// 6 xrefs:\n// > UILayer::init @ 0x100049064\n// > UIOptionsLayer::init @ 0x1002e2b10\n// > UIOptionsLayer::init @ 0x1002e2b54\n// > UIOptionsLayer::init @ 0x1002e2be8\n// > UIOptionsLayer::init @ 0x1002e2c28\n// > UIOptionsLayer::init @ 0x1002e2cb0\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\nGJUINode *__fastcall GJUINode::create(UIButtonConfig *a1)\n{\n  GJUINode *v2; // x19\n\n  v2 = (GJUINode *)operator new(0x188u);\n  sub_10004B464();\n  if ( GJUINode::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJUINode *))v2->~GJUINode_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJUINode::create from 0x1000494cc to 0x10004952c (96 bytes)\n; \n; 6 xrefs:\n; > UILayer::init @ 0x100049064\n; > UIOptionsLayer::init @ 0x1002e2b10\n; > UIOptionsLayer::init @ 0x1002e2b54\n; > UIOptionsLayer::init @ 0x1002e2be8\n; > UIOptionsLayer::init @ 0x1002e2c28\n; > UIOptionsLayer::init @ 0x1002e2cb0\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, 0x1000494cc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000494d0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000494d4\nMOV             X20, X0                                                ; +0xc, 0x1000494d8\nMOV             W0, #0x188; __sz                                       ; +0x10, 0x1000494dc\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1000494e0\nMOV             X19, X0                                                ; +0x18, 0x1000494e4\nBL              sub_10004B464                                          ; +0x1c, 0x1000494e8\nMOV             X0, X19                                                ; +0x20, 0x1000494ec\nMOV             X1, X20                                                ; +0x24, 0x1000494f0\nBL              GJUINode__init                                         ; +0x28, 0x1000494f4\nCBZ             W0, loc_100049508                                      ; +0x2c, 0x1000494f8\nMOV             X0, X19                                                ; +0x30, 0x1000494fc\nBL              cocos2d__CCObject__autorelease                         ; +0x34, 0x100049500\nB               loc_10004951C                                          ; +0x38, 0x100049504\nLDR             X8, [X19]                                              ; +0x3c, 0x100049508\nLDR             X8, [X8,#0x10]                                         ; +0x40, 0x10004950c\nMOV             X0, X19                                                ; +0x44, 0x100049510\nBLR             X8                                                     ; +0x48, 0x100049514\nMOV             X19, #0                                                ; +0x4c, 0x100049518\nMOV             X0, X19                                                ; +0x50, 0x10004951c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100049520\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100049524\nRET                                                                    ; +0x5c, 0x100049528", "xrefs": ["UILayer::init @ 0x100049064", "UIOptionsLayer::init @ 0x1002e2b10", "UIOptionsLayer::init @ 0x1002e2b54", "UIOptionsLayer::init @ 0x1002e2be8", "UIOptionsLayer::init @ 0x1002e2c28", "UIOptionsLayer::init @ 0x1002e2cb0"], "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"}