//
// CustomSongLayer::showNewgroundsMessage from 0x97f2e4 to 0x97f3c4 (224 bytes)
//
// 2 xrefs:
// > CustomSongLayer::onSearch @ 0x97f4b0
// > ??> @ 0x968f8
//
// This function is hookable on this platform (idp: arm, 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:57:50 +0000
//
__int64 __fastcall CustomSongLayer::showNewgroundsMessage(CustomSongLayer *this)
{
__int64 v1; // x20
_QWORD v3[2]; // [xsp+20h] [xbp+20h] BYREF
void *v4; // [xsp+30h] [xbp+30h]
v4 = (void *)operator new(0x120u);
v3[1] = 273;
v3[0] = 289;
*((_BYTE *)memcpy(
v4,
"There are thousands of great custom songs for you to choose from Newgrounds. Please do not upload music y"
"ou did not create. You are only allowed to use songs from artists that have been scouted on Newgrounds. F"
"or more information, please check the Audio Guidelines.",
0x111u)
+ 273) = 0;
v1 = FLAlertLayer::create(
0,
(cocos2d::CCLabelBMFont *)"Newgrounds Info",
(char *)v3,
(ButtonSprite *)"OK",
nullptr,
380.0);
if ( (v3[0] & 1) != 0 )
operator delete(v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);
return _stack_chk_guard;
}