// // sub_952C08 from 0x952c08 to 0x952d5c (340 bytes) // // 3 xrefs: // > sub_9527A8 @ 0x95289c // > sub_9527A8 @ 0x952936 // > sub_9527A8 @ 0x952a16 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:05:25 +0000 // int __fastcall sub_952C08(int a1, int a2, unsigned int a3, int a4) { char v8; // r6 unsigned int i; // r4 _DWORD *v10; // r0 int result; // r0 unsigned int v12; // r6 unsigned int v13; // r9 int v14; // r0 unsigned int v15; // r1 unsigned __int64 v16; // [sp+8h] [bp-20h] BYREF __int64 v17; // [sp+14h] [bp-14h] BYREF switch ( a2 ) { case 0: case 4: if ( a4 || sub_953194(a1, 13, &v16) ) return 2; v8 = 0; for ( i = 0; i < 0x10; ++i ) { if ( ((1 << i) & a3) != 0 ) { v10 = (_DWORD *)v16; LODWORD(v16) = v16 + 4; LODWORD(v17) = *v10; if ( sub_952B38(a1, a2, i, 0, &v17) ) return 2; v8 |= a2 == 0 && i == 13; } } if ( (v8 & 1) == 0 ) goto LABEL_20; return 0; case 1: case 3: if ( (a4 | 4) != 5 || sub_953194(a1, 13, &v17) ) return 2; if ( !(_WORD)a3 ) goto LABEL_17; v12 = HIWORD(a3); v13 = HIWORD(a3) + (unsigned __int16)a3; break; default: fprintf( (FILE *)((char *)&_sF + 168), "libunwind: %s %s:%d - %s\n", "_Unwind_VRS_Result _Unwind_VRS_Pop(_Unwind_Context *, _Unwind_VRS_RegClass, uint32_t, _Unwind_VRS_DataRepresentation)", "/Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libunwind_llvm/src/Unwind-EHABI.cpp", 971, "unsupported register class"); fflush((FILE *)((char *)&_sF + 168)); abort(); return result; } do { v14 = v17; v15 = *(_DWORD *)v17; LODWORD(v17) = v17 + 8; v16 = __PAIR64__(*(_DWORD *)(v14 + 4), v15); if ( sub_952B38(a1, a2, v12, a4, (__int64 *)&v16) ) return 2; ++v12; } while ( v12 < v13 ); LABEL_17: if ( a4 == 1 ) LODWORD(v17) = v17 + 4; LABEL_20: result = sub_9531C8(a1, 13); if ( result ) return 2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source