//
// DungeonBarsSprite::visit from 0x93a98c to 0x93ab28 (412 bytes)
//
// 2 xrefs:
// > ??> @ 0x48d08
// > ??> @ 0x11b3dc0
//
// 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 DungeonBarsSprite::visit(DungeonBarsSprite *a1)
{
float v2; // s9
const cocos2d::CCPoint *v3; // x0
float v4; // s8
float v5; // s9
const cocos2d::CCPoint *v6; // x0
float width; // s10
float v8; // s2
float height; // s8
float v10; // s0
cocos2d::CCNode *v11; // x22
const cocos2d::CCPoint *v12; // x0
cocos2d::CCEGLView *v13; // x0
float v14; // [xsp+60h] [xbp+60h]
float v15; // [xsp+70h] [xbp+70h]
cocos2d::CCSize v16; // [xsp+80h] [xbp+80h] BYREF
float v17; // [xsp+88h] [xbp+88h]
float v18; // [xsp+8Ch] [xbp+8Ch]
cocos2d::CCPoint v19; // [xsp+90h] [xbp+90h] BYREF
cocos2d::CCRect v20; // [xsp+98h] [xbp+98h] BYREF
cocos2d::CCRect v21; // [xsp+A8h] [xbp+A8h] BYREF
cocos2d::CCSize::CCSize(&v16, 140.0, 125.0);
cocos2d::CCRect::CCRect(&v20, (float)-v16.width * 0.5, (float)-v16.height * 0.5, v16.width, v16.height);
v2 = -v20.size.width;
v3 = a1->getAnchorPoint(a1);
v4 = -v20.size.height;
v5 = v2 * v3->x;
v6 = a1->getAnchorPoint(a1);
width = v20.size.width;
v14 = v4 * v6->y;
v8 = width * a1->getScaleX(a1);
height = v20.size.height;
v15 = v8;
v10 = a1->getScaleY(a1);
cocos2d::CCRect::CCRect(&v21, v5, v14, v15, height * v10);
glEnable();
v11 = a1->getParent(a1);
v12 = a1->getPosition(a1);
cocos2d::CCPoint::operator+(&v19, v12, &v20);
cocos2d::CCNode::convertToWorldSpace(v11, &v19);
v13 = cocos2d::CCEGLView::sharedOpenGLView();
v13->setScissorInPoints(v13, v17, v18, v21.size.width, v21.size.height);
cocos2d::CCNode::visit(a1);
glDisable();
}