{"type": "func", "start": 4299918128, "end": 4299918227, "name": "EndLevelLayer::create", "pseudocode": "// \n// EndLevelLayer::create from 0x1004b8b30 to 0x1004b8b93 (99 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::showEndLayer @ 0x100082b50\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:31:02 +0000\n// \n\n_QWORD *__fastcall EndLevelLayer::create(__int64 a1)\n{\n  _QWORD *v1; // rbx\n\n  v1 = operator new(0x2B0u);\n  EndLevelLayer::EndLevelLayer(v1);\n  v1[76] = a1;\n  if ( (unsigned __int8)GJDropDownLayer::init(v1, \" \", 1, 230.0) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EndLevelLayer::create from 0x1004b8b30 to 0x1004b8b93 (99 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::showEndLayer @ 0x100082b50\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:31:02 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004b8b30\nmov     rbp, rsp                                                       ; +0x1, 0x1004b8b31\npush    r14                                                            ; +0x4, 0x1004b8b34\npush    rbx                                                            ; +0x6, 0x1004b8b36\nmov     r14, rdi                                                       ; +0x7, 0x1004b8b37\nmov     edi, 2B0h; __sz                                                ; +0xa, 0x1004b8b3a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1004b8b3f\nmov     rbx, rax                                                       ; +0x14, 0x1004b8b44\nmov     rdi, rax                                                       ; +0x17, 0x1004b8b47\ncall    EndLevelLayer__EndLevelLayer                                   ; +0x1a, 0x1004b8b4a\nmov     [rbx+260h], r14                                                ; +0x1f, 0x1004b8b4f\nlea     rsi, asc_100A41844; \" \"                                        ; +0x26, 0x1004b8b56\nmovss   xmm0, cs:dword_100A06340                                       ; +0x2d, 0x1004b8b5d\nmov     rdi, rbx                                                       ; +0x35, 0x1004b8b65\nmov     edx, 1                                                         ; +0x38, 0x1004b8b68\ncall    GJDropDownLayer__init                                          ; +0x3d, 0x1004b8b6d\ntest    al, al                                                         ; +0x42, 0x1004b8b72\njz      short loc_1004B8B80                                            ; +0x44, 0x1004b8b74\nmov     rdi, rbx                                                       ; +0x46, 0x1004b8b76\ncall    cocos2d__CCObject__autorelease                                 ; +0x49, 0x1004b8b79\njmp     short loc_1004B8B8B                                            ; +0x4e, 0x1004b8b7e\nmov     rax, [rbx]                                                     ; +0x50, 0x1004b8b80\nmov     rdi, rbx                                                       ; +0x53, 0x1004b8b83\ncall    qword ptr [rax+10h]                                            ; +0x56, 0x1004b8b86\nxor     ebx, ebx                                                       ; +0x59, 0x1004b8b89\nmov     rax, rbx                                                       ; +0x5b, 0x1004b8b8b\npop     rbx                                                            ; +0x5e, 0x1004b8b8e\npop     r14                                                            ; +0x5f, 0x1004b8b8f\npop     rbp                                                            ; +0x61, 0x1004b8b91\nretn                                                                   ; +0x62, 0x1004b8b92", "xrefs": ["PlayLayer::showEndLayer @ 0x100082b50"], "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"}