// // DungeonBarsSprite::create from 0x1004a4bd0 to 0x1004a4c82 (178 bytes) // // 1 xrefs: // > SecretLayer3::init @ 0x1004a40dd // // 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 // DungeonBarsSprite *__fastcall DungeonBarsSprite::create() { __int64 v0; // rax DungeonBarsSprite *v1; // rbx cocos2d::CCSprite *v2; // rax cocos2d::CCSprite *m_barsSprite; // r14 float v5[8]; // [rsp+0h] [rbp-20h] BYREF *(_QWORD *)v5 = v0; v1 = (DungeonBarsSprite *)operator new(0x148u); cocos2d::CCNode::CCNode((__int64)v1); v1->__vftable = (DungeonBarsSprite_vtbl *)off_1009467D0; v1->m_barsSprite = nullptr; if ( cocos2d::CCNode::init(v1) ) { v2 = cocos2d::CCSprite::createWithSpriteFrameName("dungeon_bars_001.png"); v1->m_barsSprite = v2; ((void (__fastcall *)(DungeonBarsSprite *, cocos2d::CCSprite *))v1->addChild)(v1, v2); m_barsSprite = v1->m_barsSprite; sub_10028CBE0(v5, 0.0, -2.0); ((void (__fastcall *)(cocos2d::CCSprite *, float *))m_barsSprite->setPosition)(m_barsSprite, v5); cocos2d::CCObject::autorelease(v1); } else { ((void (__fastcall *)(DungeonBarsSprite *))v1->~DungeonBarsSprite_0)(v1); return nullptr; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source