//
// DungeonBarsSprite::init from 0x620b10 to 0x620b72 (98 bytes)
//
// 1 xrefs:
// > DungeonBarsSprite::create @ 0x61b206
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:55:05 +0000
//
int __fastcall DungeonBarsSprite::init(DungeonBarsSprite *this, int a2, int a3, int a4)
{
const char *v5; // r1
int v6; // r6
int v7; // r0
int v8; // r3
int v9; // r7
void (__fastcall *v10)(int, _DWORD *); // r8
_DWORD v12[3]; // [sp+4h] [bp-Ch] BYREF
v12[0] = a2;
v12[1] = a3;
v12[2] = a4;
v6 = cocos2d::CCNode::init(this);
if ( v6 )
{
v7 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"dungeon_bars_001.png", v5);
v8 = *(_DWORD *)this;
*((_DWORD *)this + 66) = v7;
(*(void (__fastcall **)(DungeonBarsSprite *, int))(v8 + 228))(this, v7);
v9 = *((_DWORD *)this + 66);
v10 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v9 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, 0.0, -2.0);
v10(v9, v12);
}
return v6;
}