{"type": "func", "start": 4298069872, "end": 4298069988, "name": "EndLevelLayer::create", "pseudocode": "// \n// EndLevelLayer::create from 0x1002f5770 to 0x1002f57e4 (116 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::showEndLayer @ 0x10011ae1c\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 *v2; // x19\n\n  v2 = (EndLevelLayer *)operator new(0x2B0u);\n  EndLevelLayer::EndLevelLayer(v2);\n  v2->m_playLayer = a1;\n  if ( GJDropDownLayer::init(v2, \" \", 230.0, 1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(EndLevelLayer *))v2->~EndLevelLayer_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; EndLevelLayer::create from 0x1002f5770 to 0x1002f57e4 (116 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::showEndLayer @ 0x10011ae1c\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002f5770\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002f5774\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002f5778\nMOV             X20, X0                                                ; +0xc, 0x1002f577c\nMOV             W0, #0x2B0; __sz                                       ; +0x10, 0x1002f5780\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1002f5784\nMOV             X19, X0                                                ; +0x18, 0x1002f5788\nBL              EndLevelLayer__EndLevelLayer                           ; +0x1c, 0x1002f578c\nSTR             X20, [X19,#0x260]                                      ; +0x20, 0x1002f5790\nADRL            X1, asc_1006B11F7; \" \"                                 ; +0x24, 0x1002f5794\nMOV             W8, #0x43660000                                        ; +0x2c, 0x1002f579c\nFMOV            S0, W8                                                 ; +0x30, 0x1002f57a0\nMOV             X0, X19                                                ; +0x34, 0x1002f57a4\nMOV             W2, #1                                                 ; +0x38, 0x1002f57a8\nBL              GJDropDownLayer__init                                  ; +0x3c, 0x1002f57ac\nCBZ             W0, loc_1002F57C0                                      ; +0x40, 0x1002f57b0\nMOV             X0, X19                                                ; +0x44, 0x1002f57b4\nBL              cocos2d__CCObject__autorelease                         ; +0x48, 0x1002f57b8\nB               loc_1002F57D4                                          ; +0x4c, 0x1002f57bc\nLDR             X8, [X19]                                              ; +0x50, 0x1002f57c0\nLDR             X8, [X8,#0x10]                                         ; +0x54, 0x1002f57c4\nMOV             X0, X19                                                ; +0x58, 0x1002f57c8\nBLR             X8                                                     ; +0x5c, 0x1002f57cc\nMOV             X19, #0                                                ; +0x60, 0x1002f57d0\nMOV             X0, X19                                                ; +0x64, 0x1002f57d4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1002f57d8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x1002f57dc\nRET                                                                    ; +0x70, 0x1002f57e0", "xrefs": ["PlayLayer::showEndLayer @ 0x10011ae1c"], "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"}