// // PlayerObject::playDynamicSpiderRun from 0x7574d8 to 0x7577cc (756 bytes) // // 6 xrefs: // > PlayerObject::updateMove @ 0x758388 // > PlayerObject::stopDashing @ 0x758d80 // > PlayerObject::toggleSpiderMode @ 0x759840 // > PlayerObject::hitGround @ 0x75a9dc // > PlayerObject::updateRobotAnimationSpeed @ 0x75caa0 // > @ 0x63088 // // 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 12:52:57 +0000 // __int64 __fastcall PlayerObject::playDynamicSpiderRun(PlayerObject *this) { __int64 v2; // x0 __int64 v3; // x0 __int64 v4; // x2 float v5; // s0 int v6; // w22 __int64 v7; // x0 __int64 v8; // x1 _BOOL4 v9; // w22 __int64 v10; // x23 __int64 v11; // x20 _BOOL4 v13; // w23 __int64 v14; // x24 const char *v15; // x1 size_t v16; // x0 char *v17; // [xsp+48h] [xbp+48h] __int64 v18; // [xsp+58h] [xbp+58h] BYREF __int64 v19; // [xsp+60h] [xbp+60h] void *v20; // [xsp+68h] [xbp+68h] __int64 v21[2]; // [xsp+70h] [xbp+70h] BYREF void *v22; // [xsp+80h] [xbp+80h] __int64 v23[2]; // [xsp+88h] [xbp+88h] BYREF void *v24; // [xsp+98h] [xbp+98h] __int64 v25[2]; // [xsp+A0h] [xbp+A0h] BYREF void *v26; // [xsp+B0h] [xbp+B0h] __int64 v27[2]; // [xsp+B8h] [xbp+B8h] BYREF void *v28; // [xsp+C8h] [xbp+C8h] __int64 v29[2]; // [xsp+D0h] [xbp+D0h] BYREF void *v30; // [xsp+E0h] [xbp+E0h] if ( *((_BYTE *)this + 2460) ) return _stack_chk_guard; v2 = *((_QWORD *)this + 268); v18 = 0; v19 = 0; v3 = *(_QWORD *)(v2 + 648); v20 = nullptr; v4 = v3 + 400; if ( (*(_BYTE *)(v3 + 400) & 1) == 0 ) { v5 = *((float *)this + 619); v6 = *((unsigned __int8 *)this + 3051); v7 = *(_QWORD *)v4; v8 = *(_QWORD *)(v4 + 8); v20 = *(void **)(v4 + 16); v18 = v7; v19 = v8; if ( v5 <= 1.1 ) goto LABEL_4; LABEL_17: v21[0] = 0; v21[1] = 0; v22 = nullptr; std::string::__init(v21, "walk", 4u); v13 = sub_74D8D4((__int64)v21, (__int64)&v18); if ( (v21[0] & 1) != 0 ) operator delete(v22); v14 = *((_QWORD *)this + 268); if ( v6 ) v15 = "run2"; else v15 = "run"; v17 = (char *)v15; v23[0] = 0; v23[1] = 0; v24 = nullptr; v16 = strlen(v15); std::string::__init(v23, v17, v16); CCAnimatedSprite::runAnimation(v14, (char *)v23); if ( (v23[0] & 1) != 0 ) { operator delete(v24); if ( !v13 ) goto LABEL_13; } else if ( !v13 ) { goto LABEL_13; } LABEL_10: SpriteAnimationManager::offsetCurrentAnimation(*(SpriteAnimationManager **)(*((_QWORD *)this + 268) + 648LL), 0.1); goto LABEL_13; } std::string::__init(&v18, *(void **)(v3 + 416), *(_QWORD *)(v3 + 408)); v6 = *((unsigned __int8 *)this + 3051); v5 = *((float *)this + 619); if ( v5 > 1.1 ) goto LABEL_17; LABEL_4: if ( v5 <= 0.9 ) { v11 = *((_QWORD *)this + 268); v29[0] = 0; v29[1] = 0; v30 = nullptr; std::string::__init(v29, "walk", 4u); CCAnimatedSprite::runAnimation(v11, (char *)v29); if ( (v29[0] & 1) != 0 ) operator delete(v30); goto LABEL_13; } v25[0] = 0; v25[1] = 0; v26 = nullptr; std::string::__init(v25, "walk", 4u); v9 = sub_74D8D4((__int64)v25, (__int64)&v18); if ( (v25[0] & 1) != 0 ) operator delete(v26); v10 = *((_QWORD *)this + 268); v27[0] = 0; v27[1] = 0; v28 = nullptr; std::string::__init(v27, "run", 3u); CCAnimatedSprite::runAnimation(v10, (char *)v27); if ( (v27[0] & 1) != 0 ) operator delete(v28); if ( v9 ) goto LABEL_10; LABEL_13: if ( (v18 & 1) != 0 ) operator delete(v20); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source