// // PlayerObject::animationFinished from 0x10022e7b4 to 0x10022e9f0 (572 bytes) // // 2 xrefs: // > sub_10022EA78 @ 0x10022ea7c // > @ 0x1007c42c8 // // 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 PlayerObject::animationFinished(PlayerObject *a1, const char *a2) { _BOOL4 v4; // w21 GJRobotSprite *m_robotSprite; // x19 void **v6; // x8 _BOOL4 v7; // w21 GJRobotSprite *v8; // x20 GJSpiderSprite *m_spiderSprite; // x19 _BOOL4 v10; // w20 GJRobotSprite *v11; // x19 GJSpiderSprite *v12; // x19 _QWORD v13[2]; // [xsp+8h] [xbp-C8h] BYREF char v14; // [xsp+1Fh] [xbp-B1h] _QWORD v15[2]; // [xsp+20h] [xbp-B0h] BYREF char v16; // [xsp+37h] [xbp-99h] _QWORD v17[2]; // [xsp+38h] [xbp-98h] BYREF char v18; // [xsp+4Fh] [xbp-81h] void *__p[2]; // [xsp+50h] [xbp-80h] BYREF char v20; // [xsp+67h] [xbp-69h] _QWORD v21[2]; // [xsp+68h] [xbp-68h] BYREF char v22; // [xsp+7Fh] [xbp-51h] void *v23[2]; // [xsp+80h] [xbp-50h] BYREF char v24; // [xsp+97h] [xbp-39h] void *v25[2]; // [xsp+98h] [xbp-38h] BYREF char v26; // [xsp+AFh] [xbp-21h] sub_100009900(v25, (char *)a2); sub_100009900(v23, "jump_start"); v4 = sub_1000045BC(v25, v23); if ( v24 < 0 ) operator delete(v23[0]); if ( v26 < 0 ) { operator delete(v25[0]); if ( v4 ) { LABEL_5: m_robotSprite = a1->m_robotSprite; sub_100009900(v21, "jump_loop"); CCAnimatedSprite::runAnimation(m_robotSprite, v21); if ( v22 < 0 ) { v6 = (void **)v21; LABEL_16: operator delete(*v6); return; } return; } } else if ( v4 ) { goto LABEL_5; } sub_100009900(v25, (char *)a2); sub_100009900(v23, "fall_start"); v7 = sub_1000045BC(v25, v23); if ( v24 < 0 ) operator delete(v23[0]); if ( v26 < 0 ) { operator delete(v25[0]); if ( v7 ) { LABEL_12: v8 = a1->m_robotSprite; sub_100009900(__p, "fall_loop"); CCAnimatedSprite::runAnimation(v8, __p); if ( v20 < 0 ) operator delete(__p[0]); m_spiderSprite = a1->m_spiderSprite; sub_100009900(v17, "fall_loop"); CCAnimatedSprite::runAnimation(m_spiderSprite, v17); if ( v18 < 0 ) { v6 = (void **)v17; goto LABEL_16; } return; } } else if ( v7 ) { goto LABEL_12; } sub_100009900(v25, (char *)a2); sub_100009900(v23, "idle02"); v10 = sub_1000045BC(v25, v23); if ( v24 < 0 ) operator delete(v23[0]); if ( v26 < 0 ) { operator delete(v25[0]); if ( !v10 ) return; } else if ( !v10 ) { return; } if ( a1->m_isRobot ) { v11 = a1->m_robotSprite; sub_100009900(v15, "idle01"); CCAnimatedSprite::runAnimation(v11, v15); if ( v16 < 0 ) { v6 = (void **)v15; goto LABEL_16; } } else if ( a1->m_isSpider ) { v12 = a1->m_spiderSprite; sub_100009900(v13, "idle01"); CCAnimatedSprite::runAnimation(v12, v13); if ( v14 < 0 ) { v6 = (void **)v13; goto LABEL_16; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source