// // sub_7D004 from 0x7d004 to 0x7d38c (904 bytes) // // 6 xrefs: // > sub_72404 @ 0x72568 // > sub_7D004 @ 0x7d30c // > sub_7D004 @ 0x7d314 // > sub_7D004 @ 0x7d324 // > sub_72404 @ 0x72560 // > @ 0x114678 // // 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 12:14:06 +0000 // // positive sp value has been detected, the output may be wrong! __int64 __fastcall sub_7D004(__int64 a1, __int64 a2, __int64 a3) { __int64 v3; // x19 __int64 v4; // x24 __int64 v5; // x30 __int64 v6; // x0 int v7; // w1 int v8; // w2 int v9; // w3 int v10; // w4 int v11; // w5 int v12; // w6 int v13; // w7 char v14; // zf __int64 v15; // x0 long double v16; // q0 float v17; // s5 float v18; // s1 float v19; // s4 __int64 v20; // x0 long double v21; // q0 float v22; // s3 float v23; // s6 float v24; // s2 float v25; // s7 long double v26; // q1 long double v27; // q0 float v28; // s5 float v29; // s25 float v30; // s4 float v31; // s26 long double v32; // q1 __int64 result; // x0 int v34; // w0 int v35; // w1 int v36; // w2 int v37; // w3 int v38; // w4 int v39; // w5 int v40; // w6 int v41; // w7 __int64 v42; // x0 float v43; // s4 float v44; // s5 float v45; // s16 long double v46; // q20 int v47; // w0 int v48; // w1 int v49; // w2 int v50; // w3 int v51; // w4 int v52; // w5 int v53; // w6 int v54; // w7 int v55; // w0 int v56; // w1 int v57; // w2 int v58; // w3 int v59; // w4 int v60; // w5 int v61; // w6 int v62; // w7 __int64 v63; // x0 float v64; // s0 float v65; // s14 float v66; // s12 float v67; // s17 float v68; // s18 __int64 v69; // x0 float v70; // s3 float v71; // s7 float v72; // s2 long double v73; // q0 float v74; // s1 float v75; // s30 float v76; // s21 float v77; // s4 float v78; // s24 float v79; // s27 float v80; // s28 float v81; // s11 int v82; // s16 int v83; // s23 __int64 v84; // x8 float v85; // s1 int v86; // s7 int v87; // s31 long double v88; // q0 float v89; // s3 float v90; // s17 float v91; // s2 float v92; // s4 float v93; // s23 float v94; // s6 long double v95; // q1 long double v96; // q5 long double v97; // q0 float v98; // s5 float v99; // s6 float v100; // s23 float v101; // s26 int v102; // s3 int v103; // s6 int v104; // s28 int v105; // s20 int v106; // s22 int v107; // s25 int v108; // s27 int v109; // s26 int v110; // s30 int v111; // s29 int v112; // s31 __int64 v113; // x0 __int64 v114; // x1 __int64 v115; // x0 __int64 v116; // x0 __int64 v117; // x1 __int64 v118; // x0 __int64 v119; // x9 __int64 v120; // x10 long double v121; // q0 float v122; // s6 float v123; // s1 float v124; // s7 float v125; // s2 float v126; // s3 float v127; // s0 float v128; // s7 int v129; // w13 long double v130; // q0 float v131; // s2 float v132; // s6 float v133; // s7 int v134; // [xsp-C0h] [xbp-C0h] int v135; // [xsp-C0h] [xbp-C0h] __int64 v136; // [xsp-C0h] [xbp-C0h] int v137; // [xsp-B8h] [xbp-B8h] int v138; // [xsp-B8h] [xbp-B8h] float v139; // [xsp-A8h] [xbp-A8h] __int64 v140; // [xsp-A8h] [xbp-A8h] v6 = ((__int64 (__fastcall *)(__int64, __int64, __int64, __int64))sub_7D66C)(a1, a2, a3, v5); if ( v14 ) { v34 = ((__int64 (__fastcall *)(int, int, int, int, int, int, int, int))sub_7D4EC)( v6, v7, v8, v9, v10, v11, v12, v13); v42 = sub_7D6A0(v34, v35, v36, v37, v38, v39, v40, v41, v134); ((void (__fastcall *)(__int64))sub_7D710)(v42); v139 = v43; v47 = ((__int64 (__fastcall *)(float, float, float, float, float, long double))sub_7D758)( *(float *)(v3 + 56), *(float *)(v3 + 60), *(float *)(v3 + 52), *(float *)(v3 + 48) - *(float *)(v3 + 56), v45 + v44, v46); v55 = ((__int64 (__fastcall *)(int, int, int, int, int, int, int, int, int, int))sub_7D600)( v47, v48, v49, v50, v51, v52, v53, v54, v135, v137); v63 = sub_7D580(v55, v56, v57, v58, v59, v60, v61, v62, v136, v138); v65 = v64 + v139; v66 = v139 - v64; ((void (__fastcall *)(__int64, float))sub_7D5B0)(v63, v68 - v67); v69 = sub_7D7DC(); v73 = ((long double (__fastcall *)(__int64, float))sub_7D788)(v69, (float)(v71 - v70) + v72); v76 = v74 + v75; v81 = v80 + v79; *(_DWORD *)v3 = v83; *(_DWORD *)(v3 + 4) = v82; *(float *)(v3 + 32) = v75 - v74; *(float *)(v3 + 36) = v77 + v78; v85 = *(float *)(v84 + 4052); *(_DWORD *)(v3 + 64) = v86; *(_DWORD *)(v3 + 68) = v87; *(float *)(v3 + 96) = v76; *(float *)(v3 + 100) = v78 - v77; v88 = ((long double (__fastcall *)(long double, float))sub_7D728)(v73, v85); v97 = ((long double (__fastcall *)(float, long double, float, float, float, long double, float, float))sub_7D7C8)( *(float *)&v88 + v90, v95, v65 - v91, v89 + v66, v92 + v93, v96, v94 * *(float *)&v95, v66 - v89); *(_DWORD *)(v3 + 8) = v102; *(float *)(v3 + 12) = v81 + *(float *)&v97; *(float *)(v3 + 16) = v99 + v98; *(float *)(v3 + 20) = v100 + v101; result = sub_7D770(); *(_DWORD *)(v3 + 80) = v104; *(_DWORD *)(v3 + 84) = v103; *(_DWORD *)(v3 + 88) = v105; *(_DWORD *)(v3 + 92) = v106; *(_DWORD *)(v3 + 104) = v107; *(_DWORD *)(v3 + 108) = v108; *(_DWORD *)(v3 + 112) = v109; *(_DWORD *)(v3 + 116) = v110; *(_DWORD *)(v3 + 120) = v112; *(_DWORD *)(v3 + 124) = v111; } else if ( v8 == 8 ) { v15 = ((__int64 (__fastcall *)(__int64))sub_7D624)(v6); v16 = ((long double (__fastcall *)(__int64))sub_7D46C)(v15); v20 = ((__int64 (__fastcall *)(float, float))sub_7D7B4)(*(float *)&v16 - v17, v19 + v18); v21 = ((long double (__fastcall *)(__int64))sub_7D7A0)(v20); v27 = ((long double (__fastcall *)(long double, long double, float, float))sub_7D520)( v21, v26, v24 + v25, v23 - v22); return ((__int64 (__fastcall *)(long double, long double, float, float, float, float))sub_7D6C0)( v27, v32, v28 + v29, v31 - v30, v30 + v31, v29 - v28); } else { v113 = ((__int64 (__fastcall *)(int, int, int, int, int, int, int, int))sub_7D414)( v6, v7, v8, v9, v10, v11, v12, v13); v115 = sub_7D004(v113, v114); v116 = ((__int64 (__fastcall *)(__int64))sub_7D6DC)(v115); sub_7D004(v116, v117); v118 = sub_7D004(v140, v4); result = ((__int64 (__fastcall *)(__int64))sub_7D6F8)(v118); while ( v119 < v120 ) { v121 = ((long double (__fastcall *)(__int64))sub_7D550)(result); v127 = ((float (__fastcall *)(float, float, float))sub_7D5DC)( -(float)((float)(v124 * v123) - (float)(v126 * *(float *)&v121)), v124 * v123, (float)(v122 * v123) + (float)(v125 * *(float *)&v121)); *(float *)(v3 + 4LL * v129) = v128 - v127; v130 = ((long double (*)(void))sub_7D648)(); result = ((__int64 (__fastcall *)(float, float))sub_7D740)(v133 + *(float *)&v130, v132 - v131); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source