{"type": "func", "start": 4300154028, "end": 4300154224, "name": "LevelStatsInfoPopup::create", "pseudocode": "// \n// LevelStatsInfoPopup::create from 0x1004f24ac to 0x1004f2570 (196 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::onLevelInfo @ 0x10002c398\n// > EditLevelLayer::onLevelInfo @ 0x100111720\n// \n// This function is hookable on this platform (idp: arm, 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 11:06:46 +0000\n// \n\nchar *__fastcall LevelStatsInfoPopup::create(__int64 a1)\n{\n  char *v2; // x19\n\n  v2 = (char *)operator new(0x2E0u);\n  bzero(v2, 0x2E0u);\n  FLAlertLayer::FLAlertLayer((__int64)v2);\n  *(_QWORD *)v2 = &off_100994328;\n  *((_QWORD *)v2 + 40) = off_100994878;\n  *((_QWORD *)v2 + 41) = &off_1009948E8;\n  *((_QWORD *)v2 + 42) = off_100994900;\n  *((_QWORD *)v2 + 43) = off_100994920;\n  *((_QWORD *)v2 + 44) = off_100994948;\n  *((_QWORD *)v2 + 51) = off_100994978;\n  *((_QWORD *)v2 + 54) = off_1009949F8;\n  *((_QWORD *)v2 + 68) = off_100994A18;\n  *((_QWORD *)v2 + 91) = 0;\n  *(_OWORD *)(v2 + 664) = 0u;\n  *(_OWORD *)(v2 + 680) = 0u;\n  *(_OWORD *)(v2 + 696) = 0u;\n  *(_OWORD *)(v2 + 712) = 0u;\n  if ( (unsigned int)LevelStatsInfoPopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; LevelStatsInfoPopup::create from 0x1004f24ac to 0x1004f2570 (196 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::onLevelInfo @ 0x10002c398\n; > EditLevelLayer::onLevelInfo @ 0x100111720\n; \n; This function is hookable on this platform (idp: arm, 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 11:06:46 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004f24ac\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004f24b0\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004f24b4\nMOV             X20, X0                                                ; +0xc, 0x1004f24b8\nMOV             W0, #0x2E0; __sz                                       ; +0x10, 0x1004f24bc\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1004f24c0\nMOV             X19, X0                                                ; +0x18, 0x1004f24c4\nMOV             W1, #0x2E0; size_t                                     ; +0x1c, 0x1004f24c8\nBL              _bzero                                                 ; +0x20, 0x1004f24cc\nMOV             X0, X19                                                ; +0x24, 0x1004f24d0\nBL              FLAlertLayer__FLAlertLayer                             ; +0x28, 0x1004f24d4\nADRL            X8, off_100994328                                      ; +0x2c, 0x1004f24d8\nSTR             X8, [X19]                                              ; +0x34, 0x1004f24e0\nADD             X9, X8, #(off_100994878 - 0x100994328)                 ; +0x38, 0x1004f24e4\nADD             X10, X8, #(off_1009948E8 - 0x100994328)                ; +0x3c, 0x1004f24e8\nSTP             X9, X10, [X19,#0x140]                                  ; +0x40, 0x1004f24ec\nADD             X9, X8, #(off_100994900 - 0x100994328)                 ; +0x44, 0x1004f24f0\nADD             X10, X8, #(off_100994920 - 0x100994328)                ; +0x48, 0x1004f24f4\nSTP             X9, X10, [X19,#0x150]                                  ; +0x4c, 0x1004f24f8\nADD             X9, X8, #(off_100994948 - 0x100994328)                 ; +0x50, 0x1004f24fc\nSTR             X9, [X19,#0x160]                                       ; +0x54, 0x1004f2500\nADD             X9, X8, #(off_100994978 - 0x100994328)                 ; +0x58, 0x1004f2504\nSTR             X9, [X19,#0x198]                                       ; +0x5c, 0x1004f2508\nADD             X9, X8, #(off_1009949F8 - 0x100994328)                 ; +0x60, 0x1004f250c\nSTR             X9, [X19,#0x1B0]                                       ; +0x64, 0x1004f2510\nADD             X8, X8, #(off_100994A18 - 0x100994328)                 ; +0x68, 0x1004f2514\nSTR             X8, [X19,#0x220]                                       ; +0x6c, 0x1004f2518\nADD             X8, X19, #0x298                                        ; +0x70, 0x1004f251c\nSTR             XZR, [X19,#0x2D8]                                      ; +0x74, 0x1004f2520\nMOVI            V0.16B, #0                                             ; +0x78, 0x1004f2524\nSTP             Q0, Q0, [X8]                                           ; +0x7c, 0x1004f2528\nSTP             Q0, Q0, [X8,#0x20]                                     ; +0x80, 0x1004f252c\nMOV             X0, X19                                                ; +0x84, 0x1004f2530\nMOV             X1, X20                                                ; +0x88, 0x1004f2534\nBL              LevelStatsInfoPopup__init                              ; +0x8c, 0x1004f2538\nCBZ             W0, loc_1004F254C                                      ; +0x90, 0x1004f253c\nMOV             X0, X19                                                ; +0x94, 0x1004f2540\nBL              cocos2d__CCObject__autorelease                         ; +0x98, 0x1004f2544\nB               loc_1004F2560                                          ; +0x9c, 0x1004f2548\nLDR             X8, [X19]                                              ; +0xa0, 0x1004f254c\nLDR             X8, [X8,#0x10]                                         ; +0xa4, 0x1004f2550\nMOV             X0, X19                                                ; +0xa8, 0x1004f2554\nBLR             X8                                                     ; +0xac, 0x1004f2558\nMOV             X19, #0                                                ; +0xb0, 0x1004f255c\nMOV             X0, X19                                                ; +0xb4, 0x1004f2560\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xb8, 0x1004f2564\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xbc, 0x1004f2568\nRET                                                                    ; +0xc0, 0x1004f256c", "xrefs": ["LevelInfoLayer::onLevelInfo @ 0x10002c398", "EditLevelLayer::onLevelInfo @ 0x100111720"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}