//
// DungeonBarsSprite::create from 0xa923dc to 0xa9246c (144 bytes)
//
// 2 xrefs:
// > SecretLayer3::init @ 0xa92c80
// > ??> @ 0x619d8
//
// 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 13:00:41 +0000
//
cocos2d::CCNode *__fastcall DungeonBarsSprite::create(DungeonBarsSprite *this)
{
cocos2d::CCNode *v1; // x19
v1 = (cocos2d::CCNode *)operator new(0x148u);
cocos2d::CCNode::CCNode(v1);
*((_QWORD *)v1 + 40) = 0;
*(_QWORD *)v1 = &off_149A9A0;
if ( (unsigned __int8)DungeonBarsSprite::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}