// // GJShopLayer::exitVideoAdItems from 0x4e22b4 to 0x4e2346 (146 bytes) // // 0 xrefs: // // 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 GJShopLayer::exitVideoAdItems(GJShopLayer *a1) { cocos2d::CCNode *m_unkNode1; // r0 AnimatedShopKeeper *m_shopKeeper; // r4 void (__fastcall *setPosition)(cocos2d::CCSprite *__hidden, const cocos2d::CCPoint *); // r8 int v5; // r9 cocos2d::CCPoint v6; // [sp+4h] [bp-18h] BYREF cocos2d::CCPoint v7; // [sp+Ch] [bp-10h] BYREF m_unkNode1 = a1->m_unkNode1; if ( m_unkNode1 ) { if ( ((int (__fastcall *)(cocos2d::CCNode *))m_unkNode1->isVisible)(m_unkNode1) ) { a1->m_unkNode1->setVisible(a1->m_unkNode1, 0); ((void (__fastcall *)(cocos2d::CCNode *, _DWORD))a1->m_unkNode1->__vftable[1].setScale)(a1->m_unkNode1, 0); a1->m_unkNode2->setVisible(a1->m_unkNode2, 0); m_shopKeeper = a1->m_shopKeeper; setPosition = m_shopKeeper->setPosition; v5 = (int)m_shopKeeper->getPosition(m_shopKeeper); cocos2d::CCPoint::CCPoint(&v6, -50.0, 0.0); cocos2d::CCPoint::operator+(&v7, v5, &v6); setPosition(m_shopKeeper, &v7); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source