{"type": "func", "start": 5373127376, "end": 5373127444, "name": "LevelSearchLayer::onSearchMode", "pseudocode": "// \n// LevelSearchLayer::onSearchMode from 0x140436ad0 to 0x140436b14 (68 bytes)\n// \n// 2 xrefs:\n// > LevelSearchLayer::init @ 0x140434982\n// > <???> @ 0x140926de0\n// \n// This function is hookable on this platform (idp: pc, 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:32:17 +0000\n// \n\nbool __fastcall LevelSearchLayer::onSearchMode(__int64 a1, __int64 a2, __int64 a3, __int64 a4)\n{\n  struct cocos2d::CCScene *v4; // rax\n  struct cocos2d::CCScene *v5; // rbx\n  __int64 v6; // rcx\n  cocos2d::CCDirector *v7; // rax\n\n  v4 = (struct cocos2d::CCScene *)LevelSearchLayer::scene(*(_DWORD *)(a1 + 432) == 0, a2, a3, a4);\n  v5 = cocos2d::CCTransitionFade::create(0.5, v4);\n  v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6);\n  return cocos2d::CCDirector::replaceScene(v7, v5);\n}", "assembly": "; \n; LevelSearchLayer::onSearchMode from 0x140436ad0 to 0x140436b14 (68 bytes)\n; \n; 2 xrefs:\n; > LevelSearchLayer::init @ 0x140434982\n; > <???> @ 0x140926de0\n; \n; This function is hookable on this platform (idp: pc, 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:32:17 +0000\n; \npush    rbx                                                            ; +0x0, 0x140436ad0\nsub     rsp, 20h                                                       ; +0x2, 0x140436ad2\nxor     eax, eax                                                       ; +0x6, 0x140436ad6\ncmp     [rcx+1B0h], eax                                                ; +0x8, 0x140436ad8\nsetz    al                                                             ; +0xe, 0x140436ade\nmov     ecx, eax                                                       ; +0x11, 0x140436ae1\ncall    LevelSearchLayer__scene                                        ; +0x13, 0x140436ae3\nmovss   xmm0, cs:dword_140834F20                                       ; +0x18, 0x140436ae8\nmov     rdx, rax                                                       ; +0x20, 0x140436af0\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x23, 0x140436af3\nmov     rbx, rax                                                       ; +0x29, 0x140436af9\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x140436afc\nmov     rcx, rax                                                       ; +0x32, 0x140436b02\nmov     rdx, rbx                                                       ; +0x35, 0x140436b05\nadd     rsp, 20h                                                       ; +0x38, 0x140436b08\npop     rbx                                                            ; +0x3c, 0x140436b0c\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3d, 0x140436b0d", "xrefs": ["LevelSearchLayer::init @ 0x140434982", "<???> @ 0x140926de0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}