// // sub_1003FF5D8 from 0x1003ff5d8 to 0x1003ff6d0 (248 bytes) // // 3 xrefs: // > LevelEditorLayer::addSpecial @ 0x1003f9db8 // > LevelEditorLayer::removeSpecial @ 0x1003fb6e8 // > sub_10047542C @ 0x100475450 // // 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:38 +0000 // __int64 __fastcall sub_1003FF5D8(__int64 a1, __int64 a2, char a3) { char v5; // w22 int v6; // w23 char v7; // w21 __int64 v8; // x0 __int64 result; // x0 __int64 v10; // x0 v5 = *(_BYTE *)(a2 + 1768) ^ 1 | a3; v6 = *(_DWORD *)(a2 + 1028); v7 = sub_1002FFADC(a2); if ( v6 > 659 ) { if ( v6 != 660 && v6 != 1933 && v6 != 1331 ) goto LABEL_11; } else if ( v6 != 13 && v6 != 47 && v6 != 111 ) { goto LABEL_11; } v8 = *(_QWORD *)(a1 + 14288); if ( (v5 & 1) == 0 ) { sub_1003FF918(v8, a2); if ( (v7 & 1) != 0 ) goto LABEL_16; goto LABEL_14; } sub_1002E765C(*(_QWORD *)(v8 + 552)); LABEL_11: if ( (v7 & 1) != 0 ) goto LABEL_16; LABEL_14: result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1680LL))(a2); if ( !(_DWORD)result ) return result; if ( *(_BYTE *)(a2 + 1780) != 1 ) return 0; LABEL_16: v10 = *(_QWORD *)(a1 + 14288); if ( (v5 & 1) != 0 ) sub_1003FF958(v10, a2); else sub_1003FF9A4(v10, a2); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source