// // smartPrefabSort from 0xbcb040 to 0xbcb140 (256 bytes) // // 3 xrefs: // > @ 0x67ca8 // > EditorUI::addObjectsToSmartTemplate @ 0x7cc558 // > @ 0x1542880 // // 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 13:03:34 +0000 // __int64 __fastcall smartPrefabSort(__int64 *a1, __int64 *a2) { __int64 v2; // x21 __int64 v3; // x20 float v4; // s8 float v5; // s0 __int64 v7; // [xsp+40h] [xbp+40h] BYREF v2 = *a1; v3 = *a2; (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1360LL))(&v7, v2); v4 = *(float *)&v7; (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v3 + 1360LL))(&v7, v3); v5 = *(float *)&v7; if ( v4 == *(float *)&v7 ) { (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1360LL))(&v7, v2); v4 = *((float *)&v7 + 1); (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v3 + 1360LL))(&v7, v3); v5 = *((float *)&v7 + 1); if ( v4 == *((float *)&v7 + 1) ) { v4 = (float)*(int *)(v2 + 1028); v5 = (float)*(int *)(v3 + 1028); if ( v4 == v5 ) { v4 = (float)*(unsigned int *)(v2 + 916); v5 = (float)*(unsigned int *)(v3 + 916); } } } return (unsigned int)(int)(float)(v4 - v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source