//
// GJBaseGameLayer::regenerateEnterEasingBuffers from 0x1001175b0 to 0x1001176e2 (306 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateSpecialGroupData @ 0x1001173c1
//
// 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 __fastcall GJBaseGameLayer::regenerateEnterEasingBuffers(GJBaseGameLayer *a1)
{
std::__hash_node_base, void *> *>::__next_pointer next; // rdi
std::__hash_node_base, void *> *> *v3; // r14
unsigned __int64 value; // rsi
cocos2d::CCArray *m_objects; // rax
cocos2d::ccArray *data; // rax
cocos2d::CCObject **arr; // r14
unsigned __int64 v8; // r15
cocos2d::CCObject *v9; // r13
a1->m_enterEasingValues.__end_ = a1->m_enterEasingValues.__begin_;
if ( a1->m_enterEasingIndices.__table_.__p2_.__value_ )
{
next = a1->m_enterEasingIndices.__table_.__p1_.__value_.__next_;
if ( next )
{
do
{
v3 = next->__next_;
operator delete(next);
next = v3;
}
while ( v3 );
}
a1->m_enterEasingIndices.__table_.__p1_.__value_.__next_ = nullptr;
value = a1->m_enterEasingIndices.__table_.__bucket_list_.__ptr_.__value_.__data_.__value_;
if ( value )
__bzero(a1->m_enterEasingIndices.__table_.__bucket_list_.__ptr_.__value_, 8 * value);
a1->m_enterEasingIndices.__table_.__p2_.__value_ = 0;
}
a1->m_enterEasingValuesIndex = 0;
m_objects = a1->m_objects;
if ( m_objects )
{
data = m_objects->data;
if ( data->num )
{
arr = data->arr;
v8 = (unsigned __int64)&arr[data->num - 1];
do
{
v9 = *arr;
if ( !*arr )
break;
if ( v9[18].m_uReference - 3006 <= 0xF && v9[18].m_uReference != 3016 )
{
v9[34].m_uReference = GJBaseGameLayer::generateEnterEasingBuffer(
a1,
v9[34].m_nLuaID,
*(float *)&v9[34].m_nTag);
v9[34].m_uIndexInArray = GJBaseGameLayer::generateEnterEasingBuffer(
a1,
v9[34].m_uAutoReleaseCount,
*(float *)&v9[34].m_eObjType);
}
++arr;
}
while ( (unsigned __int64)arr <= v8 );
}
}
}