{"type": "func", "start": 4798094, "end": 4798148, "name": "CreatorLayer::onBack", "pseudocode": "// \n// CreatorLayer::onBack from 0x49368e to 0x4936c4 (54 bytes)\n// \n// 1 xrefs:\n// > CreatorLayer::keyBackClicked @ 0x4936c6\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:39 +0000\n// \n\nint __fastcall CreatorLayer::onBack(CreatorLayer *this, cocos2d::CCObject *a2)\n{\n  cocos2d::CCDirector *v3; // r5\n  bool v4; // r1\n  int v5; // r2\n  AppDelegate *v6; // r0\n  cocos2d::CCScene *v7; // r2\n  cocos2d::CCScene *v8; // r0\n  int result; // r0\n\n  v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(this);\n  v6 = MenuLayer::scene(nullptr, v4, v5);\n  v8 = (cocos2d::CCScene *)cocos2d::CCTransitionFade::create((cocos2d::CCTransitionFade *)0x3F000000, *(float *)&v6, v7);\n  result = cocos2d::CCDirector::replaceScene(v3, v8);\n  if ( result )\n    return (*(int (__fastcall **)(CreatorLayer *, _DWORD))(*(_DWORD *)this + 536))(this, 0);\n  return result;\n}", "assembly": "; \n; CreatorLayer::onBack from 0x49368e to 0x4936c4 (54 bytes)\n; \n; 1 xrefs:\n; > CreatorLayer::keyBackClicked @ 0x4936c6\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:49:39 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x49368e\nMOV             R4, R0                                                 ; +0x2, 0x493690\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x493692\nMOV             R5, R0                                                 ; +0x8, 0x493696\nMOVS            R0, #0; this                                           ; +0xa, 0x493698\nBL              _ZN9MenuLayer5sceneEb; MenuLayer::scene(bool)          ; +0xc, 0x49369a\nMOV             R1, R0; float                                          ; +0x10, 0x49369e\nMOV.W           R0, #0x3F000000; this                                  ; +0x12, 0x4936a0\nBL              _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x16, 0x4936a4\nMOV             R1, R0; lpsrc                                          ; +0x1a, 0x4936a8\nMOV             R0, R5; this                                           ; +0x1c, 0x4936aa\nBL              _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x1e, 0x4936ac\nCBZ             R0, locret_4936C2                                      ; +0x22, 0x4936b0\nLDR             R3, [R4]                                               ; +0x24, 0x4936b2\nMOV             R0, R4                                                 ; +0x26, 0x4936b4\nMOVS            R1, #0                                                 ; +0x28, 0x4936b6\nPOP.W           {R4-R6,LR}                                             ; +0x2a, 0x4936b8\nLDR.W           R3, [R3,#0x218]                                        ; +0x2e, 0x4936bc\nBX              R3                                                     ; +0x32, 0x4936c0\nPOP             {R4-R6,PC}                                             ; +0x34, 0x4936c2", "xrefs": ["CreatorLayer::keyBackClicked @ 0x4936c6"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}