// // GJPathSprite::addShardSprite from 0xba590c to 0xba5b24 (536 bytes) // // 3 xrefs: // > GJPathSprite::updateState @ 0xba5b9c // > GJPathPage::unlockAnimationStep3 @ 0xba7d98 // > @ 0xe07d0 // // This function is hookable on this platform (idp: arm, 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 13:02:49 +0000 // __int64 __fastcall GJPathSprite::addShardSprite(GJPathSprite *this) { const char *v2; // x1 cocos2d::CCSprite *v3; // x0 __int64 v4; // x19 void (__fastcall *v5)(__int64, __int64 *); // x24 _BYTE v7[8]; // [xsp+48h] [xbp+48h] BYREF __int64 v8; // [xsp+50h] [xbp+50h] BYREF __int64 v9; // [xsp+58h] [xbp+58h] BYREF __int64 v10[2]; // [xsp+60h] [xbp+60h] BYREF void *v11; // [xsp+70h] [xbp+70h] v10[0] = 0; v10[1] = 0; v11 = nullptr; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, 0.0, 1.0); switch ( *((_DWORD *)this + 149) ) { case 1: std::string::assign(v10, "fireShardBig_001.png"); goto LABEL_3; case 2: std::string::assign(v10, "iceShardBig_001.png"); goto LABEL_3; case 3: std::string::assign(v10, "poisonShardBig_001.png"); goto LABEL_3; case 4: std::string::assign(v10, "shadowShardBig_001.png"); goto LABEL_3; case 5: std::string::assign(v10, "lavaShardBig_001.png"); goto LABEL_3; case 6: std::string::assign(v10, "shard0201ShardBig_001.png"); goto LABEL_3; case 7: std::string::assign(v10, "shard0202ShardBig_001.png"); goto LABEL_3; case 8: std::string::assign(v10, "shard0203ShardBig_001.png"); goto LABEL_3; case 9: std::string::assign(v10, "shard0204ShardBig_001.png"); goto LABEL_3; case 0xA: std::string::assign(v10, "shard0205ShardBig_001.png"); LABEL_3: if ( (v10[0] & 1) != 0 ) v3 = (cocos2d::CCSprite *)v11; else v3 = (cocos2d::CCSprite *)((char *)v10 + 1); v4 = cocos2d::CCSprite::createWithSpriteFrameName(v3, v2); (*(void (__fastcall **)(GJPathSprite *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v4, 1); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 0.55); v5 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 184LL); cocos2d::CCNode::convertToNodeSpace(&v8, this, (const cocos2d::CCPoint *)&unk_155E870); cocos2d::CCPoint::operator+(&v9, &v8); v5(v4, &v9); break; default: break; } if ( (v10[0] & 1) != 0 ) operator delete(v11); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source