//
// android_setCpu from 0x742b20 to 0x742b52 (50 bytes)
//
// 1 xrefs:
// > android_setCpuArm @ 0x742b7e
//
// 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
//
int __fastcall android_setCpu(int a1, __int64 a2)
{
if ( dword_ACC6B0 )
return 0;
dword_ACC6B4 = 1;
qword_ACC6B8 = a2;
if ( a1 < 1 )
a1 = 1;
dword_ACC6C0 = a1;
pthread_once(dword_ACC6C8, sub_742270);
return 1;
}