//
// FLAlertLayer::incrementForcePrio from 0x10049bf70 to 0x10049bfb1 (65 bytes)
//
// 33 xrefs:
// > CustomSongLayer::init @ 0x100214c9a
// > RewardsPage::init @ 0x10021a237
// > DailyLevelPage::init @ 0x10023025a
// > SelectArtLayer::init @ 0x10026f9db
// > SelectSettingLayer::init @ 0x1002709c1
// > ShareLevelLayer::init @ 0x1002801ca
// > UploadPopup::init @ 0x100281ad5
// > SelectFontLayer::init @ 0x100299f65
// > GJAccountSettingsLayer::init @ 0x10029f329
// > UpdateAccountSettingsPopup::init @ 0x1002a3360
// > UploadActionPopup::init @ 0x1002a4198
// > FriendRequestPopup::init @ 0x1002a4f69
// > GJMessagePopup::init @ 0x1002a6cfb
// > GJWriteMessagePopup::init @ 0x1002a8daa
// > SetIDPopup::init @ 0x1002abb90
// > SetTextPopup::init @ 0x1002aebca
// > GJPromoPopup::init @ 0x1002b64c9
// > GJPathsLayer::init @ 0x1002fe3e5
// > GJPathPage::init @ 0x1002ff190
// > GJPathRewardPopup::init @ 0x100302f9a
// > SetGroupIDLayer::init @ 0x1003125d7
// > PurchaseItemPopup::init @ 0x100327a42
// > SelectListIconLayer::init @ 0x100361405
// > ShareListLayer::init @ 0x100361dea
// > UploadListPopup::init @ 0x100363905
// > WorldLevelPage::init @ 0x1003c574a
// > SelectSFXSortLayer::init @ 0x1004411e5
// > AccountLoginLayer::init @ 0x100498e2c
// > SelectEventLayer::init @ 0x1005783c4
// > MoreSearchLayer::init @ 0x10062d047
// > MoreOptionsLayer::init @ 0x10079b844
// > VideoOptionsLayer::init @ 0x10079f09f
// > MoreVideoOptionsLayer::init @ 0x1007a1041
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall FLAlertLayer::incrementForcePrio(FLAlertLayer *a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
if ( !a1->m_forcePrioRegistered )
{
a1->m_forcePrioRegistered = 1;
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::registerForcePrio(v2, a1, 2);
}
}