//
// sub_10093BDC0 from 0x10093bdc0 to 0x10093bff7 (567 bytes)
//
// 1 xrefs:
// > LevelBadgePopup::loadLevelsFinished @ 0x10093bc89
//
// 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:38:29 +0000
//
__m128 *__fastcall sub_10093BDC0(__int64 a1, __int64 a2)
{
__int64 v3; // rax
int v4; // edi
void *v5; // r15
__int64 v6; // rax
__int64 v7; // rax
_QWORD *v8; // r15
unsigned __int64 v10[2]; // [rsp+8h] [rbp-48h] BYREF
__int64 v11; // [rsp+18h] [rbp-38h] BYREF
float v12; // [rsp+20h] [rbp-30h]
float v13; // [rsp+24h] [rbp-2Ch]
float v14; // [rsp+28h] [rbp-28h]
float CellHeight; // [rsp+2Ch] [rbp-24h]
v3 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize(&v11, v3);
v4 = 4;
if ( *(_BYTE *)(a1 + 676) )
v4 = 25;
CellHeight = CustomListView::getCellHeight(v4);
v13 = *(float *)&v11 * 0.5;
v14 = *((float *)&v11 + 1) * 0.5;
sub_100278270((__int64)v10, 0.0, 0.0, (__m128)0x42A00000u, (__m128)0x42A00000u);
v5 = cocos2d::extension::CCScale9Sprite::create_2((__int64)"GJ_square01.png", v10);
v12 = CellHeight + 14.0;
sub_100278260((float *)v10, 370.0, CellHeight + 14.0);
(*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v5 + 320LL))(v5, v10);
sub_100278250((float *)v10, v13, v14);
(*(void (__fastcall **)(void *, unsigned __int64 *))(*(_QWORD *)v5 + 184LL))(v5, v10);
(*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v5, 1);
v6 = cocos2d::CCDirector::sharedDirector();
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 160LL))(v6);
cocos2d::CCTouchDispatcher::registerForcePrio(v7, a1, 2, 0);
if ( *(_BYTE *)(a1 + 676) == 1 )
{
v8 = LevelListCell::create(356.0, CellHeight, COERCE_DOUBLE(1117782016), COERCE_DOUBLE(1117782016));
LevelListCell::loadFromList((__int64)v8, a2);
LevelListCell::updateBGColor((__int64)v8, 0);
}
else
{
v8 = LevelCell::create(356.0, CellHeight, COERCE_DOUBLE(1117782016), COERCE_DOUBLE(1117782016));
LevelCell::loadFromLevel((__int64)v8, a2);
LevelCell::updateBGColor((__int64)v8, 0);
}
sub_100278250((float *)v10, v13 + -178.0, v14 - (float)(CellHeight * 0.5));
(*(void (__fastcall **)(_QWORD *, unsigned __int64 *))(*v8 + 184LL))(v8, v10);
(*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v8, 2);
sub_100278270((__int64)v10, v13 + -185.0, v14 - (float)(0.5 * v12), (__m128)0x43B90000u, (__m128)LODWORD(v12));
return sub_100278810((__m128 *)(a1 + 680), v10);
}