//
// DungeonBarsSprite::init from 0xa92328 to 0xa923dc (180 bytes)
//
// 3 xrefs:
// > DungeonBarsSprite::create @ 0xa92410
// > ??> @ 0xa33a8
// > ??> @ 0x149a9f0
//
// 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
//
__int64 __fastcall DungeonBarsSprite::init(DungeonBarsSprite *this)
{
unsigned __int8 v2; // w0
const char *v3; // x1
unsigned int v4; // w20
__int64 v5; // x0
__int64 v6; // x2
__int64 v7; // x21
void (__fastcall *v8)(__int64, _BYTE *); // x22
_BYTE v10[8]; // [xsp+40h] [xbp+40h] BYREF
v2 = cocos2d::CCNode::init(this);
v4 = v2;
if ( v2 )
{
v5 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"dungeon_bars_001.png", v3);
v6 = *(_QWORD *)this;
*((_QWORD *)this + 40) = v5;
(*(void (__fastcall **)(DungeonBarsSprite *))(v6 + 456))(this);
v7 = *((_QWORD *)this + 40);
v8 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v7 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, -2.0);
v8(v7, v10);
}
return v4;
}