// // sub_1002FFADC from 0x1002ffadc to 0x1002ffb64 (136 bytes) // // 4 xrefs: // > PlayLayer::addObject @ 0x100141fd4 // > EditorUI::moveObject @ 0x10015d234 // > sub_1003FF5D8 @ 0x1003ff608 // > EditorUI::onCreateObject @ 0x100477420 // // 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_1002FFADC(__int64 a1) { int v1; // w8 __int64 result; // x0 unsigned int v3; // w8 bool v4; // cc int v5; // w8 v1 = *(_DWORD *)(a1 + 1028); result = 1; if ( v1 <= 1916 ) { if ( (unsigned int)(v1 - 200) >= 4 && v1 != 1334 ) return 0; } else if ( v1 <= 2899 ) { v3 = v1 - 1917; v4 = v3 > 0x12; v5 = (1 << v3) & 0x60001; if ( v4 || v5 == 0 ) return 0; } else { if ( v1 <= 3021 ) { if ( v1 == 2900 || v1 == 2902 ) return result; return 0; } if ( v1 != 3022 && v1 != 3027 ) return 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source