{"type": "func", "start": 5371913504, "end": 5371913572, "name": "LevelSearchLayer::onSearchMode", "pseudocode": "// \n// LevelSearchLayer::onSearchMode from 0x14030e520 to 0x14030e564 (68 bytes)\n// \n// 2 xrefs:\n// > LevelSearchLayer::init @ 0x14030c693\n// > <???> @ 0x1406d4724\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 LevelSearchLayer::onSearchMode(LevelSearchLayer *a1, cocos2d::CCObject *a2)\n{\n  struct cocos2d::CCScene *v2; // rax\n  struct cocos2d::CCTransitionFade *v3; // rbx\n  __int64 v4; // rcx\n  cocos2d::CCDirector *v5; // rax\n\n  v2 = LevelSearchLayer::scene(a1->m_type == 0);\n  v3 = cocos2d::CCTransitionFade::create(0.5, v2);\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v4);\n  cocos2d::CCDirector::replaceScene(v5, v3);\n}", "assembly": "; \n; LevelSearchLayer::onSearchMode from 0x14030e520 to 0x14030e564 (68 bytes)\n; \n; 2 xrefs:\n; > LevelSearchLayer::init @ 0x14030c693\n; > <???> @ 0x1406d4724\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\npush    rbx                                                            ; +0x0, 0x14030e520\nsub     rsp, 20h                                                       ; +0x2, 0x14030e522\nxor     eax, eax                                                       ; +0x6, 0x14030e526\ncmp     [rcx+1B0h], eax                                                ; +0x8, 0x14030e528\nsetz    al                                                             ; +0xe, 0x14030e52e\nmov     ecx, eax                                                       ; +0x11, 0x14030e531\ncall    LevelSearchLayer__scene                                        ; +0x13, 0x14030e533\nmovss   xmm0, cs:dword_140622B08                                       ; +0x18, 0x14030e538\nmov     rdx, rax                                                       ; +0x20, 0x14030e540\ncall    cs:?create@CCTransitionFade@cocos2d@@SAPEAV12@MPEAVCCScene@2@@Z; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x23, 0x14030e543\nmov     rbx, rax                                                       ; +0x29, 0x14030e549\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x14030e54c\nmov     rcx, rax                                                       ; +0x32, 0x14030e552\nmov     rdx, rbx                                                       ; +0x35, 0x14030e555\nadd     rsp, 20h                                                       ; +0x38, 0x14030e558\npop     rbx                                                            ; +0x3c, 0x14030e55c\njmp     cs:?replaceScene@CCDirector@cocos2d@@QEAA_NPEAVCCScene@2@@Z; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x3d, 0x14030e55d", "xrefs": ["LevelSearchLayer::init @ 0x14030c693", "<???> @ 0x1406d4724"], "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"}