// // PlayerObject::enablePlayerControls from 0x34ead0 to 0x34eb4a (122 bytes) // // 1 xrefs: // > GJBaseGameLayer::toggleLockPlayer @ 0x4766aa // // 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 // void PlayerObject::enablePlayerControls(PlayerObject *a1) { int v1; // r2 std::map *p_m_holdingButtons; // r7 PlayerButton v4; // r8 int v5; // r2 int v6; // r2 int v7; // [sp+0h] [bp-8h] BYREF p_m_holdingButtons = &a1->m_holdingButtons; v4 = 2; v7 = 2; a1->m_controlsDisabled = 0; if ( *(_BYTE *)std::map::operator[](&a1->m_holdingButtons.compare.pad, &v7, v1) || (v4 = 3, v7 = 3, *(_BYTE *)std::map::operator[](p_m_holdingButtons, &v7, v5)) ) { PlayerObject::switchedDirTo(a1, v4); } v7 = 1; if ( *(_BYTE *)std::map::operator[](p_m_holdingButtons, &v7, v6) ) PlayerObject::pushButton(a1, Jump); }
GD Web Decomp Icon

GD Web Decomp

Raw Source