//
// URLCell::loadFromObject from 0x10012ac64 to 0x10012ae30 (460 bytes)
//
// 1 xrefs:
// > CustomListView::loadCell @ 0x100126338
//
// This function is hookable on this platform (idp: arm, 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 10:59:20 +0000
//
__int64 __fastcall URLCell::loadFromObject(__int64 a1, __int64 a2)
{
_QWORD *v4; // x0
__int64 v5; // x21
__n128 v6; // q0
__int64 v7; // x21
void *v8; // x20
__int64 v9; // x20
__n128 v10; // q0
__n128 v11; // q0
float v13; // [xsp+0h] [xbp-40h] BYREF
__int64 v14; // [xsp+8h] [xbp-38h] BYREF
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 536) + 584LL))(*(_QWORD *)(a1 + 536), 1);
*(_QWORD *)(a1 + 552) = a2;
v4 = (_QWORD *)(a2 + 56);
if ( *(char *)(a2 + 79) < 0 )
v4 = (_QWORD *)*v4;
v5 = cocos2d::CCLabelBMFont::create_1(v4, "bigFont.fnt");
v6 = cocos2d::CCLabelBMFont::limitLabelWidth(v5, 250.0, 0.5, 0.0);
(*(void (__fastcall **)(_QWORD, __int64, __n128))(**(_QWORD **)(a1 + 536) + 456LL))(*(_QWORD *)(a1 + 536), v5, v6);
sub_1000262BC((float *)&v14, 0.0, 0.5);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 296LL))(v5, &v14);
(*(void (__fastcall **)(__int64, float, float))(*(_QWORD *)v5 + 200LL))(v5, 15.0, *(float *)(a1 + 524) * 0.5);
v7 = sub_100270434(0);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 536) + 464LL))(*(_QWORD *)(a1 + 536), v7, 3);
v8 = ButtonSprite::create_1(
(__int64)"Open",
100,
0,
0,
(__int64)"bigFont.fnt",
(__int64)"GJ_button_01.png",
0.7,
30.0);
(*(void (__fastcall **)(void *, float))(*(_QWORD *)v8 + 160LL))(v8, 0.6);
v9 = CCMenuItemSpriteExtra::create(v8, 0, a1, sub_10013B920, 0);
v10 = CCMenuItemSpriteExtra::setSizeMult(1.2);
(*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v7 + 456LL))(v7, v9, v10);
sub_1000262BC(&v13, *(float *)(a1 + 520) + -30.0, *(float *)(a1 + 524) * 0.5);
cocos2d::CCNode::convertToNodeSpace(&v14, v7, &v13, v11);
return (*(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v9 + 184LL))(v9, &v14);
}