// // std::__ndk1::random_device::random_device from 0x977664 to 0x977704 (160 bytes) // // 1 xrefs: // > GameToolbox::gen_random @ 0x3d3e90 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:05:58 +0000 // // Alternative name is '_ZNSt6__ndk113random_deviceC2ERKNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE' int *__fastcall std::random_device::random_device(int *a1, int a2) { const char *v4; // r0 int v5; // r0 int v6; // r6 const char *v7; // r1 int v9[3]; // [sp+0h] [bp-1Ch] BYREF v4 = *(const char **)(a2 + 8); if ( (*(_BYTE *)a2 & 1) == 0 ) v4 = (const char *)(a2 + 1); v5 = open(v4, 0); *a1 = v5; if ( v5 <= -1 ) { v6 = *(_DWORD *)_errno(); std::operator+(v9, "random_device failed to open ", (unsigned __int8 *)a2); v7 = (const char *)v9[2]; if ( (v9[0] & 1) == 0 ) v7 = (char *)v9 + 1; std::__throw_system_error(v6, v7); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source