// // GJPathSprite::addShardSprite from 0x1003bb37c to 0x1003bb470 (244 bytes) // // 2 xrefs: // > GJPathSprite::updateState @ 0x1003b8584 // > GJPathPage::unlockAnimationStep3 @ 0x1003baf54 // // 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 __fastcall GJPathSprite::addShardSprite(GJPathSprite *a1) { __n128 v1; // q0 __n128 v2; // q1 unsigned int v4; // w8 std::string *v5; // x0 cocos2d::CCSprite *v6; // x20 double v7; // d0 float32x2_t v8; // [xsp+0h] [xbp-40h] BYREF float32x2_t v9; // [xsp+8h] [xbp-38h] BYREF float32x2_t v10; // [xsp+10h] [xbp-30h] BYREF std::string v11; // [xsp+18h] [xbp-28h] BYREF memset(&v11, 0, sizeof(v11)); v1.n128_u32[0] = 0; v2.n128_u32[0] = 1.0; sub_100022980(v1, v2, &v10); v4 = a1->m_pathNumber - 1; if ( v4 < 0xA ) { std::string::assign(&v11, off_100811180[v4]); if ( (v11.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v5 = &v11; else v5 = (std::string *)v11.__r_.__value_.__r.__words[0]; v6 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)v5); ((void (__fastcall *)(GJPathSprite *, cocos2d::CCSprite *, __int64))a1->addChild_0)(a1, v6, 1); ((void (__fastcall *)(cocos2d::CCSprite *, float))v6->setScale)(v6, 0.55); cocos2d::CCNode::convertToNodeSpace(a1, &stru_10086E6F0); *(float32x2_t *)&v7 = sub_1000229DC(&v8, &v10, &v9); ((void (__fastcall *)(cocos2d::CCSprite *, float32x2_t *, double))v6->setPosition)(v6, &v9, v7); if ( SHIBYTE(v11.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v11.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source