// // SecretLayer::getMessage from 0x1005fb5d0 to 0x1005fb65f (143 bytes) // // 0 xrefs: // // 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 // std::string *__fastcall SecretLayer::getMessage(std::string *this, SecretLayer *a2, double a3) { float v4; // [rsp+Ch] [rbp-14h] if ( a2->m_selectedThread ) goto LABEL_6; if ( a2->m_doomedIndex <= 0 ) { v4 = (float)((float)a2->m_basicMessageCount * -0.079999998) + 1.0; HIDWORD(a3) = 0; *(float *)&a3 = (float)rand() * 4.6566129e-10; if ( *(float *)&a3 > v4 ) SecretLayer::selectAThread(a2); } if ( a2->m_selectedThread ) LABEL_6: SecretLayer::getThreadMessage(this); else SecretLayer::getBasicMessage(this, a2, a3); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source