// // sub_1002FE8C4 from 0x1002fe8c4 to 0x1002fe9a4 (224 bytes) // // 3 xrefs: // > GameObject::updateObjectEditorColor @ 0x1002fe8c0 // > LevelEditorLayer::updateVisibility @ 0x10040043c // > sub_1004278B8 @ 0x100427998 // // 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:03:04 +0000 // __int64 __fastcall sub_1002FE8C4(_BYTE *a1) { int v2; // w8 int v3; // w1 __int64 v4; // x0 __int64 result; // x0 int v6; // w8 int v7; // w1 __int64 v8; // x0 __int16 v9; // [xsp+8h] [xbp-18h] BYREF char v10; // [xsp+Ah] [xbp-16h] __int16 v11; // [xsp+Ch] [xbp-14h] BYREF char v12; // [xsp+Eh] [xbp-12h] v2 = **((_DWORD **)a1 + 137); if ( !v2 ) v2 = *(_DWORD *)(*((_QWORD *)a1 + 137) + 4LL); if ( v2 == *(_DWORD *)(*((_QWORD *)a1 + 137) + 4LL) ) v3 = 0; else v3 = v2; v4 = sub_1002FE6D4((__int64)a1, v3); v11 = v4; v12 = BYTE2(v4); result = (*(__int64 (__fastcall **)(_BYTE *, __int16 *))(*(_QWORD *)a1 + 1496LL))(a1, &v11); if ( *((_QWORD *)a1 + 111) ) { v6 = **((_DWORD **)a1 + 138); if ( !v6 ) v6 = *(_DWORD *)(*((_QWORD *)a1 + 138) + 4LL); if ( v6 == *(_DWORD *)(*((_QWORD *)a1 + 138) + 4LL) ) v7 = 0; else v7 = v6; v8 = sub_1002FE6D4((__int64)a1, v7); v9 = v8; v10 = BYTE2(v8); result = (*(__int64 (__fastcall **)(_BYTE *, __int16 *))(*(_QWORD *)a1 + 1592LL))(a1, &v9); } if ( a1[772] == 1 ) { result = (*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a1 + 480LL))(a1, 999); if ( result ) return (*(__int64 (__fastcall **)(__int64, void *))(*(_QWORD *)result + 1072LL))(result, &unk_10076942B); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source