//
// URLCell::loadFromObject from 0x73adc4 to 0x73afc4 (512 bytes)
//
// 2 xrefs:
// > CustomListView::loadCell @ 0x74d264
// > ??> @ 0x6a1f8
//
// 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 12:52:40 +0000
//
__int64 __fastcall URLCell::loadFromObject(URLCell *this, CCURLObject *a2)
{
const char *v4; // x2
cocos2d::CCLabelBMFont *v5; // x0
cocos2d::CCLabelBMFont *v6; // x21
void (__fastcall *v7)(cocos2d::CCLabelBMFont *, __int64 *); // x24
cocos2d::CCMenuItem *v8; // x1
cocos2d::CCNode *v9; // x21
const char *v10; // x6
__int64 v11; // x24
__int64 v12; // x24
float v13; // s0
float v14; // s1
void (__fastcall *v15)(__int64, __int64 *); // x19
_BYTE v17[8]; // [xsp+68h] [xbp+68h] BYREF
__int64 v18; // [xsp+70h] [xbp+70h] BYREF
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 67) + 584LL))(*((_QWORD *)this + 67), 1);
*((_QWORD *)this + 69) = a2;
v5 = (CCURLObject *)((char *)a2 + 57);
if ( (*((_BYTE *)a2 + 56) & 1) != 0 )
v5 = *((cocos2d::CCLabelBMFont **)a2 + 9);
v6 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v5, "bigFont.fnt", v4);
cocos2d::CCLabelBMFont::limitLabelWidth(v6, 250.0, 0.5, 0.0);
(*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *))(**((_QWORD **)this + 67) + 456LL))(
*((_QWORD *)this + 67),
v6);
v7 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, __int64 *))(*(_QWORD *)v6 + 296LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v18, 0.0, 0.5);
v7(v6, &v18);
(*(void (__fastcall **)(cocos2d::CCLabelBMFont *, float, float))(*(_QWORD *)v6 + 200LL))(
v6,
15.0,
*((float *)this + 131) * 0.5);
v9 = (cocos2d::CCNode *)cocos2d::CCMenu::create(nullptr, v8);
(*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**((_QWORD **)this + 67) + 464LL))(
*((_QWORD *)this + 67),
v9,
3);
v11 = ButtonSprite::create(
(ButtonSprite *)"Open",
(const char *)&qword_60 + 4,
0,
0,
0.7,
"bigFont.fnt",
"GJ_button_01.png",
v10,
30.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v11 + 160LL))(v11, 0.6);
v12 = CCMenuItemSpriteExtra::create(v11, 0, (__int64)this, (__int64)URLCell::onURL, 0);
CCMenuItemSpriteExtra::setSizeMult(v12, 1.2);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v9 + 456LL))(v9, v12);
v13 = *((float *)this + 130) - 30.0;
v14 = *((float *)this + 131) * 0.5;
v15 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v12 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v13, v14);
cocos2d::CCNode::convertToNodeSpace(&v18, v9, (const cocos2d::CCPoint *)v17);
v15(v12, &v18);
return _stack_chk_guard;
}