// // sub_100497070 from 0x100497070 to 0x1004970f4 (132 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:30:49 +0000 // std::string *__fastcall sub_100497070(std::string *this, __int64 a2) { float v3; // [rsp+Ch] [rbp-14h] if ( *(_DWORD *)(a2 + 440) ) goto LABEL_5; v3 = (float)((float)*(int *)(a2 + 448) * -0.050000001) + 1.0; if ( (float)((float)rand() * 4.6566129e-10) > v3 ) SecretLayer2::selectAThread(a2); if ( *(_DWORD *)(a2 + 440) ) LABEL_5: SecretLayer2::getThreadMessage(this); else SecretLayer2::getBasicMessage(this, a2); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source