//
// DungeonBarsSprite::init from 0x1004a1490 to 0x1004a1506 (118 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b515e0
//
// This function is hookable on this platform (idp: pc, 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 12:30:52 +0000
//
char __fastcall DungeonBarsSprite::init(_QWORD *a1, double a2)
{
__int64 v2; // rax
char result; // al
char v4; // r15
char *v5; // rax
__int64 v6; // rbx
float v7[8]; // [rsp+0h] [rbp-20h] BYREF
*(_QWORD *)v7 = v2;
result = cocos2d::CCNode::init();
if ( result )
{
v4 = result;
v5 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"dungeon_bars_001.png", a2);
a1[40] = v5;
(*(void (__fastcall **)(_QWORD *, char *))(*a1 + 456LL))(a1, v5);
v6 = a1[40];
sub_100278250(v7, 0.0, -2.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v6 + 184LL))(v6, v7);
return v4;
}
return result;
}