// // AnimatedShopKeeper::playReactAnimation from 0x10014d918 to 0x10014da24 (268 bytes) // // 1 xrefs: // > GJShopLayer::ccTouchBegan @ 0x10014d8b0 // // 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 AnimatedShopKeeper::playReactAnimation(AnimatedShopKeeper *a1) { int m_gruntIndex; // w8 int v3; // w8 cocos2d::CCString *v4; // x0 char *CString; // x0 FMODAudioEngine *v6; // x20 void *v7[2]; // [xsp+8h] [xbp-58h] BYREF char v8; // [xsp+1Fh] [xbp-41h] void *__p[2]; // [xsp+20h] [xbp-40h] BYREF __int64 v10; // [xsp+30h] [xbp-30h] __int128 v11; // [xsp+38h] [xbp-28h] BYREF __int64 v12; // [xsp+48h] [xbp-18h] if ( !a1->m_reacting ) { m_gruntIndex = a1->m_gruntIndex; if ( m_gruntIndex <= 2 ) v3 = m_gruntIndex + 1; else v3 = 1; a1->m_gruntIndex = v3; v4 = (cocos2d::CCString *)sub_100268F4C("grunt0%i.ogg", v3); CString = (char *)cocos2d::CCString::getCString(v4); sub_100009900(&v11, CString); v6 = FMODAudioEngine::sharedEngine(); if ( SHIBYTE(v12) < 0 ) { sub_1000097D0(__p, (void *)v11, *((unsigned __int64 *)&v11 + 1)); } else { *(_OWORD *)__p = v11; v10 = v12; } FMODAudioEngine::playEffect((__int64)v6, (__int64)__p, 1.0, 0.0, 0.65); if ( SHIBYTE(v10) < 0 ) operator delete(__p[0]); sub_100009900(v7, "react01"); CCAnimatedSprite::runAnimationForced(a1, v7); if ( v8 < 0 ) operator delete(v7[0]); a1->m_reacting = 1; ++a1->m_reactCount; if ( SHIBYTE(v12) < 0 ) operator delete((void *)v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source