{"type": "func", "start": 4298119892, "end": 4298119988, "name": "GJGarageLayer::node", "pseudocode": "// \n// GJGarageLayer::node from 0x100301ad4 to 0x100301b34 (96 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::scene @ 0x100301aac\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\nGJGarageLayer *__fastcall GJGarageLayer::node()\n{\n  GJGarageLayer *v0; // x19\n\n  v0 = (GJGarageLayer *)operator new(0x268u);\n  GJGarageLayer::GJGarageLayer(v0);\n  if ( ((unsigned int (__fastcall *)(GJGarageLayer *))v0->init)(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJGarageLayer *))v0->~GJGarageLayer_0)(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; GJGarageLayer::node from 0x100301ad4 to 0x100301b34 (96 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::scene @ 0x100301aac\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, 0x100301ad4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100301ad8\nADD             X29, SP, #0x10                                         ; +0x8, 0x100301adc\nMOV             W0, #0x268; __sz                                       ; +0xc, 0x100301ae0\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x100301ae4\nMOV             X19, X0                                                ; +0x14, 0x100301ae8\nBL              GJGarageLayer__GJGarageLayer                           ; +0x18, 0x100301aec\nLDR             X8, [X19]                                              ; +0x1c, 0x100301af0\nLDR             X8, [X8,#0x50]                                         ; +0x20, 0x100301af4\nMOV             X0, X19                                                ; +0x24, 0x100301af8\nBLR             X8                                                     ; +0x28, 0x100301afc\nCBZ             W0, loc_100301B10                                      ; +0x2c, 0x100301b00\nMOV             X0, X19                                                ; +0x30, 0x100301b04\nBL              cocos2d__CCObject__autorelease                         ; +0x34, 0x100301b08\nB               loc_100301B24                                          ; +0x38, 0x100301b0c\nLDR             X8, [X19]                                              ; +0x3c, 0x100301b10\nLDR             X8, [X8,#0x10]                                         ; +0x40, 0x100301b14\nMOV             X0, X19                                                ; +0x44, 0x100301b18\nBLR             X8                                                     ; +0x48, 0x100301b1c\nMOV             X19, #0                                                ; +0x4c, 0x100301b20\nMOV             X0, X19                                                ; +0x50, 0x100301b24\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100301b28\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100301b2c\nRET                                                                    ; +0x5c, 0x100301b30", "xrefs": ["GJGarageLayer::scene @ 0x100301aac"], "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"}