//
// SecretLayer5::fadeInMessage from 0x6e29c0 to 0x6e2adc (284 bytes)
//
// 1 xrefs:
// > SecretLayer5::fadeInSubmitMessage @ 0x6e43b0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:22 +0000
//
int __fastcall SecretLayer5::fadeInMessage(SecretLayer5 *this)
{
int v2; // r4
int *v3; // r8
int v4; // r9
int v5; // r5
int v6; // r0
int *v7; // r10
int v8; // r11
int v9; // r1
float v10; // r0
float v11; // r1
cocos2d::CCSequence *v12; // r0
cocos2d::CCSequence *v13; // r5
cocos2d::CCFiniteTimeAction *v14; // r0
cocos2d::CCAction *v15; // r0
void (__fastcall *v17)(int, _DWORD *); // [sp+8h] [bp-1Ch]
int v18; // [sp+Ch] [bp-18h]
_DWORD v19[2]; // [sp+14h] [bp-10h] BYREF
v2 = 0;
v3 = *(int **)((*(int (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 112) + 520) + 244))(*(_DWORD *)(*((_DWORD *)this + 112) + 520))
+ 52);
v4 = *v3;
while ( v2 < v4 )
{
v5 = 0;
v6 = *(_DWORD *)(v3[3] + 4 * v2);
v7 = *(int **)((*(int (__fastcall **)(int))(*(_DWORD *)v6 + 244))(v6) + 52);
v8 = *v7;
while ( v5 < v8 )
{
v9 = *(_DWORD *)(v7[3] + 4 * v5++);
v18 = v9;
v17 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v9 + 480);
LOWORD(v19[0]) = (unsigned __int8)(unsigned int)(float)((float)((float)((float)rand() * 4.6566e-10) * 25.0) + 150.0);
BYTE2(v19[0]) = -1;
v17(v18, v19);
}
++v2;
}
v10 = COERCE_FLOAT(TextArea::fadeInCharacters(*((_DWORD *)this + 112), 0.6, 0.06, 0, 1));
v12 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(COERCE_COCOS2D_CCDELAYTIME_(v10 + 0.6), v11);
v19[1] = 0;
v19[0] = SecretLayer5::fadeOutMessage;
v13 = v12;
v14 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, SecretLayer5::fadeOutMessage, 0);
v15 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v13, v14, 0);
return cocos2d::CCNode::runAction(this, v15);
}