//
// android_setCpu from 0xccb990 to 0xccb9ec (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x44520
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall android_setCpu(int a1, __int64 a2)
{
unsigned int v2; // w4
int v3; // w2
v2 = 0;
if ( !dword_1249070 )
{
v3 = a1;
if ( a1 <= 0 )
v3 = 1;
dword_1249080 = v3;
dword_1249074 = 4;
qword_1249078 = a2;
pthread_once(&dword_1249084, (void (*)(void))sub_CCB370);
return 1;
}
return v2;
}