// // URLCell::loadFromObject from 0x1400c0250 to 0x1400c047a (554 bytes) // // 2 xrefs: // > CustomListView::loadCell @ 0x1400ab876 // > @ 0x1406c7ee4 // // 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 // // Hidden C++ exception states: #wind=1 void URLCell::loadFromObject(URLCell *a1, CCURLObject *a2) { CCURLObject *v2; // rbx const char *Elems; // rcx cocos2d::CCLabelBMFont *v5; // rdi cocos2d::CCLabelBMFont_vtbl *v6; // rbx const cocos2d::CCPoint *v7; // rax struct cocos2d::CCMenu *v8; // r14 ButtonSprite *v9; // rbx CCMenuItemSpriteExtra *v10; // rdi CCMenuItemSpriteExtra_vtbl *v11; // rbx struct cocos2d::CCPoint v12; // rax ButtonSprite *v13; // [rsp+90h] [rbp+8h] BYREF struct cocos2d::CCPoint v14; // [rsp+98h] [rbp+10h] BYREF v2 = a2; LOBYTE(a2) = 1; a1->m_mainLayer->removeAllChildrenWithCleanup(a1->m_mainLayer, (bool)a2); a1->m_urlObject = v2; Elems = v2->m_name.m_data.m_smallStorage._Elems; if ( v2->m_name.m_data.m_capacity > 0xF ) Elems = *(const char **)Elems; v5 = cocos2d::CCLabelBMFont::create(Elems, (const char *)&qword_14052A4D8); cocos2d::CCLabelBMFont::limitLabelWidth(v5, 250.0, 0.5, 0.0); a1->m_mainLayer->addChild_1(a1->m_mainLayer, v5); v6 = v5->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 0.0, 0.5); v6->setAnchorPoint(v5, v7); ((void (__fastcall *)(cocos2d::CCLabelBMFont *))v5->setPosition)(v5); v8 = cocos2d::CCMenu::create(nullptr); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v8, 3); v13 = (ButtonSprite *)operator new(0x2C0u); v9 = ButtonSprite::ButtonSprite(v13); if ( v9 ) { if ( ButtonSprite::init_1( v9, "Open", 100, 0, 0.69999999, 0, (const char *)&qword_14052A4D8, "GJ_button_01.png", 30.0) ) { cocos2d::CCObject::autorelease(v9); } else { ((void (__fastcall *)(ButtonSprite *, __int64))v9->~ButtonSprite)(v9, 1); v9 = nullptr; } } ((void (__fastcall *)(ButtonSprite *))v9->setScale_0)(v9); v10 = CCMenuItemSpriteExtra::create(v9, nullptr, a1, (cocos2d::SEL_MenuHandler *)URLCell::onURL); HIDWORD(v10->m_pfnSelector.adj) = 1067030938; v8->addChild_1(v8, v10); v11 = v10->cocos2d::CCMenuItemSprite::cocos2d::CCMenuItem::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, a1->m_width - 30.0, a1->m_height * 0.5); v12 = cocos2d::CCNode::convertToNodeSpace(v8, &v14); ((void (__fastcall *)(CCMenuItemSpriteExtra *, struct cocos2d::CCPoint))v11->setPosition_0)(v10, v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source