// // CustomSFXCell::loadFromObject from 0x6158a8 to 0x6159ac (260 bytes) // // 3 xrefs: // > CustomListView::reloadAll @ 0x61e1a8 // > CustomListView::loadCell @ 0x620500 // > @ 0x33288 // // 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 CustomSFXCell::loadFromObject(CustomSFXCell *a1, SFXInfoObject *a2) { CustomSFXWidget *v4; // x22 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 cocos2d::CCPoint v6; // [xsp+40h] [xbp+40h] BYREF a1->m_mainLayer->removeAllChildrenWithCleanup(a1->m_mainLayer, 1); a1->m_sfxObject = a2; v4 = CustomSFXWidget::create( a2, &a1->CustomSFXDelegate, (bool)&dword_0 + 1, (bool)&dword_0 + 1, (bool)&dword_0 + 1, 0, a1->m_compactMode); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v4, 2); setPosition = v4->setPosition; cocos2d::CCPoint::CCPoint(&v6, a1->m_width * 0.5, a1->m_height * 0.5); setPosition(v4, &v6); LODWORD(setPosition) = a1->m_sfxObject->m_sfxID; a1->m_selected = (_DWORD)setPosition == a1->getActiveSFXID(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source