// // AnimatedGameObject::animationForID from 0x7572a4 to 0x75757c (728 bytes) // // 5 xrefs: // > AnimatedGameObject::playAnimation @ 0x7575c0 // > SetupAnimationPopup::init @ 0x94d554 // > SetupAnimationPopup::init @ 0x94d600 // > SetupAnimationPopup::init @ 0x94d6ac // > @ 0x408c0 // // 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 // __int64 __usercall AnimatedGameObject::animationForID@(AnimatedGameObject *this@, int a2@, __int64 a3@) { __int64 v3; // x8 switch ( a2 ) { case 1584: switch ( (int)this ) { case 0: LABEL_10: sub_D153B8(a3, "idle01"); v3 = a3; break; case 1: LABEL_14: sub_D153B8(a3, "idle02"); v3 = a3; break; case 2: LABEL_13: sub_D153B8(a3, "idle03"); v3 = a3; break; case 3: LABEL_9: sub_D153B8(a3, "attack01"); v3 = a3; break; case 4: LABEL_15: sub_D153B8(a3, "attack02"); v3 = a3; break; case 5: sub_D153B8(a3, "attack02_end"); v3 = a3; break; case 6: sub_D153B8(a3, "sleep"); v3 = a3; break; case 7: sub_D153B8(a3, "sleep_loop"); v3 = a3; break; case 8: sub_D153B8(a3, "sleep_end"); v3 = a3; break; case 9: sub_D153B8(a3, "attack02_loop"); v3 = a3; break; default: goto LABEL_4; } break; case 2012: switch ( (int)this ) { case 0: goto LABEL_10; case 1: goto LABEL_14; case 2: sub_D153B8(a3, "toAttack01"); v3 = a3; break; case 3: goto LABEL_9; case 4: goto LABEL_15; case 5: sub_D153B8(a3, "toAttack03"); v3 = a3; break; case 6: sub_D153B8(a3, "attack03"); v3 = a3; break; case 7: goto LABEL_13; case 8: sub_D153B8(a3, "fromAttack03"); v3 = a3; break; default: goto LABEL_4; } break; case 918: switch ( (int)this ) { case 0: sub_D153B8(a3, "bite"); v3 = a3; break; case 1: goto LABEL_9; case 2: sub_D153B8(a3, "attack01_end"); v3 = a3; break; case 3: goto LABEL_10; default: goto LABEL_4; } break; default: LABEL_4: sub_D153B8(a3, &byte_F288A0); return a3; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source