//
// DungeonBarsSprite::init from 0x1403ef7e0 to 0x1403ef85f (127 bytes)
//
// 3 xrefs:
// > SecretLayer3::init @ 0x1403ea6dd
// > ??> @ 0x1405d3470
// > ??> @ 0x1406d8114
//
// 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
//
bool DungeonBarsSprite::init(DungeonBarsSprite *a1)
{
bool result; // al
cocos2d::CCSprite *v3; // rax
DungeonBarsSprite_vtbl *v4; // r8
float v5; // xmm0_4
cocos2d::CCSprite_vtbl *v6; // rbx
const cocos2d::CCPoint *v7; // rax
result = cocos2d::CCNode::init(a1);
if ( result )
{
v3 = cocos2d::CCSprite::createWithSpriteFrameName("dungeon_bars_001.png");
v4 = a1->__vftable;
a1->m_barsSprite = v3;
v5 = ((float (__fastcall *)(DungeonBarsSprite *, cocos2d::CCSprite *))v4->addChild_1)(a1, v3);
v6 = a1->m_barsSprite->__vftable;
cocos2d::CCPoint::CCPoint(v5, 0.0);
v6->setPosition_0(a1->m_barsSprite, v7);
return 1;
}
return result;
}