{"type": "func", "start": 4299947056, "end": 4299947155, "name": "EndLevelLayer::create", "pseudocode": "// \n// EndLevelLayer::create from 0x1004bfc30 to 0x1004bfc93 (99 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::showEndLayer @ 0x1000b529f\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\nEndLevelLayer *__fastcall EndLevelLayer::create(PlayLayer *a1)\n{\n  EndLevelLayer *v1; // rbx\n\n  v1 = (EndLevelLayer *)operator new(0x2B0u);\n  EndLevelLayer::EndLevelLayer(v1);\n  v1->m_playLayer = a1;\n  if ( GJDropDownLayer::init(v1, \" \", 230.0, 1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(EndLevelLayer *))v1->~EndLevelLayer_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; EndLevelLayer::create from 0x1004bfc30 to 0x1004bfc93 (99 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::showEndLayer @ 0x1000b529f\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, 0x1004bfc30\nmov     rbp, rsp                                                       ; +0x1, 0x1004bfc31\npush    r14                                                            ; +0x4, 0x1004bfc34\npush    rbx                                                            ; +0x6, 0x1004bfc36\nmov     r14, rdi                                                       ; +0x7, 0x1004bfc37\nmov     edi, 2B0h; __sz                                                ; +0xa, 0x1004bfc3a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1004bfc3f\nmov     rbx, rax                                                       ; +0x14, 0x1004bfc44\nmov     rdi, rax                                                       ; +0x17, 0x1004bfc47\ncall    EndLevelLayer__EndLevelLayer                                   ; +0x1a, 0x1004bfc4a\nmov     [rbx+260h], r14                                                ; +0x1f, 0x1004bfc4f\nlea     rsi, asc_100823F54; \" \"                                        ; +0x26, 0x1004bfc56\nmovss   xmm0, cs:dword_100817F18                                       ; +0x2d, 0x1004bfc5d\nmov     rdi, rbx                                                       ; +0x35, 0x1004bfc65\nmov     edx, 1                                                         ; +0x38, 0x1004bfc68\ncall    GJDropDownLayer__init                                          ; +0x3d, 0x1004bfc6d\ntest    al, al                                                         ; +0x42, 0x1004bfc72\njz      short loc_1004BFC80                                            ; +0x44, 0x1004bfc74\nmov     rdi, rbx                                                       ; +0x46, 0x1004bfc76\ncall    cocos2d__CCObject__autorelease                                 ; +0x49, 0x1004bfc79\njmp     short loc_1004BFC8B                                            ; +0x4e, 0x1004bfc7e\nmov     rax, [rbx]                                                     ; +0x50, 0x1004bfc80\nmov     rdi, rbx                                                       ; +0x53, 0x1004bfc83\ncall    qword ptr [rax+10h]                                            ; +0x56, 0x1004bfc86\nxor     ebx, ebx                                                       ; +0x59, 0x1004bfc89\nmov     rax, rbx                                                       ; +0x5b, 0x1004bfc8b\npop     rbx                                                            ; +0x5e, 0x1004bfc8e\npop     r14                                                            ; +0x5f, 0x1004bfc8f\npop     rbp                                                            ; +0x61, 0x1004bfc91\nretn                                                                   ; +0x62, 0x1004bfc92", "xrefs": ["PlayLayer::showEndLayer @ 0x1000b529f"], "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"}