{"type": "func", "start": 4295342552, "end": 4295342620, "name": "LevelSearchLayer::onSearchMode", "pseudocode": "// \n// LevelSearchLayer::onSearchMode from 0x10005b9d8 to 0x10005ba1c (68 bytes)\n// \n// 1 xrefs:\n// > LevelSearchLayer::init @ 0x10005a0f0\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 10:57:48 +0000\n// \n\n__int64 __fastcall LevelSearchLayer::onSearchMode(__int64 a1)\n{\n  _BOOL8 v1; // x19\n  int v2; // w20\n  __int64 v3; // x0\n  void *v4; // x1\n\n  v1 = *(_DWORD *)(a1 + 432) == 0;\n  v2 = cocos2d::CCDirector::sharedDirector(a1);\n  v3 = LevelSearchLayer::scene(v1);\n  v4 = (void *)cocos2d::CCTransitionFade::create_1(v3, 0.5);\n  return cocos2d::CCDirector::replaceScene(v2, v4);\n}", "assembly": "; \n; LevelSearchLayer::onSearchMode from 0x10005b9d8 to 0x10005ba1c (68 bytes)\n; \n; 1 xrefs:\n; > LevelSearchLayer::init @ 0x10005a0f0\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 10:57:48 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10005b9d8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10005b9dc\nADD             X29, SP, #0x10                                         ; +0x8, 0x10005b9e0\nLDR             W8, [X0,#0x1B0]                                        ; +0xc, 0x10005b9e4\nCMP             W8, #0                                                 ; +0x10, 0x10005b9e8\nCSET            W19, EQ                                                ; +0x14, 0x10005b9ec\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x18, 0x10005b9f0\nMOV             X20, X0                                                ; +0x1c, 0x10005b9f4\nMOV             X0, X19                                                ; +0x20, 0x10005b9f8\nBL              LevelSearchLayer__scene                                ; +0x24, 0x10005b9fc\nFMOV            S0, #0.5                                               ; +0x28, 0x10005ba00\nBL              cocos2d__CCTransitionFade__create_1                    ; +0x2c, 0x10005ba04\nMOV             X1, X0; lpsrc                                          ; +0x30, 0x10005ba08\nMOV             X0, X20; int                                           ; +0x34, 0x10005ba0c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x38, 0x10005ba10\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x3c, 0x10005ba14\nB               cocos2d__CCDirector__replaceScene                      ; +0x40, 0x10005ba18", "xrefs": ["LevelSearchLayer::init @ 0x10005a0f0"], "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"}