// // sub_1002FFA50 from 0x1002ffa50 to 0x1002ffadc (140 bytes) // // 2 xrefs: // > LevelEditorLayer::getNextColorChannel @ 0x100401d60 // > LevelEditorLayer::resetUnusedColorChannels @ 0x100401f0c // // 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_1002FFA50(__int64 a1) { int v1; // w8 v1 = *(_DWORD *)(a1 + 1028); if ( v1 <= 743 ) { if ( v1 == 29 ) return 1000; if ( v1 != 30 ) { if ( v1 == 105 ) return 1004; return 0; } return 1001; } else if ( v1 > 899 ) { if ( v1 != 900 ) { if ( v1 == 915 ) return 1002; return 0; } return 1009; } else { if ( v1 != 744 ) { if ( v1 == 899 ) return *(unsigned int *)(a1 + 1024); return 0; } return 1003; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source