// // GameToolbox::timestampToDayString from 0x3cf0a4 to 0x3cf112 (110 bytes) // // 1 xrefs: // > GJCompactUserCell::buildUserRow @ 0x42e488 // // 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 11:46:39 +0000 // GameToolbox *__fastcall GameToolbox::timestampToDayString(GameToolbox *this, time_t a2) { int *v3; // r0 char *v4; // r1 size_t v5; // r2 struct tm *v6; // r3 size_t v7; // r0 time_t timer; // [sp+4h] [bp-2Ch] BYREF char s[32]; // [sp+Ch] [bp-24h] BYREF timer = a2; if ( a2 > 0 && (v6 = localtime(&timer)) != nullptr ) { strftime(s, 0x20u, "%b %d, %Y", v6); *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; *((_DWORD *)this + 2) = 0; v7 = strlen(s); v4 = s; v5 = v7; v3 = (int *)this; } else { v3 = (int *)this; *(_DWORD *)this = 0; *((_DWORD *)this + 1) = 0; v4 = "NA"; *((_DWORD *)this + 2) = 0; v5 = 2; } std::string::__init(v3, v4, v5); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source