{"type": "func", "start": 5811500, "end": 5811656, "name": "EnterEffectInstance::getValue", "pseudocode": "// \n// EnterEffectInstance::getValue from 0x58ad2c to 0x58adc8 (156 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat EnterEffectInstance::getValue(EnterEffectInstance *a1, int a2)\n{\n  float result; // r0\n\n  switch ( a2 )\n  {\n    case 0:\n      result = a1->m_length;\n      break;\n    case 1:\n      result = a1->m_lengthVariance;\n      break;\n    case 2:\n      result = a1->m_offset;\n      break;\n    case 3:\n      result = a1->m_offsetVariance;\n      break;\n    case 4:\n      result = a1->m_modFront;\n      break;\n    case 5:\n      result = a1->m_modBack;\n      break;\n    case 6:\n      result = a1->m_deadzone;\n      break;\n    case 7:\n      result = a1->m_moveDistance;\n      break;\n    case 8:\n      result = a1->m_moveDistanceVariance;\n      break;\n    case 9:\n      result = a1->m_moveAngle;\n      break;\n    case 10:\n      result = a1->m_moveAngleVariance;\n      break;\n    case 11:\n      result = a1->m_moveX;\n      break;\n    case 12:\n      result = a1->m_moveXVariance;\n      break;\n    case 13:\n      result = a1->m_moveY;\n      break;\n    case 14:\n      result = a1->m_moveYVariance;\n      break;\n    case 15:\n      result = a1->m_scaleX;\n      break;\n    case 16:\n      result = a1->m_scaleXVariance;\n      break;\n    case 17:\n      result = a1->m_scaleY;\n      break;\n    case 18:\n      result = a1->m_scaleYVariance;\n      break;\n    case 19:\n      result = a1->m_rotation;\n      break;\n    case 20:\n      result = a1->m_rotationVariance;\n      break;\n    case 21:\n      result = a1->m_tint;\n      break;\n    case 22:\n      result = a1->m_unk074;\n      break;\n    case 23:\n      result = a1->m_toOpacity;\n      break;\n    case 24:\n      result = a1->m_fromOpacity;\n      break;\n    case 25:\n      result = a1->m_offsetY;\n      break;\n    case 26:\n      result = a1->m_offsetYVariance;\n      break;\n    case 27:\n      result = a1->m_relativeFade;\n      break;\n    default:\n      result = 0.0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; EnterEffectInstance::getValue from 0x58ad2c to 0x58adc8 (156 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nCMP             R1, #0x1B; switch 28 cases                             ; +0x0, 0x58ad2c\nBHI             def_58AD30; jumptable 0058AD30 default case            ; +0x2, 0x58ad2e\nTBB.W           [PC,R1]; switch jump                                   ; +0x4, 0x58ad30\nDCB 0xE; jump table for switch statement                               ; +0x8, 0x58ad34\nDCB 0x10                                                               ; +0x9, 0x58ad35\nDCB 0x12                                                               ; +0xa, 0x58ad36\nDCB 0x14                                                               ; +0xb, 0x58ad37\nDCB 0x16                                                               ; +0xc, 0x58ad38\nDCB 0x18                                                               ; +0xd, 0x58ad39\nDCB 0x1A                                                               ; +0xe, 0x58ad3a\nDCB 0x1C                                                               ; +0xf, 0x58ad3b\nDCB 0x1E                                                               ; +0x10, 0x58ad3c\nDCB 0x20                                                               ; +0x11, 0x58ad3d\nDCB 0x22                                                               ; +0x12, 0x58ad3e\nDCB 0x24                                                               ; +0x13, 0x58ad3f\nDCB 0x26                                                               ; +0x14, 0x58ad40\nDCB 0x28                                                               ; +0x15, 0x58ad41\nDCB 0x2A                                                               ; +0x16, 0x58ad42\nDCB 0x2C                                                               ; +0x17, 0x58ad43\nDCB 0x2E                                                               ; +0x18, 0x58ad44\nDCB 0x30                                                               ; +0x19, 0x58ad45\nDCB 0x32                                                               ; +0x1a, 0x58ad46\nDCB 0x34                                                               ; +0x1b, 0x58ad47\nDCB 0x36                                                               ; +0x1c, 0x58ad48\nDCB 0x38                                                               ; +0x1d, 0x58ad49\nDCB 0x3A                                                               ; +0x1e, 0x58ad4a\nDCB 0x3C                                                               ; +0x1f, 0x58ad4b\nDCB 0x3F                                                               ; +0x20, 0x58ad4c\nDCB 0x42                                                               ; +0x21, 0x58ad4d\nDCB 0x44                                                               ; +0x22, 0x58ad4e\nDCB 0x46                                                               ; +0x23, 0x58ad4f\nLDR             R0, [R0,#0x18]; jumptable 0058AD30 case 0              ; +0x24, 0x58ad50\nBX              LR                                                     ; +0x26, 0x58ad52\nLDR             R0, [R0,#0x1C]; jumptable 0058AD30 case 1              ; +0x28, 0x58ad54\nBX              LR                                                     ; +0x2a, 0x58ad56\nLDR             R0, [R0,#0x20]; jumptable 0058AD30 case 2              ; +0x2c, 0x58ad58\nBX              LR                                                     ; +0x2e, 0x58ad5a\nLDR             R0, [R0,#0x24]; jumptable 0058AD30 case 3              ; +0x30, 0x58ad5c\nBX              LR                                                     ; +0x32, 0x58ad5e\nLDR             R0, [R0,#0x30]; jumptable 0058AD30 case 4              ; +0x34, 0x58ad60\nBX              LR                                                     ; +0x36, 0x58ad62\nLDR             R0, [R0,#0x34]; jumptable 0058AD30 case 5              ; +0x38, 0x58ad64\nBX              LR                                                     ; +0x3a, 0x58ad66\nLDR             R0, [R0,#0x38]; jumptable 0058AD30 case 6              ; +0x3c, 0x58ad68\nBX              LR                                                     ; +0x3e, 0x58ad6a\nLDR             R0, [R0,#0x3C]; jumptable 0058AD30 case 7              ; +0x40, 0x58ad6c\nBX              LR                                                     ; +0x42, 0x58ad6e\nLDR             R0, [R0,#0x40]; jumptable 0058AD30 case 8              ; +0x44, 0x58ad70\nBX              LR                                                     ; +0x46, 0x58ad72\nLDR             R0, [R0,#0x44]; jumptable 0058AD30 case 9              ; +0x48, 0x58ad74\nBX              LR                                                     ; +0x4a, 0x58ad76\nLDR             R0, [R0,#0x48]; jumptable 0058AD30 case 10             ; +0x4c, 0x58ad78\nBX              LR                                                     ; +0x4e, 0x58ad7a\nLDR             R0, [R0,#0x4C]; jumptable 0058AD30 case 11             ; +0x50, 0x58ad7c\nBX              LR                                                     ; +0x52, 0x58ad7e\nLDR             R0, [R0,#0x50]; jumptable 0058AD30 case 12             ; +0x54, 0x58ad80\nBX              LR                                                     ; +0x56, 0x58ad82\nLDR             R0, [R0,#0x54]; jumptable 0058AD30 case 13             ; +0x58, 0x58ad84\nBX              LR                                                     ; +0x5a, 0x58ad86\nLDR             R0, [R0,#0x58]; jumptable 0058AD30 case 14             ; +0x5c, 0x58ad88\nBX              LR                                                     ; +0x5e, 0x58ad8a\nLDR             R0, [R0,#0x60]; jumptable 0058AD30 case 15             ; +0x60, 0x58ad8c\nBX              LR                                                     ; +0x62, 0x58ad8e\nLDR             R0, [R0,#0x64]; jumptable 0058AD30 case 16             ; +0x64, 0x58ad90\nBX              LR                                                     ; +0x66, 0x58ad92\nLDR             R0, [R0,#0x68]; jumptable 0058AD30 case 17             ; +0x68, 0x58ad94\nBX              LR                                                     ; +0x6a, 0x58ad96\nLDR             R0, [R0,#0x6C]; jumptable 0058AD30 case 18             ; +0x6c, 0x58ad98\nBX              LR                                                     ; +0x6e, 0x58ad9a\nLDR             R0, [R0,#0x70]; jumptable 0058AD30 case 19             ; +0x70, 0x58ad9c\nBX              LR                                                     ; +0x72, 0x58ad9e\nLDR             R0, [R0,#0x74]; jumptable 0058AD30 case 20             ; +0x74, 0x58ada0\nBX              LR                                                     ; +0x76, 0x58ada2\nLDR             R0, [R0,#0x78]; jumptable 0058AD30 case 21             ; +0x78, 0x58ada4\nBX              LR                                                     ; +0x7a, 0x58ada6\nLDR             R0, [R0,#0x7C]; jumptable 0058AD30 case 22             ; +0x7c, 0x58ada8\nBX              LR                                                     ; +0x7e, 0x58adaa\nLDR.W           R0, [R0,#0x80]; jumptable 0058AD30 case 23             ; +0x80, 0x58adac\nBX              LR                                                     ; +0x84, 0x58adb0\nLDR.W           R0, [R0,#0x84]; jumptable 0058AD30 case 24             ; +0x86, 0x58adb2\nBX              LR                                                     ; +0x8a, 0x58adb6\nLDR             R0, [R0,#0x28]; jumptable 0058AD30 case 25             ; +0x8c, 0x58adb8\nBX              LR                                                     ; +0x8e, 0x58adba\nLDR             R0, [R0,#0x2C]; jumptable 0058AD30 case 26             ; +0x90, 0x58adbc\nBX              LR                                                     ; +0x92, 0x58adbe\nLDR             R0, [R0,#0x5C]; jumptable 0058AD30 case 27             ; +0x94, 0x58adc0\nBX              LR                                                     ; +0x96, 0x58adc2\nMOVS            R0, #0; jumptable 0058AD30 default case                ; +0x98, 0x58adc4\nBX              LR                                                     ; +0x9a, 0x58adc6", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}