// // sub_1006D4D78 from 0x1006d4d78 to 0x1006d4e98 (288 bytes) // // 1 xrefs: // > sub_1006D507C @ 0x1006d50c0 // // 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 11:12:28 +0000 // __int64 __fastcall sub_1006D4D78(__int64 a1, __int64 *a2) { __int64 *v4; // x0 int v5; // w8 _DWORD *v6; // x21 int v7; // w8 __int64 result; // x0 v4 = *(__int64 **)a1; if ( !v4 || !*(_QWORD *)(a1 + 8) ) { sub_100706FB0(3, 103, 107, "bn_blind.c", 196); result = 0; v6 = (_DWORD *)(a1 + 56); goto LABEL_17; } v6 = (_DWORD *)(a1 + 56); v5 = *(_DWORD *)(a1 + 56); if ( v5 == -1 ) { *v6 = 1; } else { v7 = v5 + 1; *v6 = v7; if ( v7 == 32 && *(_QWORD *)(a1 + 16) && (*(_BYTE *)(a1 + 64) & 2) == 0 ) { if ( !sub_1006D4E98(a1, 0, 0, a2, 0, 0) ) { result = 0; goto LABEL_17; } goto LABEL_14; } } if ( (*(_BYTE *)(a1 + 64) & 1) != 0 ) { LABEL_14: result = 1; goto LABEL_17; } if ( sub_1006D3430((__int64)v4, v4, v4, *(_QWORD *)(a1 + 24), a2) ) { if ( sub_1006D3430(*(_QWORD *)(a1 + 8), *(__int64 **)(a1 + 8), *(__int64 **)(a1 + 8), *(_QWORD *)(a1 + 24), a2) ) goto LABEL_14; result = 0; } else { result = 0; } LABEL_17: if ( *v6 == 32 ) *v6 = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source