// // sub_3652CE from 0x3652ce to 0x36531a (76 bytes) // // 18 xrefs: // > findNextHighestID @ 0x365b58 // > LevelEditorLayer::getNextColorChannel @ 0x371b7e // > LevelEditorLayer::resetUnusedColorChannels @ 0x371ce4 // > LevelEditorLayer::addTriggersWithTargetGroupID @ 0x372760 // > LevelEditorLayer::addTriggersWithTargetGroupID @ 0x37276e // > LevelEditorLayer::addTriggersWithGroupID @ 0x37284c // > LevelEditorLayer::addTriggersWithGroupID @ 0x37285a // > processTraceOutSource @ 0x3778f4 // > processTraceOutSource @ 0x3778fe // > processTraceInSource @ 0x377a24 // > processTraceInSource @ 0x377a7e // > processTraceInSource @ 0x377b68 // > processTraceInSource @ 0x377c66 // > processTrace @ 0x379212 // > processTrace @ 0x3792f4 // > processTrace @ 0x3797be // > processTrace @ 0x379c48 // > processTrace @ 0x379d76 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // _DWORD *__fastcall sub_3652CE(_DWORD *a1, unsigned int a2) { unsigned int v2; // r7 int v4; // r1 _DWORD *result; // r0 _DWORD *v6; // r5 int v7; // r4 v2 = a1[1]; v4 = a2 % v2; result = *(_DWORD **)(*a1 + 4 * v4); if ( result ) { v6 = (_DWORD *)*result; if ( *result ) { v7 = 0; do { if ( a2 == v6[1] ) { ++v7; } else if ( v7 ) { return (_DWORD *)v7; } v6 = (_DWORD *)*v6; } while ( v6 && v6[1] % v2 == v4 ); return (_DWORD *)v7; } else { return nullptr; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source