{"type": "func", "start": 4300771136, "end": 4300771221, "name": "GJGameLevel::createWithCoder", "pseudocode": "// \n// GJGameLevel::createWithCoder from 0x100588f40 to 0x100588f95 (85 bytes)\n// \n// 1 xrefs:\n// > GJObjectDecoder::getDecodedObject @ 0x1008037e0\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:32:23 +0000\n// \n\nvoid *__fastcall GJGameLevel::createWithCoder(__int64 a1)\n{\n  void *v1; // r14\n\n  v1 = operator new(0x740u);\n  GJGameLevel::GJGameLevel(v1);\n  if ( (*(unsigned __int8 (__fastcall **)(void *))(*(_QWORD *)v1 + 80LL))(v1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 16LL))(v1);\n    v1 = nullptr;\n  }\n  GJGameLevel::dataLoaded(v1, a1);\n  return v1;\n}", "assembly": "; \n; GJGameLevel::createWithCoder from 0x100588f40 to 0x100588f95 (85 bytes)\n; \n; 1 xrefs:\n; > GJObjectDecoder::getDecodedObject @ 0x1008037e0\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:32:23 +0000\n; \npush    rbp                                                            ; +0x0, 0x100588f40\nmov     rbp, rsp                                                       ; +0x1, 0x100588f41\npush    r14                                                            ; +0x4, 0x100588f44\npush    rbx                                                            ; +0x6, 0x100588f46\nmov     rbx, rdi                                                       ; +0x7, 0x100588f47\nmov     edi, 740h; __sz                                                ; +0xa, 0x100588f4a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x100588f4f\nmov     r14, rax                                                       ; +0x14, 0x100588f54\nmov     rdi, rax                                                       ; +0x17, 0x100588f57\ncall    GJGameLevel__GJGameLevel                                       ; +0x1a, 0x100588f5a\nmov     rax, [r14]                                                     ; +0x1f, 0x100588f5f\nmov     rdi, r14                                                       ; +0x22, 0x100588f62\ncall    qword ptr [rax+50h]                                            ; +0x25, 0x100588f65\ntest    al, al                                                         ; +0x28, 0x100588f68\njz      short loc_100588F76                                            ; +0x2a, 0x100588f6a\nmov     rdi, r14                                                       ; +0x2c, 0x100588f6c\ncall    cocos2d__CCObject__autorelease                                 ; +0x2f, 0x100588f6f\njmp     short loc_100588F82                                            ; +0x34, 0x100588f74\nmov     rax, [r14]                                                     ; +0x36, 0x100588f76\nmov     rdi, r14                                                       ; +0x39, 0x100588f79\ncall    qword ptr [rax+10h]                                            ; +0x3c, 0x100588f7c\nxor     r14d, r14d                                                     ; +0x3f, 0x100588f7f\nmov     rdi, r14                                                       ; +0x42, 0x100588f82\nmov     rsi, rbx                                                       ; +0x45, 0x100588f85\ncall    GJGameLevel__dataLoaded                                        ; +0x48, 0x100588f88\nmov     rax, r14                                                       ; +0x4d, 0x100588f8d\npop     rbx                                                            ; +0x50, 0x100588f90\npop     r14                                                            ; +0x51, 0x100588f91\npop     rbp                                                            ; +0x53, 0x100588f93\nretn                                                                   ; +0x54, 0x100588f94", "xrefs": ["GJObjectDecoder::getDecodedObject @ 0x1008037e0"], "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"}