// // smartPrefabSort from 0x6e7c30 to 0x6e7ce6 (182 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:57:25 +0000 // int __fastcall smartPrefabSort(int *a1, int *a2) { int v2; // r6 int v3; // r5 float v4; // s16 float v5; // s15 float v7; // [sp+4h] [bp+0h] BYREF float v8; // [sp+8h] [bp+4h] v2 = *a1; v3 = *a2; (*(void (__fastcall **)(float *, int))(*(_DWORD *)v2 + 680))(&v7, v2); v4 = v7; (*(void (__fastcall **)(float *, int))(*(_DWORD *)v3 + 680))(&v7, v3); v5 = v7; if ( v4 == v7 ) { (*(void (__fastcall **)(float *, int))(*(_DWORD *)v2 + 680))(&v7, v2); v4 = v8; (*(void (__fastcall **)(float *, int))(*(_DWORD *)v3 + 680))(&v7, v3); v5 = v8; if ( v4 == v8 ) { v4 = (float)*(int *)(v2 + 892); v5 = (float)*(int *)(v3 + 892); if ( v4 == v5 ) { v4 = (float)*(unsigned int *)(v2 + 780); v5 = (float)*(unsigned int *)(v3 + 780); } } } return (int)(float)(v4 - v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source