// // SecretLayer5::fadeInMessage from 0x100075798 to 0x1000758f0 (344 bytes) // // 1 xrefs: // > SecretLayer5::fadeInSubmitMessage @ 0x100075768 // // 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) { unsigned int *v2; // x21 __int64 v3; // x22 __int64 i; // x23 __int64 v5; // x0 unsigned int *v6; // x26 __int64 v7; // x8 __int64 v8; // x27 __int64 v9; // x28 __int64 v10; // x20 unsigned int v11; // w0 float v12; // s0 cocos2d::CCDelayTime *v13; // x20 cocos2d::CCAction *v14; // x0 __int16 v15; // [xsp+1Ch] [xbp-64h] BYREF char v16; // [xsp+1Eh] [xbp-62h] cocos2d::SEL_CallFunc v17; // 0:x1.16 v2 = *(unsigned int **)(((__int64 (__fastcall *)(MultilineBitmapFont *))a1->m_messageArea->m_label->getChildren)(a1->m_messageArea->m_label) + 56); v3 = *v2; if ( (int)v3 >= 1 ) { for ( i = 0; i != v3; ++i ) { v5 = *(_QWORD *)(*((_QWORD *)v2 + 2) + 8 * i); v6 = *(unsigned int **)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 472LL))(v5) + 56); v7 = *v6; if ( (int)v7 >= 1 ) { v8 = 0; v9 = 8 * v7; do { v10 = *(_QWORD *)(*((_QWORD *)v6 + 2) + v8); v11 = rand(); v16 = -1; v15 = (int)(float)((float)(vcvts_n_f32_s32(v11, 0x1Fu) * 25.0) + 150.0); (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v10 + 944LL))(v10, &v15); v8 += 8; } while ( v9 != v8 ); } } } v12 = TextArea::fadeInCharacters(a1->m_messageArea, 0.6, 0.06, 0, Scale); v13 = cocos2d::CCDelayTime::create(v12 + 0.6); v17.ptr = (void (*)(void))SecretLayer5::fadeOutMessage; v17.adj = 0; cocos2d::CCCallFunc::create(a1, v17); v14 = (cocos2d::CCAction *)sub_10018A494(v13); cocos2d::CCNode::runAction(a1, v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source