{"type": "func", "start": 4298450208, "end": 4298450542, "name": "GJGarageLayer::node", "pseudocode": "// \n// GJGarageLayer::node from 0x100352520 to 0x10035266e (334 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::scene @ 0x1003524f7\n// \n// This function is hookable on this platform (idp: pc, 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 12:28:50 +0000\n// \n\nchar *GJGarageLayer::node()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x268u);\n  cocos2d::CCLayer::CCLayer(v0);\n  *(_QWORD *)v0 = off_100B23828;\n  *((_QWORD *)v0 + 40) = off_100B23D08;\n  *((_QWORD *)v0 + 41) = &off_100B23D78;\n  *((_QWORD *)v0 + 42) = off_100B23D90;\n  *((_QWORD *)v0 + 43) = off_100B23DB0;\n  *((_QWORD *)v0 + 44) = off_100B23DD8;\n  *((_QWORD *)v0 + 51) = off_100B23E08;\n  *((_QWORD *)v0 + 52) = &off_100B23E50;\n  *((_QWORD *)v0 + 53) = &off_100B23E68;\n  *((_QWORD *)v0 + 54) = &off_100B23E80;\n  *((_QWORD *)v0 + 55) = &off_100B23E98;\n  *((_QWORD *)v0 + 56) = off_100B23EB0;\n  *((_QWORD *)v0 + 57) = off_100B23ED0;\n  *((_QWORD *)v0 + 59) = 0;\n  *((_OWORD *)v0 + 33) = 0;\n  *((_OWORD *)v0 + 31) = 0;\n  v0[512] = 0;\n  *((_QWORD *)v0 + 65) = v0 + 528;\n  *(_OWORD *)(v0 + 552) = 0;\n  *((_QWORD *)v0 + 71) = 0;\n  *((_QWORD *)v0 + 75) = 0;\n  v0[608] = 0;\n  if ( (unsigned __int8)GJGarageLayer::init(v0) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; GJGarageLayer::node from 0x100352520 to 0x10035266e (334 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::scene @ 0x1003524f7\n; \n; This function is hookable on this platform (idp: pc, 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 12:28:50 +0000\n; \npush    rbp                                                            ; +0x0, 0x100352520\nmov     rbp, rsp                                                       ; +0x1, 0x100352521\npush    r14                                                            ; +0x4, 0x100352524\npush    rbx                                                            ; +0x6, 0x100352526\nmov     edi, 268h; __sz                                                ; +0x7, 0x100352527\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10035252c\nmov     rbx, rax                                                       ; +0x11, 0x100352531\nmov     rdi, rax                                                       ; +0x14, 0x100352534\ncall    cocos2d__CCLayer__CCLayer                                      ; +0x17, 0x100352537\nlea     rax, off_100B23828                                             ; +0x1c, 0x10035253c\nmov     [rbx], rax                                                     ; +0x23, 0x100352543\nlea     rax, off_100B23D08                                             ; +0x26, 0x100352546\nmov     [rbx+140h], rax                                                ; +0x2d, 0x10035254d\nlea     rax, off_100B23D78                                             ; +0x34, 0x100352554\nmov     [rbx+148h], rax                                                ; +0x3b, 0x10035255b\nlea     rax, off_100B23D90                                             ; +0x42, 0x100352562\nmov     [rbx+150h], rax                                                ; +0x49, 0x100352569\nlea     rax, off_100B23DB0                                             ; +0x50, 0x100352570\nmov     [rbx+158h], rax                                                ; +0x57, 0x100352577\nlea     rax, off_100B23DD8                                             ; +0x5e, 0x10035257e\nmov     [rbx+160h], rax                                                ; +0x65, 0x100352585\nlea     rax, off_100B23E08                                             ; +0x6c, 0x10035258c\nmov     [rbx+198h], rax                                                ; +0x73, 0x100352593\nlea     rax, off_100B23E50                                             ; +0x7a, 0x10035259a\nmov     [rbx+1A0h], rax                                                ; +0x81, 0x1003525a1\nlea     rax, off_100B23E68                                             ; +0x88, 0x1003525a8\nmov     [rbx+1A8h], rax                                                ; +0x8f, 0x1003525af\nlea     rax, off_100B23E80                                             ; +0x96, 0x1003525b6\nmov     [rbx+1B0h], rax                                                ; +0x9d, 0x1003525bd\nlea     rax, off_100B23E98                                             ; +0xa4, 0x1003525c4\nmov     [rbx+1B8h], rax                                                ; +0xab, 0x1003525cb\nlea     rax, off_100B23EB0                                             ; +0xb2, 0x1003525d2\nmov     [rbx+1C0h], rax                                                ; +0xb9, 0x1003525d9\nlea     rax, off_100B23ED0                                             ; +0xc0, 0x1003525e0\nmov     [rbx+1C8h], rax                                                ; +0xc7, 0x1003525e7\nmov     qword ptr [rbx+1D8h], 0                                        ; +0xce, 0x1003525ee\nmov     rax, rbx                                                       ; +0xd9, 0x1003525f9\nadd     rax, 210h                                                      ; +0xdc, 0x1003525fc\nxorps   xmm0, xmm0                                                     ; +0xe2, 0x100352602\nmovups  xmmword ptr [rbx+210h], xmm0                                   ; +0xe5, 0x100352605\nmovups  xmmword ptr [rbx+1F0h], xmm0                                   ; +0xec, 0x10035260c\nmov     byte ptr [rbx+200h], 0                                         ; +0xf3, 0x100352613\nmov     [rbx+208h], rax                                                ; +0xfa, 0x10035261a\nmovups  xmmword ptr [rbx+228h], xmm0                                   ; +0x101, 0x100352621\nmov     qword ptr [rbx+238h], 0                                        ; +0x108, 0x100352628\nmov     qword ptr [rbx+258h], 0                                        ; +0x113, 0x100352633\nmov     byte ptr [rbx+260h], 0                                         ; +0x11e, 0x10035263e\nmov     rdi, rbx                                                       ; +0x125, 0x100352645\ncall    GJGarageLayer__init                                            ; +0x128, 0x100352648\ntest    al, al                                                         ; +0x12d, 0x10035264d\njz      short loc_10035265B                                            ; +0x12f, 0x10035264f\nmov     rdi, rbx                                                       ; +0x131, 0x100352651\ncall    cocos2d__CCObject__autorelease                                 ; +0x134, 0x100352654\njmp     short loc_100352666                                            ; +0x139, 0x100352659\nmov     rax, [rbx]                                                     ; +0x13b, 0x10035265b\nmov     rdi, rbx                                                       ; +0x13e, 0x10035265e\ncall    qword ptr [rax+10h]                                            ; +0x141, 0x100352661\nxor     ebx, ebx                                                       ; +0x144, 0x100352664\nmov     rax, rbx                                                       ; +0x146, 0x100352666\npop     rbx                                                            ; +0x149, 0x100352669\npop     r14                                                            ; +0x14a, 0x10035266a\npop     rbp                                                            ; +0x14c, 0x10035266c\nretn                                                                   ; +0x14d, 0x10035266d", "xrefs": ["GJGarageLayer::scene @ 0x1003524f7"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}