; ; FLAlertLayer::init_1 from 0x140051ac0 to 0x140051bc7 (263 bytes) ; ; 55 xrefs: ; > AccountRegisterLayer::init @ 0x140078ad0 ; > AudioAssetsBrowser::init @ 0x1400837d1 ; > ChallengesPage::init @ 0x1400853b1 ; > CharacterColorPage::init @ 0x140087fdb ; > CollisionBlockPopup::init @ 0x14008aa84 ; > ColorSelectLiveOverlay::init @ 0x14008bea3 ; > CommunityCreditsPage::init @ 0x14009412b ; > HSVWidgetPopup::init @ 0x140096633 ; > ConfigureValuePopup::init @ 0x1400986ab ; > CreateGuidelinesLayer::init @ 0x140099895 ; > CustomizeObjectLayer::init @ 0x1400a5495 ; > SongOptionsLayer::init @ 0x1400c45e9 ; > NewgroundsInfoLayer::init @ 0x1400c5687 ; > NCSInfoLayer::init @ 0x1400c6428 ; > FollowRewardPage::init @ 0x140139d96 ; > FRequestProfilePage::init @ 0x14013dac2 ; > FriendsProfilePage::init @ 0x14013fdcf ; > GJColorSetupLayer::init @ 0x1402560d2 ; > ItemInfoPopup::init @ 0x14027b8fe ; > TOSPopup::init @ 0x14029dfc3 ; > GJSpecialColorSelect::init @ 0x1402b7e8a ; > HSVLiveOverlay::init @ 0x1402b99eb ; > InfoLayer::init @ 0x1402bab03 ; > KeybindingsLayer::init @ 0x1402bf99e ; > LevelLeaderboard::init @ 0x140300b82 ; > DemonFilterSelectLayer::init @ 0x140317996 ; > LevelSettingsLayer::init @ 0x14031eaac ; > LikeItemLayer::init @ 0x14032de84 ; > MessagesProfilePage::init @ 0x140336757 ; > MusicBrowser::init @ 0x1403388f4 ; > OptionsScrollLayer::create @ 0x14033ac50 ; > NumberInputLayer::init @ 0x140348459 ; > ParentalOptionsLayer::init @ 0x14037b59e ; > ProfilePage::init @ 0x1403be88a ; > DemonInfoPopup::init @ 0x1403c7276 ; > StarInfoPopup::init @ 0x1403c8250 ; > RateDemonLayer::init @ 0x1403c8b7d ; > RateLevelLayer::init @ 0x1403c97ad ; > RateStarsLayer::init @ 0x1403ca1a7 ; > RewardUnlockLayer::init @ 0x1403cde70 ; > SetupObjectOptionsPopup::init @ 0x1403fdf72 ; > SelectPremadeLayer::init @ 0x140406c10 ; > CreateParticlePopup::init @ 0x14042c1a2 ; > SetupSmartBlockLayer::init @ 0x140456a53 ; > SetupSmartTemplateLayer::init @ 0x140458be1 ; > BrowseSmartTemplateLayer::init @ 0x140459e15 ; > BrowseSmartKeyLayer::init @ 0x14045b4cf ; > SetupTriggerPopup::init @ 0x140473cc5 ; > SFXBrowser::init @ 0x14047e6e0 ; > ShardsPage::init @ 0x140489b7e ; > ShareCommentLayer::init @ 0x14048d0bf ; > ShareLevelSettingsLayer::init @ 0x14049111c ; > SongInfoLayer::init @ 0x1404929ec ; > TopArtistsLayer::init @ 0x1404cac54 ; > @ 0x1406c4e18 ; ; 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 ; push rbx ; +0x0, 0x140051ac0 sub rsp, 20h ; +0x2, 0x140051ac2 mov rbx, rcx ; +0x6, 0x140051ac6 mov word ptr [rsp+28h+arg_8], 0 ; +0x9, 0x140051ac9 mov byte ptr [rsp+28h+arg_8+2], 0 ; +0x10, 0x140051ad0 mov byte ptr [rsp+28h+arg_8+3], dl ; +0x15, 0x140051ad5 mov eax, [rsp+28h+arg_8] ; +0x19, 0x140051ad9 mov [rsp+28h+arg_8], eax ; +0x1d, 0x140051add lea rdx, [rsp+28h+arg_8] ; +0x21, 0x140051ae1 call cs:__imp_?initWithColor@CCLayerColor@cocos2d@@UEAA_NAEBU_ccColor4B@2@@Z; cocos2d::CCLayerColor::initWithColor(cocos2d::_ccColor4B const &) ; +0x26, 0x140051ae6 test al, al ; +0x2c, 0x140051aec jnz short loc_140051AF6 ; +0x2e, 0x140051aee add rsp, 20h ; +0x30, 0x140051af0 pop rbx ; +0x34, 0x140051af4 retn ; +0x35, 0x140051af5 mov rcx, cs:qword_1406C2ED8 ; +0x36, 0x140051af6 test rcx, rcx ; +0x3d, 0x140051afd jnz short loc_140051B31 ; +0x40, 0x140051b00 mov ecx, 668h; Size ; +0x42, 0x140051b02 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x47, 0x140051b07 mov [rsp+28h+arg_10], rax ; +0x4c, 0x140051b0c mov rcx, rax ; +0x51, 0x140051b11 call sub_14017AB00 ; +0x54, 0x140051b14 nop ; +0x59, 0x140051b19 mov cs:qword_1406C2ED8, rax ; +0x5a, 0x140051b1a mov rdx, [rax] ; +0x61, 0x140051b21 mov rcx, rax ; +0x64, 0x140051b24 call qword ptr [rdx+48h] ; +0x67, 0x140051b27 mov rcx, cs:qword_1406C2ED8 ; +0x6a, 0x140051b2a lea rdx, a0168; "0168" ; +0x71, 0x140051b31 call GameManager__getGameVariable ; +0x78, 0x140051b38 test al, al ; +0x7d, 0x140051b3d jz short loc_140051B48 ; +0x7f, 0x140051b3f mov byte ptr [rbx+24Ch], 1 ; +0x81, 0x140051b41 cmp byte ptr [rbx+274h], 0 ; +0x88, 0x140051b48 jnz short loc_140051B7C ; +0x8f, 0x140051b4f mov byte ptr [rbx+274h], 1 ; +0x91, 0x140051b51 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x98, 0x140051b58 mov rdx, [rax] ; +0x9e, 0x140051b5e mov rcx, rax ; +0xa1, 0x140051b61 call qword ptr [rdx+90h] ; +0xa4, 0x140051b64 mov rcx, rax ; +0xaa, 0x140051b6a mov r8d, 2 ; +0xad, 0x140051b6d mov rdx, rbx ; +0xb3, 0x140051b73 call cs:?registerForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@H@Z; cocos2d::CCTouchDispatcher::registerForcePrio(cocos2d::CCObject *,int) ; +0xb6, 0x140051b76 mov rax, [rbx] ; +0xbc, 0x140051b7c mov dl, 1 ; +0xbf, 0x140051b7f mov rcx, rbx ; +0xc1, 0x140051b81 call qword ptr [rax+388h] ; +0xc4, 0x140051b84 mov rax, [rbx] ; +0xca, 0x140051b8a mov dl, 1 ; +0xcd, 0x140051b8d mov rcx, rbx ; +0xcf, 0x140051b8f call qword ptr [rax+3D0h] ; +0xd2, 0x140051b92 call cs:?create@CCLayer@cocos2d@@SAPEAV12@XZ; cocos2d::CCLayer::create(void) ; +0xd8, 0x140051b98 mov [rbx+240h], rax ; +0xde, 0x140051b9e mov r8, [rbx] ; +0xe5, 0x140051ba5 mov rdx, rax ; +0xe8, 0x140051ba8 mov rcx, rbx ; +0xeb, 0x140051bab call qword ptr [r8+1C0h] ; +0xee, 0x140051bae mov dword ptr [rbx+270h], 0FFFFFFFFh ; +0xf5, 0x140051bb5 mov al, 1 ; +0xff, 0x140051bbf add rsp, 20h ; +0x101, 0x140051bc1 pop rbx ; +0x105, 0x140051bc5 retn ; +0x106, 0x140051bc6