// // sub_1003FB8F0 from 0x1003fb8f0 to 0x1003fb9f0 (256 bytes) // // 1 xrefs: // > sub_10047651C @ 0x100476564 // // 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:04:36 +0000 // float __fastcall sub_1003FB8F0(__int64 a1, double a2) { __int64 v3; // x21 __int64 v4; // x0 __int64 v5; // x0 _QWORD *v6; // x20 unsigned int *v7; // x9 __int64 v8; // x8 __int64 *v9; // x22 unsigned __int64 v10; // x23 __int64 v11; // x20 float result; // s0 v3 = a1 + 12288; *(_BYTE *)(a1 + 14808) = 1; v4 = *(_QWORD *)(a1 + 14248); if ( v4 ) EditorUI::deselectAll(v4, a2); v5 = sub_1002E757C(*(_QWORD *)(a1 + 3280)); v6 = sub_1002E7510(v5); sub_1002E7570((__int64)v6, *(_QWORD *)(a1 + 3280)); if ( v6 ) { v7 = (unsigned int *)v6[7]; v8 = *v7; if ( (_DWORD)v8 ) { v9 = *((__int64 **)v7 + 2); v10 = (unsigned __int64)&v9[v8 - 1]; do { v11 = *v9; if ( !*v9 ) break; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 1312LL))(*v9, 1); GJBaseGameLayer::removeObjectFromSection(a1, v11); LevelEditorLayer::removeSpecial(a1, v11); *(_BYTE *)(v3 + 2650) = 1; ++v9; } while ( (unsigned __int64)v9 <= v10 ); } } sub_1002E7674(*(_QWORD *)(a1 + 14264)); sub_1002E7674(*(_QWORD *)(a1 + 14256)); *(_DWORD *)(a1 + 14280) = 0; result = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(a1 + 14276) = (int)result; *(_DWORD *)(a1 + 14272) = (int)result; *(_BYTE *)(v3 + 2650) = 1; *(_BYTE *)(v3 + 2520) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source