{"type": "func", "start": 3898352, "end": 3898410, "name": "EditLevelLayer::onTest", "pseudocode": "// \n// EditLevelLayer::onTest from 0x3b7bf0 to 0x3b7c2a (58 bytes)\n// \n// 0 xrefs:\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 EditLevelLayer::onTest(EditLevelLayer *a1, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // r4\n  cocos2d::CCScene *v4; // r0\n  cocos2d::CCTransitionFade *v5; // r1\n\n  EditLevelLayer::closeTextInputs(a1);\n  GameManager::sharedState()->m_sceneEnum = 3;\n  v3 = cocos2d::CCDirector::sharedDirector();\n  v4 = PlayLayer::scene(a1->m_level, 0, 0);\n  v5 = cocos2d::CCTransitionFade::create(0.5, v4);\n  cocos2d::CCDirector::replaceScene(v3, v5);\n}", "assembly": "; \n; EditLevelLayer::onTest from 0x3b7bf0 to 0x3b7c2a (58 bytes)\n; \n; 0 xrefs:\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            {R3-R5,LR}                                             ; +0x0, 0x3b7bf0\nMOV             R5, R0                                                 ; +0x2, 0x3b7bf2\nBL              _ZN14EditLevelLayer15closeTextInputsEv; EditLevelLayer::closeTextInputs(void) ; +0x4, 0x3b7bf4\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x8, 0x3b7bf8\nMOVS            R3, #3                                                 ; +0xc, 0x3b7bfc\nSTR.W           R3, [R0,#0x1C4]                                        ; +0xe, 0x3b7bfe\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x3b7c02\nMOVS            R1, #0; GJGameLevel *                                  ; +0x16, 0x3b7c06\nMOV             R2, R1; bool                                           ; +0x18, 0x3b7c08\nMOV             R4, R0                                                 ; +0x1a, 0x3b7c0a\nLDR.W           R0, [R5,#0x154]; this                                  ; +0x1c, 0x3b7c0c\nBL              _ZN9PlayLayer5sceneEP11GJGameLevelbb; PlayLayer::scene(GJGameLevel *,bool,bool) ; +0x20, 0x3b7c10\nMOV             R1, R0; float                                          ; +0x24, 0x3b7c14\nMOV.W           R0, #0x3F000000; this                                  ; +0x26, 0x3b7c16\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x2a, 0x3b7c1a\nMOV             R1, R0; lpsrc                                          ; +0x2e, 0x3b7c1e\nMOV             R0, R4; this                                           ; +0x30, 0x3b7c20\nPOP.W           {R3-R5,LR}                                             ; +0x32, 0x3b7c22\nB.W             _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x36, 0x3b7c26", "xrefs": [], "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"}