//
// DungeonBarsSprite::visit from 0x1403ef860 to 0x1403efa28 (456 bytes)
//
// 2 xrefs:
// > ??> @ 0x1405d3700
// > ??> @ 0x1406d8120
//
// 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)
{
double v2; // xmm0_8
float v3; // xmm9_4
double v4; // xmm0_8
float v5; // xmm8_4
const cocos2d::CCPoint *v6; // rax
float v7; // xmm6_4
float y; // xmm7_4
const cocos2d::CCPoint *v9; // rax
const cocos2d::CCPoint *v10; // rax
cocos2d::CCNode *v11; // rax
__int64 v12; // rcx
__int64 v13; // rax
cocos2d::CCRect v14; // [rsp+30h] [rbp-78h] BYREF
cocos2d::CCRect v15; // [rsp+40h] [rbp-68h] BYREF
cocos2d::CCSize v16; // [rsp+B0h] [rbp+8h] BYREF
struct cocos2d::CCPoint v17; // [rsp+B8h] [rbp+10h] BYREF
char v18; // [rsp+C0h] [rbp+18h] BYREF
cocos2d::CCSize::CCSize(&v16, 140.0, 125.0);
cocos2d::CCRect::CCRect(&v14, (float)-v16.width * 0.5, (float)-v16.height * 0.5, v16.width, v16.height);
v2 = ((double (__fastcall *)(DungeonBarsSprite *))a1->getScaleY)(a1);
v3 = *(float *)&v2 * v14.size.height;
v4 = ((double (__fastcall *)(DungeonBarsSprite *))a1->getScaleX)(a1);
v5 = *(float *)&v4 * v14.size.width;
v6 = a1->getAnchorPoint(a1);
v7 = -v14.size.height;
y = v6->y;
v9 = a1->getAnchorPoint(a1);
cocos2d::CCRect::CCRect(&v15, (float)-v14.size.width * v9->x, y * v7, v5, v3);
glEnable(0xC11u);
v10 = a1->getPosition_0(a1);
cocos2d::CCPoint::operator+(v10, &v18);
v11 = a1->getParent(a1);
cocos2d::CCNode::convertToWorldSpace(v11, &v17);
v13 = cocos2d::CCEGLView::sharedOpenGLView(v12);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v13 + 104LL))(v13);
cocos2d::CCNode::visit(a1);
glDisable(0xC11u);
}