// // FLAlertLayer::onButton from 0x100494a50 to 0x100494abd (109 bytes) // // 5 xrefs: // > FLAlertLayer::init @ 0x100494606 // > FLAlertLayer::init @ 0x100494680 // > sub_100494AC0 @ 0x100494b06 // > DailyRecallUnlockPopup::init @ 0x10098ab6b // > DailyRecallUnlockPopup::init @ 0x10098abc7 // // 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::onButton(_QWORD *a1, __int64 a2) { int v3; // r14d __int64 v4; // rax __int64 v5; // rax void (__fastcall ***v6)(_QWORD, _QWORD *, bool); // rdi v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v4 = cocos2d::CCDirector::sharedDirector(); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1); if ( v3 != 2 ) { v6 = (void (__fastcall ***)(_QWORD, _QWORD *, bool))a1[70]; if ( v6 ) (**v6)(v6, a1, v3 == 1); } return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1); }