{"type": "func", "start": 5372620736, "end": 5372620807, "name": "PlayLayer::onExit", "pseudocode": "// \n// PlayLayer::onExit from 0x1403bafc0 to 0x1403bb007 (71 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405c9a48\n// > <???> @ 0x1406d7178\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 PlayLayer::onExit(PlayLayer *a1)\n{\n  __int64 v2; // rcx\n  __int64 v3; // rcx\n\n  if ( !*(_BYTE *)(cocos2d::CCApplication::sharedApplication(a1) + 217) )\n  {\n    *(_BYTE *)(cocos2d::CCDirector::sharedDirector(v2) + 170) = 0;\n    *(_BYTE *)(cocos2d::CCApplication::sharedApplication(v3) + 217) = 1;\n    cocos2d::CCLayer::onExit(a1);\n  }\n}", "assembly": "; \n; PlayLayer::onExit from 0x1403bafc0 to 0x1403bb007 (71 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405c9a48\n; > <???> @ 0x1406d7178\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, 0x1403bafc0\nsub     rsp, 20h                                                       ; +0x2, 0x1403bafc2\nmov     rbx, rcx                                                       ; +0x6, 0x1403bafc6\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x9, 0x1403bafc9\ncmp     byte ptr [rax+0D9h], 0                                         ; +0xf, 0x1403bafcf\njnz     short loc_1403BB001                                            ; +0x16, 0x1403bafd6\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x1403bafd8\nmov     byte ptr [rax+0AAh], 0                                         ; +0x1e, 0x1403bafde\ncall    cs:?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x25, 0x1403bafe5\nmov     rcx, rbx                                                       ; +0x2b, 0x1403bafeb\nmov     byte ptr [rax+0D9h], 1                                         ; +0x2e, 0x1403bafee\nadd     rsp, 20h                                                       ; +0x35, 0x1403baff5\npop     rbx                                                            ; +0x39, 0x1403baff9\njmp     cs:__imp_?onExit@CCLayer@cocos2d@@UEAAXXZ; cocos2d::CCLayer::onExit(void) ; +0x3a, 0x1403baffa\nadd     rsp, 20h                                                       ; +0x41, 0x1403bb001\npop     rbx                                                            ; +0x45, 0x1403bb005\nretn                                                                   ; +0x46, 0x1403bb006", "xrefs": ["<???> @ 0x1405c9a48", "<???> @ 0x1406d7178"], "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"}