// // SecretLayer5::fadeInMessage from 0x10047c190 to 0x10047c2e9 (345 bytes) // // 1 xrefs: // > SecretLayer5::fadeInSubmitMessage @ 0x10047c161 // // 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 SecretLayer5::fadeInMessage(SecretLayer5 *a1) { __int64 v1; // rcx __int64 v2; // rdi int *v3; // r12 __int64 v4; // r13 __int64 i; // rbx __int64 v6; // r15 float v7; // xmm0_4 cocos2d::CCDelayTime *v8; // r14 cocos2d::CCCallFunc *v9; // rax cocos2d::CCSequence *v10; // rax __int64 v11; // [rsp+0h] [rbp-50h] int *v12; // [rsp+8h] [rbp-48h] __int64 v13; // [rsp+10h] [rbp-40h] __int16 v15; // [rsp+24h] [rbp-2Ch] BYREF char v16; // [rsp+26h] [rbp-2Ah] v12 = *(int **)(((__int64 (__fastcall *)(MultilineBitmapFont *))a1->m_messageArea->m_label->getChildren)(a1->m_messageArea->m_label) + 56); v13 = *v12; if ( v13 > 0 ) { v1 = 0; do { v11 = v1; v2 = *(_QWORD *)(*((_QWORD *)v12 + 2) + 8 * v1); v3 = *(int **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 472LL))(v2) + 56); v4 = *v3; if ( v4 > 0 ) { for ( i = 0; i != v4; ++i ) { v6 = *(_QWORD *)(*((_QWORD *)v3 + 2) + 8 * i); v15 = (unsigned __int8)(int)(float)((float)((float)((float)rand() * 4.6566129e-10) * 25.0) + 150.0); v16 = -1; (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v6 + 944LL))(v6, &v15); } } v1 = v11 + 1; } while ( v11 + 1 != v13 ); } v7 = TextArea::fadeInCharacters(a1->m_messageArea, 0.60000002, 0.059999999, 0, Scale); v8 = cocos2d::CCDelayTime::create(v7 + 0.60000002); v9 = cocos2d::CCCallFunc::create(a1, (cocos2d::SEL_CallFunc)(unsigned __int64)SecretLayer5::fadeOutMessage); v10 = sub_1003B5760(v8, v9, 0); cocos2d::CCNode::runAction(a1, v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source