{"type": "func", "start": 4296296912, "end": 4296297101, "name": "GJGameLoadingLayer::create", "pseudocode": "// \n// GJGameLoadingLayer::create from 0x1001449d0 to 0x100144a8d (189 bytes)\n// \n// 0 xrefs:\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:24:57 +0000\n// \n\n_QWORD *__fastcall GJGameLoadingLayer::create(__int64 a1, unsigned __int8 a2)\n{\n  _QWORD *v2; // rbx\n\n  v2 = operator new(0x1A8u);\n  cocos2d::CCLayer::CCLayer(v2);\n  *v2 = off_100AC5350;\n  v2[40] = off_100AC57E0;\n  v2[41] = &off_100AC5850;\n  v2[42] = off_100AC5868;\n  v2[43] = off_100AC5888;\n  v2[44] = off_100AC58B0;\n  v2[51] = 0;\n  *((_BYTE *)v2 + 416) = 0;\n  if ( (unsigned __int8)GJGameLoadingLayer::init(v2, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GJGameLoadingLayer::create from 0x1001449d0 to 0x100144a8d (189 bytes)\n; \n; 0 xrefs:\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:24:57 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001449d0\nmov     rbp, rsp                                                       ; +0x1, 0x1001449d1\npush    r15                                                            ; +0x4, 0x1001449d4\npush    r14                                                            ; +0x6, 0x1001449d6\npush    rbx                                                            ; +0x8, 0x1001449d8\npush    rax                                                            ; +0x9, 0x1001449d9\nmov     r15d, esi                                                      ; +0xa, 0x1001449da\nmov     r14, rdi                                                       ; +0xd, 0x1001449dd\nmov     edi, 1A8h; __sz                                                ; +0x10, 0x1001449e0\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x1001449e5\nmov     rbx, rax                                                       ; +0x1a, 0x1001449ea\nmov     rdi, rax                                                       ; +0x1d, 0x1001449ed\ncall    cocos2d__CCLayer__CCLayer                                      ; +0x20, 0x1001449f0\nlea     rax, off_100AC5350                                             ; +0x25, 0x1001449f5\nmov     [rbx], rax                                                     ; +0x2c, 0x1001449fc\nlea     rax, off_100AC57E0                                             ; +0x2f, 0x1001449ff\nmov     [rbx+140h], rax                                                ; +0x36, 0x100144a06\nlea     rax, off_100AC5850                                             ; +0x3d, 0x100144a0d\nmov     [rbx+148h], rax                                                ; +0x44, 0x100144a14\nlea     rax, off_100AC5868                                             ; +0x4b, 0x100144a1b\nmov     [rbx+150h], rax                                                ; +0x52, 0x100144a22\nlea     rax, off_100AC5888                                             ; +0x59, 0x100144a29\nmov     [rbx+158h], rax                                                ; +0x60, 0x100144a30\nlea     rax, off_100AC58B0                                             ; +0x67, 0x100144a37\nmov     [rbx+160h], rax                                                ; +0x6e, 0x100144a3e\nmov     qword ptr [rbx+198h], 0                                        ; +0x75, 0x100144a45\nmov     byte ptr [rbx+1A0h], 0                                         ; +0x80, 0x100144a50\nmovzx   edx, r15b                                                      ; +0x87, 0x100144a57\nmov     rdi, rbx                                                       ; +0x8b, 0x100144a5b\nmov     rsi, r14                                                       ; +0x8e, 0x100144a5e\ncall    GJGameLoadingLayer__init                                       ; +0x91, 0x100144a61\ntest    al, al                                                         ; +0x96, 0x100144a66\njz      short loc_100144A74                                            ; +0x98, 0x100144a68\nmov     rdi, rbx                                                       ; +0x9a, 0x100144a6a\ncall    cocos2d__CCObject__autorelease                                 ; +0x9d, 0x100144a6d\njmp     short loc_100144A7F                                            ; +0xa2, 0x100144a72\nmov     rax, [rbx]                                                     ; +0xa4, 0x100144a74\nmov     rdi, rbx                                                       ; +0xa7, 0x100144a77\ncall    qword ptr [rax+10h]                                            ; +0xaa, 0x100144a7a\nxor     ebx, ebx                                                       ; +0xad, 0x100144a7d\nmov     rax, rbx                                                       ; +0xaf, 0x100144a7f\nadd     rsp, 8                                                         ; +0xb2, 0x100144a82\npop     rbx                                                            ; +0xb6, 0x100144a86\npop     r14                                                            ; +0xb7, 0x100144a87\npop     r15                                                            ; +0xb9, 0x100144a89\npop     rbp                                                            ; +0xbb, 0x100144a8b\nretn                                                                   ; +0xbc, 0x100144a8c", "xrefs": [], "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"}