{"type": "func", "start": 5373266496, "end": 5373266537, "name": "SetupSmartBlockLayer::onSelectTemplate", "pseudocode": "// \n// SetupSmartBlockLayer::onSelectTemplate from 0x140458a40 to 0x140458a69 (41 bytes)\n// \n// 2 xrefs:\n// > SetupSmartBlockLayer::init @ 0x140456fd6\n// > <???> @ 0x1406daa78\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\nvoid SetupSmartBlockLayer::onSelectTemplate(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2)\n{\n  GJSearchObject *v2; // rax\n  LevelBrowserLayer *v3; // rax\n\n  v2 = GJSearchObject::create_2(SmartTemplates);\n  v2->m_searchIsOverlay = 1;\n  v3 = LevelBrowserLayer::create(v2);\n  LevelBrowserLayer::show(v3);\n}", "assembly": "; \n; SetupSmartBlockLayer::onSelectTemplate from 0x140458a40 to 0x140458a69 (41 bytes)\n; \n; 2 xrefs:\n; > SetupSmartBlockLayer::init @ 0x140456fd6\n; > <???> @ 0x1406daa78\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\nsub     rsp, 28h                                                       ; +0x0, 0x140458a40\nmov     ecx, 65h ; 'e'                                                 ; +0x4, 0x140458a44\ncall    GJSearchObject__create_2                                       ; +0x9, 0x140458a49\nmov     rcx, rax                                                       ; +0xe, 0x140458a4e\nmov     byte ptr [rax+1CEh], 1                                         ; +0x11, 0x140458a51\ncall    LevelBrowserLayer__create                                      ; +0x18, 0x140458a58\nmov     rcx, rax                                                       ; +0x1d, 0x140458a5d\nadd     rsp, 28h                                                       ; +0x20, 0x140458a60\njmp     LevelBrowserLayer__show                                        ; +0x24, 0x140458a64", "xrefs": ["SetupSmartBlockLayer::init @ 0x140456fd6", "<???> @ 0x1406daa78"], "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"}