// // URLCell::loadFromObject from 0x6200ec to 0x6202dc (496 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x620410 // > @ 0x4b7e0 // // 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 URLCell::loadFromObject(URLCell *a1, CCURLObject *a2) { cocos2d::CCLabelBMFont *v4; // x21 void (__fastcall *setAnchorPoint)(cocos2d::CCLabelBMFont *__hidden, const cocos2d::CCPoint *); // x24 cocos2d::CCMenuItem *v6; // x1 cocos2d::CCNode *v7; // x21 const char *v8; // x6 cocos2d::CCNode *v9; // x24 CCMenuItemSpriteExtra *v10; // x24 float v11; // s0 float v12; // s1 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x19 cocos2d::CCPoint v14; // [xsp+68h] [xbp+68h] BYREF cocos2d::CCPoint v15; // [xsp+70h] [xbp+70h] BYREF cocos2d::CCPoint v16; // 0:kr00_8.8 cocos2d::SEL_MenuHandler v17; // 0:x2.16 a1->m_mainLayer->removeAllChildrenWithCleanup(a1->m_mainLayer, 1); a1->m_urlObject = a2; v4 = cocos2d::CCLabelBMFont::create(); cocos2d::CCLabelBMFont::limitLabelWidth(v4, 250.0, 0.5, 0.0); a1->m_mainLayer->addChild(a1->m_mainLayer, v4); setAnchorPoint = v4->setAnchorPoint; cocos2d::CCPoint::CCPoint(&v15, 0.0, 0.5); setAnchorPoint(v4, &v15); v4->setPosition_0(v4, 15.0, a1->m_height * 0.5); v7 = (cocos2d::CCNode *)cocos2d::CCMenu::create(nullptr, v6); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v7, 3); v9 = (cocos2d::CCNode *)ButtonSprite::create( (ButtonSprite *)"Open", (const char *)&qword_60 + 4, 0, 0, 0.7, "bigFont.fnt", "GJ_button_01.png", v8, 30.0); v9->setScale(v9, 0.6); v17.ptr = (void (__cdecl *)(cocos2d::CCObject *))a1; v17.adj = (size_t)URLCell::onURL; v10 = CCMenuItemSpriteExtra::create(v9, nullptr, v17); CCMenuItemSpriteExtra::setSizeMult(v10, 1.2); v7->addChild(v7, v10); v11 = a1->m_width - 30.0; v12 = a1->m_height * 0.5; setPosition = v10->setPosition; cocos2d::CCPoint::CCPoint(&v14, v11, v12); v16 = cocos2d::CCNode::convertToNodeSpace(v7, &v14); ((void (__fastcall *)(CCMenuItemSpriteExtra *, cocos2d::CCPoint *, float, float))setPosition)(v10, &v15, v16.x, v16.y); }
GD Web Decomp Icon

GD Web Decomp

Raw Source