// // URLCell::loadFromObject from 0x100247590 to 0x100247758 (456 bytes) // // 1 xrefs: // > CustomListView::loadCell @ 0x100242604 // // 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 URLCell::loadFromObject(URLCell *a1, CCURLObject *a2) { std::array *longStorage; // r15 cocos2d::CCLabelBMFont *v3; // r15 int v4; // edx int v5; // ecx int v6; // r8d int v7; // r9d const cocos2d::CCPoint *v8; // r15 ButtonSprite *v9; // r14 CCMenuItemSpriteExtra *v10; // r14 _BYTE v11[8]; // [rsp+0h] [rbp-30h] BYREF _BYTE v12[40]; // [rsp+8h] [rbp-28h] BYREF double v13; // 0:xmm0_8.8 ((void (__fastcall *)(cocos2d::CCLayer *, __int64))a1->m_mainLayer->removeAllChildrenWithCleanup)(a1->m_mainLayer, 1); a1->m_urlObject = a2; if ( (a2->m_name.m_data.m_short.sizex2 & 1) != 0 ) longStorage = (std::array *)a2->m_name.m_data.m_long.longStorage; else longStorage = &a2->m_name.m_data.m_short.shortStorage; v3 = cocos2d::CCLabelBMFont::create_3(longStorage->__elems_, "bigFont.fnt"); cocos2d::CCLabelBMFont::limitLabelWidth(v3, 250.0, 0.5, 0.0); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))a1->m_mainLayer->addChild)(a1->m_mainLayer, v3); sub_10028CBE0(v12, 0.0, 0.5); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _BYTE *))v3->setAnchorPoint)(v3, v12); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float, float))v3->setPosition_0)(v3, 15.0, a1->m_height * 0.5); v8 = (const cocos2d::CCPoint *)sub_100792C50(0, (unsigned int)v12, v4, v5, v6, v7); ((void (__fastcall *)(cocos2d::CCLayer *, const cocos2d::CCPoint *, __int64))a1->m_mainLayer->addChild_0)( a1->m_mainLayer, v8, 3); v9 = ButtonSprite::create_1("Open", 100, 0, 0.69999999, 0, "bigFont.fnt", "GJ_button_01.png", 30.0); ((void (__fastcall *)(ButtonSprite *, float))v9->setScale)(v9, 0.60000002); v10 = CCMenuItemSpriteExtra::create(v9, nullptr, a1, (cocos2d::SEL_MenuHandler)(unsigned __int64)URLCell::onURL); CCMenuItemSpriteExtra::setSizeMult(v10, 1.2); (*(void (__fastcall **)(const cocos2d::CCPoint *, CCMenuItemSpriteExtra *))(*(_QWORD *)v8 + 440LL))(v8, v10); sub_10028CBE0(v11, a1->m_width + -30.0, 0.5 * a1->m_height); *(cocos2d::CCPoint *)&v13 = cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v12, v8); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BYTE *, double))v10->setPosition)(v10, v12, v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source