// // sub_10001C1B0 from 0x10001c1b0 to 0x10001c3b4 (516 bytes) // // 118 xrefs: // > GJEffectManager::toggleGroup @ 0x1000105a4 // > GJEffectManager::toggleTimerPersistent @ 0x100015a8c // > GJEffectManager::setFollowing @ 0x100016508 // > PlayLayer::loadDefaultColors @ 0x1001186d8 // > PlayLayer::loadDefaultColors @ 0x1001187d0 // > PlayLayer::updateColor @ 0x10011e004 // > FMODAudioEngine::stopChannel_1 @ 0x10013c59c // > FMODAudioEngine::stopMusicNotInSet @ 0x10013e6e4 // > SongInfoObject::updateArtists @ 0x10015b5c8 // > sub_10015E558 @ 0x10015e608 // > sub_1001A9D40 @ 0x1001a9d7c // > SetupKeyframePopup::onCustomButton @ 0x1001b5adc // > GJBaseGameLayer::addRemapTargets @ 0x1001df9fc // > GJBaseGameLayer::addRemapTargets @ 0x1001dfa28 // > GJBaseGameLayer::sortGroups @ 0x1001dfe3c // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e03b4 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e03e0 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e0498 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e04d0 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e04f0 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e0510 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e0598 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e0674 // > GJBaseGameLayer::prepareSavePositionObjects @ 0x1001e0748 // > GJBaseGameLayer::generateTargetGroups @ 0x1001e0dd8 // > GJBaseGameLayer::generateTargetGroups @ 0x1001e0e1c // > GJBaseGameLayer::generateTargetGroups @ 0x1001e0e70 // > GJBaseGameLayer::generateTargetGroups @ 0x1001e0ef8 // > GJBaseGameLayer::generateVisibilityGroups @ 0x1001e1bdc // > GJBaseGameLayer::generateVisibilityGroups @ 0x1001e1c60 // > GJBaseGameLayer::generateVisibilityGroups @ 0x1001e1cb0 // > GJBaseGameLayer::generateVisibilityGroups @ 0x1001e1d2c // > GJBaseGameLayer::generateVisibilityGroups @ 0x1001e1e58 // > GJBaseGameLayer::processSFXObjects @ 0x1001e2168 // > GJBaseGameLayer::playKeyframeAnimation @ 0x1001ea6e8 // > sub_1001EB95C @ 0x1001eba34 // > sub_1001EB95C @ 0x1001eba44 // > sub_1001EB95C @ 0x1001eba74 // > sub_1001EB95C @ 0x1001eba8c // > sub_1001EB95C @ 0x1001ebaac // > sub_1001EB95C @ 0x1001ebabc // > GJBaseGameLayer::addAreaEffect @ 0x1001f3fac // > GJBaseGameLayer::handleButton @ 0x1001fac68 // > GJBaseGameLayer::handleButton @ 0x1001facf8 // > GJBaseGameLayer::preUpdateVisibility @ 0x1001fdc40 // > GJBaseGameLayer::preUpdateVisibility @ 0x1001fdd5c // > GJBaseGameLayer::preUpdateVisibility @ 0x1001fdda0 // > GJBaseGameLayer::preUpdateVisibility @ 0x1001fdef8 // > GJBaseGameLayer::claimCustomParticle @ 0x100204fa0 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x100206788 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x1002068a4 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x100206a88 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x100206b30 // > GJBaseGameLayer::processActivatedAudioTriggers @ 0x100206bc4 // > sub_100212284 @ 0x1002122c4 // > PlayerObject::ringJump @ 0x100228230 // > PlayerObject::addToTouchedRings @ 0x100228e68 // > LevelEditorLayer::getNextFreeGroupID @ 0x10035f734 // > LevelEditorLayer::getNextFreeGroupID @ 0x10035f794 // > LevelEditorLayer::getNextFreeGroupID @ 0x10035f7f8 // > LevelEditorLayer::getNextFreeGroupID @ 0x10035f814 // > LevelEditorLayer::getNextFreeGroupID @ 0x10035f830 // > LevelEditorLayer::getNextFreeGroupID @ 0x10035f84c // > LevelEditorLayer::getNextFreeItemID @ 0x10035f8f4 // > LevelEditorLayer::getNextFreeItemID @ 0x10035f974 // > LevelEditorLayer::getNextFreeBlockID @ 0x10035fa2c // > LevelEditorLayer::getNextFreeBlockID @ 0x10035fa8c // > LevelEditorLayer::getNextFreeOrderChannel @ 0x10035fb40 // > LevelEditorLayer::getNextFreeOrderChannel @ 0x10035fb94 // > LevelEditorLayer::getNextFreeOrderChannel @ 0x10035fbb8 // > LevelEditorLayer::getNextFreeEditorLayer @ 0x10035fc74 // > LevelEditorLayer::getNextFreeEditorLayer @ 0x10035fcbc // > LevelEditorLayer::getNextFreeEditorLayer @ 0x10035fcd4 // > LevelEditorLayer::getNextFreeEnterChannel @ 0x10035fd90 // > LevelEditorLayer::getNextFreeEnterChannel @ 0x10035fdd8 // > LevelEditorLayer::getNextFreeEnterChannel @ 0x10035fdfc // > LevelEditorLayer::getNextFreeAreaEffectID @ 0x10035feb4 // > LevelEditorLayer::getNextFreeAreaEffectID @ 0x10035ff08 // > LevelEditorLayer::getNextFreeSFXID @ 0x10035ffb8 // > LevelEditorLayer::getNextFreeSFXID @ 0x100360014 // > LevelEditorLayer::getNextFreeSFXGroupID @ 0x1003600c4 // > LevelEditorLayer::getNextFreeSFXGroupID @ 0x100360120 // > LevelEditorLayer::getNextFreeGradientID @ 0x1003601d0 // > LevelEditorLayer::getNextFreeGradientID @ 0x100360224 // > LevelEditorLayer::getNextColorChannel @ 0x10036031c // > LevelEditorLayer::getNextColorChannel @ 0x100360338 // > LevelEditorLayer::getNextColorChannel @ 0x10036038c // > LevelEditorLayer::resetUnusedColorChannels @ 0x1003604c8 // > LevelEditorLayer::resetUnusedColorChannels @ 0x1003604e4 // > LevelEditorLayer::resetUnusedColorChannels @ 0x100360538 // > sub_100364844 @ 0x100364acc // > sub_100365230 @ 0x1003652a8 // > sub_100365230 @ 0x100365300 // > sub_100365230 @ 0x100365310 // > sub_100365230 @ 0x100365380 // > sub_100365230 @ 0x1003654d4 // > sub_100365890 @ 0x100365914 // > sub_100365890 @ 0x100365ad4 // > sub_100365890 @ 0x100365b48 // > sub_100365890 @ 0x100365c80 // > sub_100365890 @ 0x100366524 // > EditorUI::copyObjects @ 0x1003e88bc // > EditorUI::copyObjects @ 0x1003e88e4 // > EditorUI::dynamicGroupUpdate @ 0x1003f2d50 // > EditorUI::dynamicGroupUpdate @ 0x1003f2dbc // > EditorUI::dynamicGroupUpdate @ 0x1003f2e50 // > EditorUI::dynamicGroupUpdate @ 0x1003f2e60 // > EditorUI::dynamicGroupUpdate @ 0x1003f2e70 // > EditorUI::dynamicGroupUpdate @ 0x1003f2e80 // > EditorUI::dynamicGroupUpdate @ 0x1003f2ebc // > EditorUI::dynamicGroupUpdate @ 0x1003f2ed0 // > EditorUI::dynamicGroupUpdate @ 0x1003f2ef8 // > EditorUI::dynamicGroupUpdate @ 0x1003f2f08 // > EditorUI::dynamicGroupUpdate @ 0x1003f2f18 // > EditorUI::dynamicGroupUpdate @ 0x1003f2f28 // > EditorUI::dynamicGroupUpdate @ 0x1003f2f3c // > EditorUI::dynamicGroupUpdate @ 0x1003f2f64 // > EditorUI::dynamicGroupUpdate @ 0x1003f3030 // // 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 // _QWORD *__fastcall sub_10001C1B0(unsigned __int64 a1, int *a2, _DWORD *a3) { unsigned __int64 v3; // x24 unsigned __int64 v6; // x23 unsigned __int64 v7; // x22 uint8x8_t v8; // d0 void **v9; // x9 _QWORD *v10; // x20 unsigned __int64 v11; // x10 float v12; // s0 float v13; // s1 _BOOL8 v14; // x9 unsigned __int64 v15; // x8 unsigned __int64 v16; // x9 size_t v17; // x1 __int64 v18; // x9 _QWORD *v19; // x8 unsigned __int64 v20; // x8 v6 = *a2; v7 = *(_QWORD *)(a1 + 8); if ( v7 ) { v8 = (uint8x8_t)vcnt_s8((int8x8_t)v7); v8.i16[0] = vaddlv_u8(v8); if ( v8.u32[0] > 1uLL ) { v3 = *a2; if ( v7 <= v6 ) v3 = v6 % v7; } else { v3 = (v7 - 1) & v6; } v9 = *(void ***)(*(_QWORD *)a1 + 8 * v3); if ( v9 ) { v10 = *v9; if ( *v9 ) { do { v11 = v10[1]; if ( v11 == v6 ) { if ( *((_DWORD *)v10 + 4) == (_DWORD)v6 ) return v10; } else { if ( v8.u32[0] > 1uLL ) { if ( v11 >= v7 ) v11 %= v7; } else { v11 &= v7 - 1; } if ( v11 != v3 ) break; } v10 = (_QWORD *)*v10; } while ( v10 ); } } } v10 = operator new(0x18u); *v10 = 0; v10[1] = v6; *((_DWORD *)v10 + 4) = *a3; v12 = (float)(unsigned __int64)(*(_QWORD *)(a1 + 24) + 1LL); v13 = *(float *)(a1 + 32); if ( !v7 || (float)(v13 * (float)v7) < v12 ) { v14 = 1; if ( v7 >= 3 ) v14 = (v7 & (v7 - 1)) != 0; v15 = v14 | (2 * v7); v16 = vcvtps_u32_f32(v12 / v13); if ( v15 <= v16 ) v17 = v16; else v17 = v15; sub_100018D40(a1, v17); v7 = *(_QWORD *)(a1 + 8); if ( (v7 & (v7 - 1)) != 0 ) { if ( v7 <= v6 ) v3 = v6 % v7; else v3 = v6; } else { v3 = (v7 - 1) & v6; } } v18 = *(_QWORD *)a1; v19 = *(_QWORD **)(*(_QWORD *)a1 + 8 * v3); if ( v19 ) { *v10 = *v19; LABEL_38: *v19 = v10; goto LABEL_39; } *v10 = *(_QWORD *)(a1 + 16); *(_QWORD *)(a1 + 16) = v10; *(_QWORD *)(v18 + 8 * v3) = a1 + 16; if ( *v10 ) { v20 = *(_QWORD *)(*v10 + 8LL); if ( (v7 & (v7 - 1)) != 0 ) { if ( v20 >= v7 ) v20 %= v7; } else { v20 &= v7 - 1; } v19 = (_QWORD *)(*(_QWORD *)a1 + 8 * v20); goto LABEL_38; } LABEL_39: ++*(_QWORD *)(a1 + 24); return v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source