// // GameObject::addNewSlope02 from 0x64babc to 0x64bbf8 (316 bytes) // // 3 xrefs: // > GameObject::setupCustomSprites @ 0x98ada0 // > GameObject::setupCustomSprites @ 0x98e658 // > @ 0x6df50 // // 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 // void GameObject::addNewSlope02(GameObject *a1, bool a2) { cocos2d::CCSprite *v3; // x21 char *v4; // x0 unsigned int *v5; // x2 int v6; // w1 const char *v7; // [xsp+38h] [xbp+38h] BYREF cocos2d::CCPoint v8; // [xsp+40h] [xbp+40h] BYREF if ( a2 ) a1->m_bDontDraw = 1; sub_D153B8((int)&v7, "blockOutline_15new_001.png"); cocos2d::CCPoint::CCPoint(&v8, &stru_1242068); v3 = GameObject::addCustomChild((__int64)a1, &v7, (__int64)&v8, 2u); v4 = (char *)(v7 - 24); if ( v7 - 24 != (const char *)&qword_124B6B0 ) { if ( &pthread_create ) { v5 = (unsigned int *)(v7 - 8); do v6 = __ldaxr(v5); while ( __stlxr(v6 - 1, v5) ); } else { v6 = *((_DWORD *)v7 - 2); *((_DWORD *)v7 - 2) = v6 - 1; } if ( v6 <= 0 ) operator delete(v4); } v3->setRotation(v3, -26.5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source