//
// SecretLayer5::fadeInMessage from 0xbc373c to 0xbc38e8 (428 bytes)
//
// 2 xrefs:
// > SecretLayer5::fadeInSubmitMessage @ 0xbc5828
// > ??> @ 0xbaa60
//
// 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 13:03:30 +0000
//
__int64 __fastcall SecretLayer5::fadeInMessage(SecretLayer5 *this)
{
__int64 v1; // x24
__int64 v2; // x22
__int64 v3; // x23
__int64 v4; // x26
__int64 v5; // x27
__int64 v6; // x19
__int64 v7; // x28
void (__fastcall *v8)(__int64, _BYTE *); // x25
int v9; // w0
float v10; // s0
cocos2d::CCDelayTime *v11; // x0
cocos2d::CCSequence *v12; // x19
cocos2d::CCFiniteTimeAction *v13; // x0
cocos2d::CCAction *v14; // x0
_BYTE v17[8]; // [xsp+90h] [xbp+90h] BYREF
v1 = *(_QWORD *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*((_QWORD *)this + 80) + 608LL) + 488LL))(*(_QWORD *)(*((_QWORD *)this + 80) + 608LL))
+ 56);
if ( *(int *)v1 > 0 )
{
v2 = 0;
v3 = 8 * ((unsigned int)(*(_DWORD *)v1 - 1) + 1LL);
do
{
v4 = *(_QWORD *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v1 + 16) + v2) + 488LL))(*(_QWORD *)(*(_QWORD *)(v1 + 16) + v2))
+ 56);
if ( *(int *)v4 > 0 )
{
v5 = 0;
v6 = 8 * ((unsigned int)(*(_DWORD *)v4 - 1) + 1LL);
do
{
v7 = *(_QWORD *)(*(_QWORD *)(v4 + 16) + v5);
v5 += 8;
v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 960LL);
v9 = rand();
v17[1] = 0;
v17[2] = -1;
v17[0] = (unsigned int)(float)((float)((float)((float)v9 * 4.6566e-10) * 25.0) + 150.0);
v8(v7, v17);
}
while ( v5 != v6 );
}
v2 += 8;
}
while ( v2 != v3 );
}
v10 = TextArea::fadeInCharacters(*((_QWORD *)this + 80), 0, 1, 0.6, 0.06);
v12 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v11, v10 + 0.6);
v13 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, SecretLayer5::fadeOutMessage, 0);
v14 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v12, v13, 0);
cocos2d::CCNode::runAction(this, v14);
return _stack_chk_guard;
}