// // GameObject::addNewSlope01Glow from 0x1005cb8c0 to 0x1005cb9bd (253 bytes) // // 2 xrefs: // > GameObject::setupCustomSprites @ 0x100446bf6 // > GameObject::setupCustomSprites @ 0x100453b0e // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GameObject::addNewSlope01Glow(GameObject *a1, bool a2) { cocos2d::CCSprite *m_glowSprite; // rax char *v4; // r14 const char *v5; // rdi cocos2d::CCSprite *v6; // r15 _QWORD v7[3]; // [rsp+8h] [rbp-48h] BYREF size_t v8[2]; // [rsp+20h] [rbp-30h] BYREF void *__p; // [rsp+30h] [rbp-20h] double v10; // 0:xmm0_8.8 m_glowSprite = a1->m_glowSprite; if ( m_glowSprite ) { if ( a2 ) m_glowSprite->m_bDontDraw = 1; v4 = (char *)operator new(0x20u); v7[2] = v4; v7[0] = 33; v7[1] = 26; strcpy(v4, "blockOutline_14new_001.png"); GameObject::getGlowFrame(v8, 9.764827155928655e252, a2, (__int64)v7); if ( (v8[0] & 1) != 0 ) v5 = (const char *)__p; else v5 = (char *)v8 + 1; v6 = cocos2d::CCSprite::createWithSpriteFrameName(v5); if ( (v8[0] & 1) != 0 ) operator delete(__p); operator delete(v4); ((void (__fastcall *)(cocos2d::CCSprite *, float))v6->setRotation)(v6, -45.0); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSprite *))a1->m_glowSprite->addChild)(a1->m_glowSprite, v6); *(cocos2d::CCPoint *)&v10 = cocos2d::CCNode::convertToNodeSpace( (cocos2d::CCNode *)v8, (const cocos2d::CCPoint *)a1->m_glowSprite); ((void (__fastcall *)(cocos2d::CCSprite *, size_t *, double))v6->setPosition)(v6, v8, v10); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source