// // sub_1002FF818 from 0x1002ff818 to 0x1002ff9fc (484 bytes) // // 5 xrefs: // > GJBaseGameLayer::spawnObjectsInOrder @ 0x100287de0 // > GJBaseGameLayer::spawnObject @ 0x100287f58 // > EditorUI::editObject @ 0x100471e60 // > EditorUI::createLoop @ 0x10047ac64 // > EditorUI::editButtonUsable @ 0x10047baf0 // // 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_1002FF818(__int64 a1) { int v1; // w8 __int64 result; // x0 bool v3; // zf unsigned int v5; // w8 __int64 v6; // x8 unsigned __int64 v7; // x9 unsigned int v8; // w8 bool v9; // zf unsigned int v10; // w8 v1 = *(_DWORD *)(a1 + 1028); result = 1; if ( v1 > 2998 ) { if ( (unsigned int)(v1 - 2999) <= 0x22 && ((1LL << ((unsigned __int8)v1 + 73)) & 0x5C3FFFF81LL) != 0 ) return result; v5 = v1 - 3600; if ( v5 <= 0x3F ) { v6 = 1LL << v5; v7 = 0xF0800300001EF3FDLL; goto LABEL_26; } return 0; } if ( v1 <= 1911 ) { if ( v1 > 1519 ) { v9 = (unsigned int)(v1 - 1811) > 8 || ((1 << (v1 - 19)) & 0x1DB) == 0; if ( v9 && ((unsigned int)(v1 - 1585) > 0x1F || ((1 << (v1 - 49)) & 0x9C000401) == 0) && v1 != 1520 ) return 0; } else if ( v1 <= 898 ) { if ( ((unsigned int)v1 > 0x21 || ((1LL << v1) & 0x360000000LL) == 0) && v1 != 105 && v1 != 744 ) return 0; } else if ( v1 <= 1005 ) { v10 = v1 - 899; if ( v10 > 0x10 || ((1 << v10) & 0x10007) == 0 ) return 0; } else if ( ((unsigned int)(v1 - 1006) > 0x2B || ((1LL << ((unsigned __int8)v1 + 18)) & 0x80000000003LL) == 0) && (unsigned int)(v1 - 1346) >= 2 && v1 != 1268 ) { return 0; } return result; } v3 = (unsigned int)(v1 - 2899) > 0x1A || ((1 << (v1 - 83)) & 0x7F7FD77) == 0; if ( !v3 || (unsigned int)(v1 - 1912) <= 0x17 && ((1 << (v1 - 120)) & 0xD80037) != 0 ) return result; v8 = v1 - 2015; if ( v8 > 0x35 ) return 0; v6 = 1LL << v8; v7 = 0x39800000000001LL; LABEL_26: if ( (v6 & v7) == 0 ) return 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source