// // FLAlertLayer::keyBackClicked from 0x100494d00 to 0x100494db3 (179 bytes) // // 3 xrefs: // > sub_100494DC0 @ 0x100494dcc // > @ 0x100b4ffc8 // > @ 0x100bd3fd8 // // 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 12:30:48 +0000 // __int64 __fastcall FLAlertLayer::keyBackClicked(_BYTE *a1) { __int64 v2; // rax __int64 v3; // rax char v4; // r14 __int64 v5; // rax __int64 v6; // rax void (__fastcall ***v7)(_QWORD, _BYTE *, __int64); // rdi void (__fastcall **v8)(_QWORD, _BYTE *, __int64); // rax _BYTE *v9; // rsi __int64 v10; // rdx (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); (*(void (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a1 + 1088LL))(a1, 0); if ( a1[656] != 1 ) { v4 = a1[576]; v5 = cocos2d::CCDirector::sharedDirector(); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1); v7 = *((void (__fastcall ****)(_QWORD, _BYTE *, __int64))a1 + 70); if ( v4 ) { if ( !v7 ) return (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1); v8 = *v7; v9 = a1; v10 = 1; } else { if ( !v7 ) return (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1); v8 = *v7; v9 = a1; v10 = 0; } (*v8)(v7, v9, v10); return (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1); } v2 = cocos2d::CCDirector::sharedDirector(); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2); cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, a1); return (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1); }