//
// sub_100720100 from 0x100720100 to 0x10072015d (93 bytes)
//
// 3 xrefs:
// > cocos2d::CCDictionary::randomObject @ 0x10030fe92
// > LevelTools::sortSpeedObjects @ 0x10050278a
// > CurrencyRewardLayer::createObjectsFull @ 0x1007a875c
//
// 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
//
__int64 __fastcall sub_100720100(__int64 a1, __m128 a2)
{
if ( !**(_DWORD **)(a1 + 56) )
return 0;
a2.f32[0] = (float)rand() * 4.6566129e-10;
return *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 56) + 16LL)
+ 8LL
* (int)(float)((float)**(int **)(a1 + 56)
* _mm_andnot_ps(_mm_cmpeq_ss((__m128)0x3F800000u, a2), a2).f32[0]));
}