//
// LoadingLayer::getLoadingString from 0x10038c410 to 0x10038c466 (86 bytes)
//
// 2 xrefs:
// > LoadingLayer::init @ 0x10038bfa2
// > LoadingLayer::init @ 0x10038c039
//
// 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:29:12 +0000
//
const char *__fastcall LoadingLayer::getLoadingString(__int64 a1)
{
int v2; // eax
unsigned int v3; // eax
if ( *(_BYTE *)(a1 + 448) )
return "Loading resources";
v2 = rand();
v3 = ~(100 * (v2 / 100)) + v2;
if ( v3 > 0x62 )
return "Unlock new icons and colors by completing achievements!";
else
return (char *)dword_100A08BBC + dword_100A08BBC[v3];
}