// // sub_100612768 from 0x100612768 to 0x100612828 (192 bytes) // // 6 xrefs: // > sub_1006125B4 @ 0x100612754 // > sub_100612768 @ 0x100612808 // > sub_100613DE8 @ 0x100613e4c // > sub_100613EFC @ 0x100613f60 // > sub_100614048 @ 0x10061409c // > sub_100614048 @ 0x1006140d8 // // 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:10 +0000 // float __fastcall sub_100612768(__int64 a1, int a2) { int v3; // w21 float v4; // s8 __int64 v6; // x20 if ( *(int *)(a1 + 128) < 2 ) return -131.0; if ( !*(_DWORD *)(a1 + 8) ) return -131.0; v3 = *(_DWORD *)(a1 + 64); if ( v3 <= a2 ) return -131.0; if ( (a2 & 0x80000000) == 0 ) return (float)*(__int64 *)(*(_QWORD *)(a1 + 96) + 8LL * ((2 * a2) | 1)) / (float)*(int *)(*(_QWORD *)(a1 + 104) + 40LL * (unsigned int)a2 + 8); if ( v3 < 1 ) return 0.0; v6 = 0; v4 = 0.0; do { v4 = v4 + sub_100612768(a1, v6); v6 = (unsigned int)(v6 + 1); } while ( v3 != (_DWORD)v6 ); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source