// // DungeonBarsSprite::init from 0x1003118b0 to 0x100311930 (128 bytes) // // 2 xrefs: // > DungeonBarsSprite::create @ 0x10030ef90 // > @ 0x1007ee880 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall DungeonBarsSprite::init(DungeonBarsSprite *a1) { _BOOL4 v2; // w19 cocos2d::CCSprite *v3; // x0 __n128 v4; // q0 cocos2d::CCSprite *m_barsSprite; // x20 __n128 v6; // q1 int v8; // [xsp+8h] [xbp-18h] BYREF v2 = cocos2d::CCNode::init(a1); if ( v2 ) { v3 = cocos2d::CCSprite::createWithSpriteFrameName("dungeon_bars_001.png"); a1->m_barsSprite = v3; v4 = ((__n128 (__fastcall *)(DungeonBarsSprite *, cocos2d::CCSprite *))a1->addChild)(a1, v3); m_barsSprite = a1->m_barsSprite; v4.n128_u32[0] = 0; v6.n128_u32[0] = -2.0; sub_100022980(v4, v6, &v8); ((void (__fastcall *)(cocos2d::CCSprite *, int *))m_barsSprite->setPosition)(m_barsSprite, &v8); } return v2; }