{"type": "func", "start": 4299793668, "end": 4299793772, "name": "LevelBrowserLayer::createNewSmartTemplate", "pseudocode": "// \n// LevelBrowserLayer::createNewSmartTemplate from 0x10049a504 to 0x10049a56c (104 bytes)\n// \n// 1 xrefs:\n// > LevelBrowserLayer::onNew @ 0x100497428\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:58 +0000\n// \n\n__int64 __fastcall LevelBrowserLayer::createNewSmartTemplate(__int64 a1)\n{\n  __int64 v2; // x0\n  _QWORD *v3; // x0\n  _QWORD *v4; // x0\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1088LL))(a1, 0);\n  v2 = GameLevelManager::sharedState();\n  v3 = sub_1000B0AD8(v2);\n  v4 = sub_100078CC8((__int64)v3);\n  (*(void (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);\n  return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1328LL))(a1, 0);\n}", "assembly": "; \n; LevelBrowserLayer::createNewSmartTemplate from 0x10049a504 to 0x10049a56c (104 bytes)\n; \n; 1 xrefs:\n; > LevelBrowserLayer::onNew @ 0x100497428\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:58 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10049a504\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10049a508\nADD             X29, SP, #0x10                                         ; +0x8, 0x10049a50c\nMOV             X19, X0                                                ; +0xc, 0x10049a510\nLDR             X8, [X0]                                               ; +0x10, 0x10049a514\nLDR             X8, [X8,#0x430]                                        ; +0x14, 0x10049a518\nMOV             W1, #0                                                 ; +0x18, 0x10049a51c\nBLR             X8                                                     ; +0x1c, 0x10049a520\nLDR             X8, [X19]                                              ; +0x20, 0x10049a524\nLDR             X8, [X8,#0x440]                                        ; +0x24, 0x10049a528\nMOV             X0, X19                                                ; +0x28, 0x10049a52c\nMOV             W1, #0                                                 ; +0x2c, 0x10049a530\nBLR             X8                                                     ; +0x30, 0x10049a534\nBL              GameLevelManager__sharedState                          ; +0x34, 0x10049a538\nBL              sub_1000B0AD8                                          ; +0x38, 0x10049a53c\nBL              sub_100078CC8                                          ; +0x3c, 0x10049a540\nLDR             X8, [X0]                                               ; +0x40, 0x10049a544\nLDR             X8, [X8,#0x520]                                        ; +0x44, 0x10049a548\nBLR             X8                                                     ; +0x48, 0x10049a54c\nLDR             X8, [X19]                                              ; +0x4c, 0x10049a550\nLDR             X2, [X8,#0x530]                                        ; +0x50, 0x10049a554\nMOV             X0, X19                                                ; +0x54, 0x10049a558\nMOV             X1, #0                                                 ; +0x58, 0x10049a55c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x10049a560\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x10049a564\nBR              X2                                                     ; +0x64, 0x10049a568", "xrefs": ["LevelBrowserLayer::onNew @ 0x100497428"], "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"}