// // cocos2d::CCAtlasNode::create from 0x180001970 to 0x180001a21 (177 bytes) // // 3 xrefs: // > @ 0x18014cf68 // > @ 0x1801b70cc // > @ 0x1801b70d8 // // 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 11:21:15 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCAtlasNode *__fastcall cocos2d::CCAtlasNode::create( const char *a1, unsigned int a2, unsigned int a3, unsigned int a4) { cocos2d::CCAtlasNode *v8; // rax cocos2d::CCAtlasNode *v9; // rbx cocos2d::CCTextureCache *v10; // rax struct cocos2d::CCTexture2D *v11; // rax v8 = (cocos2d::CCAtlasNode *)sub_1800E4AC0(0x198u); if ( v8 ) v9 = cocos2d::CCAtlasNode::CCAtlasNode(v8); else v9 = nullptr; v10 = cocos2d::CCTextureCache::sharedTextureCache(); v11 = cocos2d::CCTextureCache::addImage(v10, a1, 0); if ( cocos2d::CCAtlasNode::initWithTexture(v9, v11, a2, a3, a4) ) { cocos2d::CCObject::autorelease(v9); return v9; } else { if ( v9 ) (*(void (__fastcall **)(cocos2d::CCAtlasNode *, __int64))(*(_QWORD *)v9 + 8LL))(v9, 1); return nullptr; } }