// // sub_7E280 from 0x7e280 to 0x7e378 (248 bytes) // // 1 xrefs: // > sub_7E848 @ 0x7e84c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_7E280(__int64 a1, long double a2) { unsigned int *v3; // x8 unsigned int v4; // w9 __int64 v5; // x8 __int64 v6; // x10 __int64 i; // x20 __int64 v8; // x8 float *v9; // x8 float v10; // w9 __int64 result; // x0 v3 = (unsigned int *)(a1 + 100); do v4 = __ldaxr(v3); while ( __stlxr(v4 | 0x10, v3) ); v5 = 0; *(_BYTE *)(a1 + 9168) = 0; *(_DWORD *)(a1 + 9172) = 0; while ( v5 != 128 ) { v6 = a1 + v5; *(_DWORD *)(v6 + 9176) = 1065353216; *(_DWORD *)(v6 + 848) = 1065353216; v5 += 4; } for ( i = 0; ; ++i ) { v8 = *(_QWORD *)(a1 + 232); if ( i >= *(int *)(v8 + 96) ) break; v9 = *(float **)(*(_QWORD *)(v8 + 104) + 8 * i); v10 = *v9; if ( *(_DWORD *)v9 == 1 ) { result = sub_CBDCC(a1, (unsigned int)i, *((unsigned int *)v9 + 14)); if ( (_DWORD)result ) return result; v9 = *(float **)(*(_QWORD *)(*(_QWORD *)(a1 + 232) + 104LL) + 8 * i); v10 = *v9; } if ( v10 == 0.0 ) { result = sub_CBD5C(a1, (unsigned int)i, v9[14]); if ( (_DWORD)result ) return result; } } LODWORD(a2) = 1.0; sub_AAE58(a1 + 552, *(_QWORD *)(a1 + 168), a2); *(_DWORD *)(a1 + 676) |= 0x10u; *(_QWORD *)(a1 + 184) = sub_ABA04; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source