//
// DungeonBarsSprite::init from 0x1003ae5c8 to 0x1003ae648 (128 bytes)
//
// 2 xrefs:
// > sub_1003ABC78 @ 0x1003abca8
// > ??> @ 0x100946bb0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:03:52 +0000
//
__int64 __fastcall DungeonBarsSprite::init(_QWORD *a1)
{
__int64 v2; // x19
void *v3; // x0
__int64 v4; // x20
float v6; // [xsp+8h] [xbp-18h] BYREF
v2 = cocos2d::CCNode::init();
if ( (_DWORD)v2 )
{
v3 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"dungeon_bars_001.png");
a1[40] = v3;
(*(void (__fastcall **)(_QWORD *, void *))(*a1 + 456LL))(a1, v3);
v4 = a1[40];
sub_1000262BC(&v6, 0.0, -2.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v6);
}
return v2;
}