// // SecretLayer5::incrementChatIdx from 0xbc78e0 to 0xbc79c0 (224 bytes) // // 2 xrefs: // > SecretLayer5::onSubmit @ 0xbc7c24 // > @ 0x8e2a0 // // This function is hookable on this platform (idp: arm, 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 13:03:32 +0000 // __int64 __fastcall SecretLayer5::incrementChatIdx(SecretLayer5 *this) { int v2; // w3 unsigned __int64 v3; // x21 __int64 v4; // x1 int v6; // w22 unsigned __int64 v7; // x3 __int64 v8; // [xsp+38h] [xbp+38h] unsigned __int64 v9; // [xsp+40h] [xbp+40h] BYREF v2 = *((_DWORD *)this + 154); v3 = *((_QWORD *)this + 74); v4 = *((_QWORD *)this + 75); *((_DWORD *)this + 154) = v2 + 1; if ( ((__int64)(v4 - v3) >> 2) - 1 < (unsigned __int64)(v2 + 1) ) { v6 = *(_DWORD *)(v3 + 4LL * v2); v8 = v4; v7 = rand() % 0x7FFFFFFFuLL; if ( !v7 ) v7 = 1; v9 = v7; std::shuffle,std::linear_congruential_engine>( v3, v8, (__int64)&v9); *((_DWORD *)this + 154) = 0; if ( v6 == **((_DWORD **)this + 74) ) *((_DWORD *)this + 154) = 1; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source