// // sub_10065CF14 from 0x10065cf14 to 0x10065d0bc (424 bytes) // // 5 xrefs: // > @ 0x1009e3898 // > @ 0x1009e3920 // > @ 0x1009e39a8 // > @ 0x1009e3aa8 // > @ 0x1009e3b30 // // 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:10:56 +0000 // __int64 __fastcall sub_10065CF14(__int64 a1, int a2, __int64 a3) { __int64 v6; // x8 _QWORD *v7; // x8 __int64 v8; // x0 __int64 v9; // x8 __int64 v11; // x0 __int64 v12; // x0 int v13; // w0 __int64 v14; // x0 __int64 v15; // x0 int v16; // w0 __int64 v17; // x0 __int64 v18; // x0 int v19; // w0 __int64 v20; // x0 __int64 v21; // x0 int v22; // w0 __int64 v23; // x0 __int64 v24; // x0 int v25; // w0 __int64 v26; // x20 _BYTE v27[52]; // [xsp+8h] [xbp-58h] BYREF unsigned int v28; // [xsp+3Ch] [xbp-24h] BYREF v6 = *(_QWORD *)(a1 + 128); if ( *(_QWORD *)(v6 + 440) ) { if ( !(unsigned int)sub_10064F9DC(a1) ) return 0; v6 = *(_QWORD *)(a1 + 128); } v7 = *(_QWORD **)(v6 + 448); if ( *v7 ) { v8 = sub_100711450(*v7); if ( (unsigned int)sub_100711408(v8) == a2 ) { v9 = 0; goto LABEL_23; } v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v11 = v7[1]; if ( v11 ) { v12 = sub_100711450(v11); v13 = sub_100711408(v12); v9 = 1; if ( v13 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v14 = v7[2]; if ( v14 ) { v15 = sub_100711450(v14); v16 = sub_100711408(v15); v9 = 2; if ( v16 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v17 = v7[3]; if ( v17 ) { v18 = sub_100711450(v17); v19 = sub_100711408(v18); v9 = 3; if ( v19 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v20 = v7[4]; if ( v20 ) { v21 = sub_100711450(v20); v22 = sub_100711408(v21); v9 = 4; if ( v22 == a2 ) goto LABEL_23; v7 = *(_QWORD **)(*(_QWORD *)(a1 + 128) + 448LL); } v23 = v7[5]; if ( !v23 ) goto LABEL_28; v24 = sub_100711450(v23); v25 = sub_100711408(v24); v9 = 5; if ( v25 != a2 ) goto LABEL_28; LABEL_23: v26 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 128) + 448LL) + 8 * v9); if ( !v26 ) { LABEL_28: sub_100706FB0(20, 286, 324, "t1_enc.c", 939); return 0; } sub_100708F5C(v27); if ( (int)sub_1007093D4(v27, v26) < 1 || (int)sub_100709260(v27, a3, &v28) <= 0 ) v28 = 0; sub_10070930C(v27); return v28; }
GD Web Decomp Icon

GD Web Decomp

Raw Source