// // CustomSFXCell::loadFromObject from 0x335310 to 0x3353be (174 bytes) // // 2 xrefs: // > CustomListView::reloadAll @ 0x33a65a // > CustomListView::loadCell @ 0x33bbb2 // // 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) { bool m_compactMode; // r3 CustomSFXWidget *v5; // r7 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r8 int m_sfxID; // r6 cocos2d::CCPoint v8; // [sp+14h] [bp-Ch] BYREF a1->m_mainLayer->removeAllChildrenWithCleanup(a1->m_mainLayer, 1); m_compactMode = a1->m_compactMode; a1->m_sfxObject = a2; v5 = CustomSFXWidget::create( a2, &a1->CustomSFXDelegate, (bool)&dword_0 + 1, (bool)&dword_0 + 1, (bool)&dword_0 + 1, 0, m_compactMode); a1->m_mainLayer->addChild_0(a1->m_mainLayer, v5, 2); setPosition = v5->setPosition; cocos2d::CCPoint::CCPoint(&v8, a1->m_width * 0.5, a1->m_height * 0.5); setPosition(v5, &v8); m_sfxID = a1->m_sfxObject->m_sfxID; a1->m_selected = m_sfxID == a1->getActiveSFXID(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source