// // sub_10001AE30 from 0x10001ae30 to 0x10001b028 (504 bytes) // // 38 xrefs: // > sub_10000B9C0 @ 0x10000b9f2 // > sub_10001C120 @ 0x10001c28f // > sub_1000E9050 @ 0x1000e91bf // > GJGameState::controlTweenAction @ 0x1000ea2aa // > GJGameState::controlTweenAction @ 0x1000ea2ee // > GJGameState::updateTweenActions @ 0x1000ea541 // > GJBaseGameLayer::processStateObjects @ 0x100108786 // > GJBaseGameLayer::controlTriggersInGroup @ 0x100113a60 // > GJBaseGameLayer::addToGroupParents @ 0x10011b7f7 // > GJBaseGameLayer::processAdvancedFollowActions @ 0x100124f7f // > GJBaseGameLayer::update @ 0x100130e4f // > GJBaseGameLayer::resetRecord @ 0x100134dff // > sub_1001474A0 @ 0x1001474bc // > sub_1001491D0 @ 0x10014933f // > GJEffectManager::resetEffects @ 0x1002c89dc // > GJEffectManager::updateEffects @ 0x1002ca1e9 // > GJEffectManager::updateOpacityEffects @ 0x1002ca819 // > GJEffectManager::postCollisionCheck @ 0x1002cadab // > GJEffectManager::controlActionsForControlID @ 0x1002cdf0e // > GJEffectManager::controlActionsForTrigger @ 0x1002cea19 // > GJEffectManager::updateActiveOpacityEffects @ 0x1002d2e44 // > GJEffectManager::loadFromState @ 0x1002da36c // > sub_1002DEB80 @ 0x1002decef // > GJShaderState::updateTweenActions @ 0x1003b348e // > ShaderLayer::update @ 0x1003b549e // > FMODAudioEngine::updateQueuedEffects @ 0x1003cc252 // > FMODAudioEngine::updateTemporaryEffects @ 0x1003cc4a5 // > FMODAudioEngine::updateTemporaryEffects @ 0x1003cc4f6 // > FMODAudioEngine::updateQueuedMusic @ 0x1003cca01 // > FMODAudioEngine::channelStopped @ 0x1003d2ade // > FMODAudioEngine::channelStopped @ 0x1003d2c65 // > FMODAudioEngine::unloadAllEffects @ 0x1003d3dc6 // > FMODAudioEngine::unloadAllEffects @ 0x1003d3e12 // > sub_1003DCEB0 @ 0x1003dd01f // > GJKeybindManager::unbindChord @ 0x100617045 // > GJKeybindManager::unbindChord @ 0x100617293 // > sub_10061AC20 @ 0x10061ad8f // > sub_1008E3880 @ 0x1008e3a2c // // This function is hookable on this platform (idp: pc, 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 12:18:56 +0000 // __int64 __fastcall sub_10001AE30(__int64 a1, __int64 *a2, __int64 *a3) { unsigned __int64 v3; // r9 unsigned __int64 v4; // r8 unsigned __int64 v5; // r11 __int64 v6; // rbx __int64 *v7; // rax __int64 *v8; // r10 unsigned __int64 v9; // rax unsigned __int64 v10; // rax __int64 v11; // r14 unsigned __int64 v12; // rax v3 = a2[1]; v4 = a3[1]; v5 = (0x101010101010101LL * ((((v3 - ((v3 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + (((v3 - ((v3 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL) + ((((v3 - ((v3 >> 1) & 0x5555555555555555LL)) & 0x3333333333333333LL) + (((v3 - ((v3 >> 1) & 0x5555555555555555LL)) >> 2) & 0x3333333333333333LL)) >> 4)) & 0xF0F0F0F0F0F0F0FLL)) >> 56; if ( v5 > 1 ) { if ( v4 >= v3 ) { if ( (v3 | v4) >> 32 ) v4 %= v3; else v4 = (unsigned int)v4 % (unsigned int)v3; } } else { v4 &= v3 - 1; } v6 = *a2; v7 = *(__int64 **)(*a2 + 8 * v4); do { v8 = v7; v7 = (__int64 *)*v7; } while ( v7 != a3 ); if ( v8 != a2 + 2 ) { v9 = v8[1]; if ( (unsigned int)v5 > 1 ) { if ( v9 >= v3 ) { if ( !((v3 | v9) >> 32) ) { if ( (unsigned int)v9 % (unsigned int)v3 == v4 ) goto LABEL_26; goto LABEL_17; } v9 %= v3; } if ( v9 == v4 ) goto LABEL_26; } else if ( ((v3 - 1) & v9) == v4 ) { goto LABEL_26; } } LABEL_17: if ( !*a3 ) goto LABEL_25; v10 = *(_QWORD *)(*a3 + 8); if ( (unsigned int)v5 <= 1 ) { if ( ((v3 - 1) & v10) == v4 ) goto LABEL_26; LABEL_25: *(_QWORD *)(v6 + 8 * v4) = 0; goto LABEL_26; } if ( v10 < v3 ) { LABEL_24: if ( v10 == v4 ) goto LABEL_26; goto LABEL_25; } if ( (v3 | v10) >> 32 ) { v10 %= v3; goto LABEL_24; } if ( (unsigned int)v10 % (unsigned int)v3 != v4 ) goto LABEL_25; LABEL_26: v11 = *a3; if ( *a3 ) { v12 = *(_QWORD *)(v11 + 8); if ( (unsigned int)v5 <= 1 ) { v12 &= v3 - 1; if ( v12 == v4 ) goto LABEL_36; goto LABEL_35; } if ( v12 >= v3 ) { if ( !((v3 | v12) >> 32) ) { v12 = (unsigned int)v12 % (unsigned int)v3; if ( v12 == v4 ) goto LABEL_36; goto LABEL_35; } v12 %= v3; } if ( v12 != v4 ) { LABEL_35: *(_QWORD *)(v6 + 8 * v12) = v8; v11 = *a3; } } else { v11 = 0; } LABEL_36: *v8 = v11; *a3 = 0; --a2[3]; *(_QWORD *)a1 = a3; *(_QWORD *)(a1 + 8) = a2; *(_BYTE *)(a1 + 16) = 1; *(_DWORD *)(a1 + 17) = 0; *(_DWORD *)(a1 + 20) = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source