// // cocos2d::CCLayer::keyBackClicked from 0x1800522d0 to 0x18005230d (61 bytes) // // 8 xrefs: // > @ 0x1800f34c0 // > @ 0x1800f39a0 // > @ 0x1800f3f10 // > @ 0x1800f4508 // > @ 0x1800f4a78 // > @ 0x1800fd5c0 // > @ 0x18014cf68 // > @ 0x1801bc244 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:45 +0000 // void __fastcall cocos2d::CCLayer::keyBackClicked(cocos2d::CCLayer *this) { char *v1; // rbx struct cocos2d::CCScriptEngineManager *v2; // rax v1 = (char *)this - 336; if ( *((_QWORD *)this + 5) || *((_DWORD *)this - 9) == 2 ) { v2 = cocos2d::CCScriptEngineManager::sharedManager(); (*(void (__fastcall **)(_QWORD, char *, __int64))(**(_QWORD **)v2 + 120LL))(*(_QWORD *)v2, v1, 1); } }