//
// android_setCpu from 0xf41b50 to 0xf41bac (92 bytes)
//
// 1 xrefs:
// > ??> @ 0x61498
//
// 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:13:07 +0000
//
__int64 __fastcall android_setCpu(int a1, __int64 a2)
{
unsigned int v2; // w4
int v3; // w2
v2 = 0;
if ( !dword_1564050 )
{
v3 = a1;
if ( a1 <= 0 )
v3 = 1;
dword_1564060 = v3;
dword_1564054 = 4;
qword_1564058 = a2;
pthread_once(&dword_1564064, (void (*)(void))sub_F41530);
return 1;
}
return v2;
}