//
// FLAlertLayer::incrementForcePrio from 0x14005bd10 to 0x14005bd81 (113 bytes)
//
// 46 xrefs:
// > FLAlertLayer::init_1 @ 0x14005a7ae
// > FLAlertLayer::init @ 0x14005a965
// > AccountLoginLayer::init @ 0x140090b80
// > PagedListPopup::initFrame @ 0x1400c2c0a
// > SFXFolderPickerPopup::init @ 0x1400c40a1
// > MessageThreadsPage::init @ 0x1400d459f
// > ThreadViewPopup::init @ 0x1400d946b
// > LevelBadgePopup::init @ 0x1400e5f23
// > NewThreadPopup::init @ 0x1400ef0b4
// > ThreadRequestPopup::init @ 0x1400fea5c
// > SongUsagePopup::init @ 0x140101ee1
// > DeathTrackerPopup::init @ 0x1401047de
// > CustomSongLayer::init @ 0x140163cec
// > DailyLevelPage::init @ 0x14016f4a7
// > GJPathsLayer::init @ 0x1403929e4
// > GJPathPage::init @ 0x14039342f
// > GJPathRewardPopup::init @ 0x140397da4
// > GJAccountSettingsLayer::init @ 0x14039ca30
// > SocialLinksPopup::init @ 0x14039f3d9
// > UpdateAccountSettingsPopup::init @ 0x1403a0513
// > UploadActionPopup::init @ 0x1403a0e74
// > FriendRequestPopup::init @ 0x1403a1760
// > GJMessagePopup::init @ 0x1403a350c
// > SetIDPopup::init @ 0x1403a5610
// > SetTextPopup::init @ 0x1403a7328
// > GJPromoPopup::init @ 0x1403aac7b
// > PurchaseItemPopup::init @ 0x1403b50ce
// > IDNameBrowserPopup::init @ 0x1403c1770
// > SelectListIconLayer::init @ 0x1404313ed
// > ShareListLayer::init @ 0x140431d33
// > UploadListPopup::init @ 0x14043350b
// > MoreSearchLayer::init @ 0x14043ba26
// > SelectArtLayer::init @ 0x14045b57c
// > SelectSettingLayer::init @ 0x14045c48f
// > VideoOptionsLayer::init @ 0x1404cc9b2
// > MoreVideoOptionsLayer::init @ 0x1404cea43
// > RewardsPage::init @ 0x140561cdd
// > SelectFontLayer2::init @ 0x14058dea8
// > SetGroupIDLayer::init @ 0x14058e742
// > SelectEventLayer::init @ 0x1405fc8d2
// > SelectSFXSortLayer::init @ 0x140620bcf
// > ShareLevelLayer::init @ 0x1406305bd
// > UploadPopup::init @ 0x1406320eb
// > ??> @ 0x140887948
// > ??> @ 0x140887958
// > ??> @ 0x1409107d8
//
// 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:25:42 +0000
//
void __fastcall FLAlertLayer::incrementForcePrio(struct cocos2d::CCObject *a1)
{
__int64 v2; // rax
char v3; // bl
__int64 v4; // rax
cocos2d::CCTouchDispatcher *v5; // rax
if ( !*((_BYTE *)a1 + 644) )
{
v2 = *(_QWORD *)a1;
*((_BYTE *)a1 + 644) = 1;
v3 = (*(__int64 (**)(void))(v2 + 1072))();
v4 = cocos2d::CCDirector::sharedDirector();
v5 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 144LL))(v4);
cocos2d::CCTouchDispatcher::registerForcePrio(v5, a1, 2, v3 != 0);
}
}