{"type": "func", "start": 4298543376, "end": 4298543710, "name": "GJGarageLayer::node", "pseudocode": "// \n// GJGarageLayer::node from 0x100369110 to 0x10036925e (334 bytes)\n// \n// 1 xrefs:\n// > GJGarageLayer::scene @ 0x1003690e7\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  char *v0; // rbx\n\n  v0 = (char *)operator new(0x268u);\n  cocos2d::CCLayer::CCLayer(v0);\n  *(_QWORD *)v0 = off_10091B678;\n  *((_QWORD *)v0 + 40) = off_10091BB48;\n  *((_QWORD *)v0 + 41) = &off_10091BBB8;\n  *((_QWORD *)v0 + 42) = off_10091BBD0;\n  *((_QWORD *)v0 + 43) = off_10091BBF0;\n  *((_QWORD *)v0 + 44) = off_10091BC10;\n  *((_QWORD *)v0 + 51) = off_10091BC38;\n  *((_QWORD *)v0 + 52) = &off_10091BC80;\n  *((_QWORD *)v0 + 53) = &off_10091BC98;\n  *((_QWORD *)v0 + 54) = &off_10091BCB0;\n  *((_QWORD *)v0 + 55) = &off_10091BCC8;\n  *((_QWORD *)v0 + 56) = off_10091BCE0;\n  *((_QWORD *)v0 + 57) = off_10091BD00;\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 ( GJGarageLayer::init((GJGarageLayer *)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (GJGarageLayer *)v0;\n}", "assembly": "; \n; GJGarageLayer::node from 0x100369110 to 0x10036925e (334 bytes)\n; \n; 1 xrefs:\n; > GJGarageLayer::scene @ 0x1003690e7\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\npush    rbp                                                            ; +0x0, 0x100369110\nmov     rbp, rsp                                                       ; +0x1, 0x100369111\npush    r14                                                            ; +0x4, 0x100369114\npush    rbx                                                            ; +0x6, 0x100369116\nmov     edi, 268h; __sz                                                ; +0x7, 0x100369117\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10036911c\nmov     rbx, rax                                                       ; +0x11, 0x100369121\nmov     rdi, rax                                                       ; +0x14, 0x100369124\ncall    cocos2d__CCLayer__CCLayer                                      ; +0x17, 0x100369127\nlea     rax, off_10091B678                                             ; +0x1c, 0x10036912c\nmov     [rbx], rax                                                     ; +0x23, 0x100369133\nlea     rax, off_10091BB48                                             ; +0x26, 0x100369136\nmov     [rbx+140h], rax                                                ; +0x2d, 0x10036913d\nlea     rax, off_10091BBB8                                             ; +0x34, 0x100369144\nmov     [rbx+148h], rax                                                ; +0x3b, 0x10036914b\nlea     rax, off_10091BBD0                                             ; +0x42, 0x100369152\nmov     [rbx+150h], rax                                                ; +0x49, 0x100369159\nlea     rax, off_10091BBF0                                             ; +0x50, 0x100369160\nmov     [rbx+158h], rax                                                ; +0x57, 0x100369167\nlea     rax, off_10091BC10                                             ; +0x5e, 0x10036916e\nmov     [rbx+160h], rax                                                ; +0x65, 0x100369175\nlea     rax, off_10091BC38                                             ; +0x6c, 0x10036917c\nmov     [rbx+198h], rax                                                ; +0x73, 0x100369183\nlea     rax, off_10091BC80                                             ; +0x7a, 0x10036918a\nmov     [rbx+1A0h], rax                                                ; +0x81, 0x100369191\nlea     rax, off_10091BC98                                             ; +0x88, 0x100369198\nmov     [rbx+1A8h], rax                                                ; +0x8f, 0x10036919f\nlea     rax, off_10091BCB0                                             ; +0x96, 0x1003691a6\nmov     [rbx+1B0h], rax                                                ; +0x9d, 0x1003691ad\nlea     rax, off_10091BCC8                                             ; +0xa4, 0x1003691b4\nmov     [rbx+1B8h], rax                                                ; +0xab, 0x1003691bb\nlea     rax, off_10091BCE0                                             ; +0xb2, 0x1003691c2\nmov     [rbx+1C0h], rax                                                ; +0xb9, 0x1003691c9\nlea     rax, off_10091BD00                                             ; +0xc0, 0x1003691d0\nmov     [rbx+1C8h], rax                                                ; +0xc7, 0x1003691d7\nmov     qword ptr [rbx+1D8h], 0                                        ; +0xce, 0x1003691de\nmov     rax, rbx                                                       ; +0xd9, 0x1003691e9\nadd     rax, 210h                                                      ; +0xdc, 0x1003691ec\nxorps   xmm0, xmm0                                                     ; +0xe2, 0x1003691f2\nmovups  xmmword ptr [rbx+210h], xmm0                                   ; +0xe5, 0x1003691f5\nmovups  xmmword ptr [rbx+1F0h], xmm0                                   ; +0xec, 0x1003691fc\nmov     byte ptr [rbx+200h], 0                                         ; +0xf3, 0x100369203\nmov     [rbx+208h], rax                                                ; +0xfa, 0x10036920a\nmovups  xmmword ptr [rbx+228h], xmm0                                   ; +0x101, 0x100369211\nmov     qword ptr [rbx+238h], 0                                        ; +0x108, 0x100369218\nmov     qword ptr [rbx+258h], 0                                        ; +0x113, 0x100369223\nmov     byte ptr [rbx+260h], 0                                         ; +0x11e, 0x10036922e\nmov     rdi, rbx                                                       ; +0x125, 0x100369235\ncall    GJGarageLayer__init                                            ; +0x128, 0x100369238\ntest    al, al                                                         ; +0x12d, 0x10036923d\njz      short loc_10036924B                                            ; +0x12f, 0x10036923f\nmov     rdi, rbx                                                       ; +0x131, 0x100369241\ncall    cocos2d__CCObject__autorelease                                 ; +0x134, 0x100369244\njmp     short loc_100369256                                            ; +0x139, 0x100369249\nmov     rax, [rbx]                                                     ; +0x13b, 0x10036924b\nmov     rdi, rbx                                                       ; +0x13e, 0x10036924e\ncall    qword ptr [rax+10h]                                            ; +0x141, 0x100369251\nxor     ebx, ebx                                                       ; +0x144, 0x100369254\nmov     rax, rbx                                                       ; +0x146, 0x100369256\npop     rbx                                                            ; +0x149, 0x100369259\npop     r14                                                            ; +0x14a, 0x10036925a\npop     rbp                                                            ; +0x14c, 0x10036925c\nretn                                                                   ; +0x14d, 0x10036925d", "xrefs": ["GJGarageLayer::scene @ 0x1003690e7"], "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"}