{"type": "func", "start": 4299771760, "end": 4299771856, "name": "LevelBrowserLayer::create", "pseudocode": "// \n// LevelBrowserLayer::create from 0x100494f70 to 0x100494fd0 (96 bytes)\n// \n// 4 xrefs:\n// > sub_10002C724 @ 0x10002c744\n// > SetupSmartBlockLayer::onSelectTemplate @ 0x100078670\n// > sub_100079570 @ 0x10007958c\n// > LevelBrowserLayer::scene @ 0x100494f48\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:05:55 +0000\n// \n\nvoid *__fastcall LevelBrowserLayer::create(__int64 a1)\n{\n  void *v2; // x19\n  double v3; // d0\n\n  v2 = operator new(0x348u);\n  v3 = LevelBrowserLayer::LevelBrowserLayer((__int64)v2);\n  if ( (unsigned int)LevelBrowserLayer::init(v2, a1, v3) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; LevelBrowserLayer::create from 0x100494f70 to 0x100494fd0 (96 bytes)\n; \n; 4 xrefs:\n; > sub_10002C724 @ 0x10002c744\n; > SetupSmartBlockLayer::onSelectTemplate @ 0x100078670\n; > sub_100079570 @ 0x10007958c\n; > LevelBrowserLayer::scene @ 0x100494f48\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:05:55 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100494f70\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100494f74\nADD             X29, SP, #0x10                                         ; +0x8, 0x100494f78\nMOV             X20, X0                                                ; +0xc, 0x100494f7c\nMOV             W0, #0x348; __sz                                       ; +0x10, 0x100494f80\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x100494f84\nMOV             X19, X0                                                ; +0x18, 0x100494f88\nBL              LevelBrowserLayer__LevelBrowserLayer                   ; +0x1c, 0x100494f8c\nMOV             X0, X19                                                ; +0x20, 0x100494f90\nMOV             X1, X20                                                ; +0x24, 0x100494f94\nBL              LevelBrowserLayer__init                                ; +0x28, 0x100494f98\nCBZ             W0, loc_100494FAC                                      ; +0x2c, 0x100494f9c\nMOV             X0, X19                                                ; +0x30, 0x100494fa0\nBL              cocos2d__CCObject__autorelease                         ; +0x34, 0x100494fa4\nB               loc_100494FC0                                          ; +0x38, 0x100494fa8\nLDR             X8, [X19]                                              ; +0x3c, 0x100494fac\nLDR             X8, [X8,#0x10]                                         ; +0x40, 0x100494fb0\nMOV             X0, X19                                                ; +0x44, 0x100494fb4\nBLR             X8                                                     ; +0x48, 0x100494fb8\nMOV             X19, #0                                                ; +0x4c, 0x100494fbc\nMOV             X0, X19                                                ; +0x50, 0x100494fc0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x100494fc4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x58, 0x100494fc8\nRET                                                                    ; +0x5c, 0x100494fcc", "xrefs": ["sub_10002C724 @ 0x10002c744", "SetupSmartBlockLayer::onSelectTemplate @ 0x100078670", "sub_100079570 @ 0x10007958c", "LevelBrowserLayer::scene @ 0x100494f48"], "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"}