// // sub_F42F14 from 0xf42f14 to 0xf42fbc (168 bytes) // // 0 xrefs: // // 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:08 +0000 // __int64 __fastcall sub_F42F14(__int64 a1) { __int64 result; // x0 __int64 v3; // x0 unsigned __int8 v4; // w20 _QWORD v5[2]; // [xsp+0h] [xbp-20h] BYREF v5[1] = *(_QWORD *)(_ReadStatusReg(TPIDR_EL0) + 40); result = *(unsigned int *)(a1 + 144); if ( (_DWORD)result == -1 ) { std::locale::locale((std::locale *)v5, (const std::locale *)(a1 + 48)); v3 = std::locale::use_facet((std::locale *)v5, (std::locale::id *)&std::ctype::id); v4 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 56LL))(v3, 32); std::locale::~locale((std::locale *)v5); result = v4; *(_DWORD *)(a1 + 144) = v4; } _ReadStatusReg(TPIDR_EL0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source