{"type": "func", "start": 4300593280, "end": 4300593365, "name": "GJGameLevel::createWithCoder", "pseudocode": "// \n// GJGameLevel::createWithCoder from 0x10055d880 to 0x10055d8d5 (85 bytes)\n// \n// 1 xrefs:\n// > GJObjectDecoder::getDecodedObject @ 0x1007248c0\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\nGJGameLevel *__fastcall GJGameLevel::createWithCoder(DS_Dictionary *a1)\n{\n  GJGameLevel *v1; // r14\n\n  v1 = (GJGameLevel *)operator new(0x530u);\n  GJGameLevel::GJGameLevel(v1);\n  if ( ((unsigned __int8 (__fastcall *)(GJGameLevel *))v1->init)(v1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJGameLevel *))v1->~GJGameLevel_0)(v1);\n    v1 = nullptr;\n  }\n  GJGameLevel::dataLoaded(v1, a1);\n  return v1;\n}", "assembly": "; \n; GJGameLevel::createWithCoder from 0x10055d880 to 0x10055d8d5 (85 bytes)\n; \n; 1 xrefs:\n; > GJObjectDecoder::getDecodedObject @ 0x1007248c0\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, 0x10055d880\nmov     rbp, rsp                                                       ; +0x1, 0x10055d881\npush    r14                                                            ; +0x4, 0x10055d884\npush    rbx                                                            ; +0x6, 0x10055d886\nmov     rbx, rdi                                                       ; +0x7, 0x10055d887\nmov     edi, 530h; __sz                                                ; +0xa, 0x10055d88a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x10055d88f\nmov     r14, rax                                                       ; +0x14, 0x10055d894\nmov     rdi, rax                                                       ; +0x17, 0x10055d897\ncall    GJGameLevel__GJGameLevel                                       ; +0x1a, 0x10055d89a\nmov     rax, [r14]                                                     ; +0x1f, 0x10055d89f\nmov     rdi, r14                                                       ; +0x22, 0x10055d8a2\ncall    qword ptr [rax+50h]                                            ; +0x25, 0x10055d8a5\ntest    al, al                                                         ; +0x28, 0x10055d8a8\njz      short loc_10055D8B6                                            ; +0x2a, 0x10055d8aa\nmov     rdi, r14                                                       ; +0x2c, 0x10055d8ac\ncall    cocos2d__CCObject__autorelease                                 ; +0x2f, 0x10055d8af\njmp     short loc_10055D8C2                                            ; +0x34, 0x10055d8b4\nmov     rax, [r14]                                                     ; +0x36, 0x10055d8b6\nmov     rdi, r14                                                       ; +0x39, 0x10055d8b9\ncall    qword ptr [rax+10h]                                            ; +0x3c, 0x10055d8bc\nxor     r14d, r14d                                                     ; +0x3f, 0x10055d8bf\nmov     rdi, r14                                                       ; +0x42, 0x10055d8c2\nmov     rsi, rbx                                                       ; +0x45, 0x10055d8c5\ncall    GJGameLevel__dataLoaded                                        ; +0x48, 0x10055d8c8\nmov     rax, r14                                                       ; +0x4d, 0x10055d8cd\npop     rbx                                                            ; +0x50, 0x10055d8d0\npop     r14                                                            ; +0x51, 0x10055d8d1\npop     rbp                                                            ; +0x53, 0x10055d8d3\nretn                                                                   ; +0x54, 0x10055d8d4", "xrefs": ["GJObjectDecoder::getDecodedObject @ 0x1007248c0"], "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"}