//
// DungeonBarsSprite::visit from 0x4ebe44 to 0x4ebf6a (294 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 DungeonBarsSprite::visit(DungeonBarsSprite *a1)
{
float width; // s17
const cocos2d::CCPoint *v3; // r0
float v4; // s16
float v5; // s17
const cocos2d::CCPoint *v6; // r0
float v7; // s18
float v8; // s16
int v9; // r0
float height; // s19
float v11; // s15
float v12; // r0
cocos2d::CCNode *v13; // r8
const cocos2d::CCPoint *v14; // r0
cocos2d::CCEGLView *v15; // r0
cocos2d::CCSize v16; // [sp+Ch] [bp-3Ch] BYREF
cocos2d::CCPoint v17; // [sp+14h] [bp-34h] BYREF
cocos2d::CCPoint v18; // [sp+1Ch] [bp-2Ch] BYREF
cocos2d::CCRect v19; // [sp+24h] [bp-24h] BYREF
cocos2d::CCRect v20; // [sp+34h] [bp-14h] BYREF
cocos2d::CCSize::CCSize(&v16, 140.0, 125.0);
cocos2d::CCRect::CCRect(&v19, -(float)(v16.width * 0.5), -(float)(v16.height * 0.5), v16.width, v16.height);
width = v19.size.width;
v3 = a1->getAnchorPoint(a1);
v4 = -v19.size.height;
v5 = (float)-width * v3->x;
v6 = a1->getAnchorPoint(a1);
v7 = v19.size.width;
v8 = v4 * v6->y;
v9 = ((int (__fastcall *)(DungeonBarsSprite *))a1->getScaleX)(a1);
height = v19.size.height;
v11 = *(float *)&v9;
v12 = a1->getScaleY(a1);
cocos2d::CCRect::CCRect(&v20, v5, v8, v7 * v11, height * v12);
glEnable(0xC11u);
v13 = a1->getParent(a1);
v14 = a1->getPosition(a1);
cocos2d::CCPoint::operator+(&v18, v14, &v19);
cocos2d::CCNode::convertToWorldSpace(&v17, v13, &v18);
v15 = cocos2d::CCEGLView::sharedOpenGLView();
((void (__fastcall *)(cocos2d::CCEGLView *, _DWORD, _DWORD, _DWORD, _DWORD))v15->setScissorInPoints)(
v15,
LODWORD(v17.x),
LODWORD(v17.y),
LODWORD(v20.size.width),
LODWORD(v20.size.height));
cocos2d::CCNode::visit(a1);
glDisable(0xC11u);
}