//
// sub_1001B0EE0 from 0x1001b0ee0 to 0x1001b0f32 (82 bytes)
//
// 73 xrefs:
// > AnimatedGameObject::animationFinished @ 0x1001b8287
// > AchievementCell::loadFromDict @ 0x1002431e0
// > AchievementCell::loadFromDict @ 0x10024324a
// > AchievementCell::loadFromDict @ 0x1002432b4
// > AchievementCell::loadFromDict @ 0x10024331e
// > AchievementCell::loadFromDict @ 0x100243388
// > AchievementCell::loadFromDict @ 0x1002433f2
// > AchievementCell::loadFromDict @ 0x10024345c
// > AchievementCell::loadFromDict @ 0x1002434c6
// > AchievementCell::loadFromDict @ 0x100243530
// > AchievementCell::loadFromDict @ 0x100243593
// > StatsCell::getTitleFromKey @ 0x100253437
// > StatsCell::getTitleFromKey @ 0x10025349d
// > StatsCell::getTitleFromKey @ 0x100253503
// > StatsCell::getTitleFromKey @ 0x100253569
// > StatsCell::getTitleFromKey @ 0x1002535cf
// > StatsCell::getTitleFromKey @ 0x100253635
// > StatsCell::getTitleFromKey @ 0x10025369b
// > StatsCell::getTitleFromKey @ 0x100253701
// > StatsCell::getTitleFromKey @ 0x100253767
// > StatsCell::getTitleFromKey @ 0x1002537cd
// > StatsCell::getTitleFromKey @ 0x100253833
// > StatsCell::getTitleFromKey @ 0x100253899
// > StatsCell::getTitleFromKey @ 0x1002538fc
// > GameManager::getUnlockForAchievement @ 0x100378d61
// > GameManager::getUnlockForAchievement @ 0x100378d9c
// > GameManager::getUnlockForAchievement @ 0x100378dd7
// > GameManager::getUnlockForAchievement @ 0x100378e12
// > GameManager::getUnlockForAchievement @ 0x100378e4d
// > GameManager::getUnlockForAchievement @ 0x100378e88
// > GameManager::getUnlockForAchievement @ 0x100378ec3
// > GameManager::getUnlockForAchievement @ 0x100378efe
// > GameManager::getUnlockForAchievement @ 0x100378f39
// > GameManager::getUnlockForAchievement @ 0x100378f74
// > GameManager::getUnlockForAchievement @ 0x100378faf
// > SecretLayer4::onSubmit @ 0x1003b2bc8
// > PlayerObject::updateMove @ 0x100400823
// > SecretLayer2::onSubmit @ 0x10049f10d
// > SecretLayer2::onSubmit @ 0x10049f1f3
// > SecretLayer2::onSubmit @ 0x10049f2d9
// > SecretLayer2::onSubmit @ 0x10049f3bf
// > SecretLayer2::onSubmit @ 0x10049f47e
// > SecretLayer2::onSubmit @ 0x10049f56a
// > SecretLayer2::onSubmit @ 0x10049f604
// > SecretLayer2::onSubmit @ 0x10049f671
// > SecretLayer2::onSubmit @ 0x10049f6d9
// > SecretLayer2::onSubmit @ 0x10049f741
// > GameLevelManager::onGetGJRewardsCompleted @ 0x100527182
// > GameLevelManager::onGetGJChallengesCompleted @ 0x100527dbf
// > SecretLayer::onSubmit @ 0x1005fc1e1
// > SecretLayer::onSubmit @ 0x1005fc442
// > SecretLayer::onSubmit @ 0x1005fc4e8
// > SecretLayer::onSubmit @ 0x1005fc58e
// > SecretLayer::onSubmit @ 0x1005fc63d
// > SecretLayer::onSubmit @ 0x1005fc6e3
// > SecretLayer::onSubmit @ 0x1005fc7d5
// > SecretLayer::onSubmit @ 0x1005fc841
// > SecretLayer::onSubmit @ 0x1005fc8b2
// > SecretLayer::onSubmit @ 0x1005fc922
// > SecretLayer::onSubmit @ 0x1005fc993
// > SecretLayer::onSubmit @ 0x1005fca42
// > AchievementBar::init @ 0x100619be9
// > AchievementBar::init @ 0x100619c62
// > AchievementBar::init @ 0x100619ccb
// > AchievementBar::init @ 0x100619d34
// > AchievementBar::init @ 0x100619d9d
// > AchievementBar::init @ 0x100619e06
// > AchievementBar::init @ 0x100619e6f
// > AchievementBar::init @ 0x100619ed8
// > AchievementBar::init @ 0x100619f41
// > AchievementBar::init @ 0x100619faa
// > AchievementBar::init @ 0x10061a013
// > MoreVideoOptionsLayer::onToggle @ 0x1007a27d7
//
// 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
//
char __fastcall sub_1001B0EE0(unsigned __int8 *a1, unsigned __int8 *a2)
{
unsigned int v2; // eax
unsigned int v3; // edx
size_t v4; // rdx
const void *v5; // rdi
size_t v6; // rax
const void *v7; // rsi
bool v8; // zf
v2 = *a2;
v3 = *a1;
if ( (v3 & 1) != 0 )
{
v4 = *((_QWORD *)a1 + 1);
v5 = *((const void **)a1 + 2);
if ( (v2 & 1) == 0 )
{
LABEL_3:
v6 = v2 >> 1;
v7 = a2 + 1;
goto LABEL_6;
}
}
else
{
v4 = v3 >> 1;
v5 = a1 + 1;
if ( (v2 & 1) == 0 )
goto LABEL_3;
}
v6 = *((_QWORD *)a2 + 1);
v7 = *((const void **)a2 + 2);
LABEL_6:
v8 = v6 == v4;
if ( v6 < v4 )
v4 = v6;
return v8 & (memcmp(v5, v7, v4) == 0);
}