// // sub_1003C4B40 from 0x1003c4b40 to 0x1003c4c10 (208 bytes) // // 1 xrefs: // > EditorUI::addObjectsToSmartTemplate @ 0x1003f13f0 // // 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_1003C4B40(_QWORD *a1, __int64 *a2) { __int64 v2; // x20 __int64 v3; // x19 float v4; // s8 float v5; // s0 __int64 v7; // [xsp+8h] [xbp-28h] BYREF v2 = *a1; v3 = *a2; (*(void (__fastcall **)(__int64 *__return_ptr, _QWORD))(*(_QWORD *)*a1 + 1344LL))(&v7, *a1); v4 = *(float *)&v7; (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v3 + 1344LL))(&v7, v3); v5 = *(float *)&v7; if ( v4 == *(float *)&v7 ) { (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v2 + 1344LL))(&v7, v2); v4 = *((float *)&v7 + 1); (*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)v3 + 1344LL))(&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