// // SetupArtSwitchPopup::selectArtClosed from 0x1004112f4 to 0x10041138c (152 bytes) // // 2 xrefs: // > sub_1004113A8 @ 0x1004113ac // > @ 0x10081d0e8 // // 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 SetupArtSwitchPopup::selectArtClosed(SetupArtSwitchPopup *a1, SelectArtLayer *a2) { cocos2d::CCSprite *m_artSprite; // x19 cocos2d::CCSpriteFrameCache *v4; // x22 void **v5; // x1 cocos2d::CCSpriteFrame *v6; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v8; // [xsp+1Fh] [xbp-21h] SetupTriggerPopup::updateValue(a1, 533, (float)a2->m_art); m_artSprite = a1->m_artSprite; v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); sub_1004111F4(a1->m_artType, __p); if ( v8 >= 0 ) v5 = __p; else v5 = (void **)__p[0]; v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, (const char *)v5); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_artSprite->setDisplayFrame)(m_artSprite, v6); if ( v8 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source