{"type": "func", "start": 10927752, "end": 10928012, "name": "EnterEffectInstance::getValue", "pseudocode": "// \n// EnterEffectInstance::getValue from 0xa6be88 to 0xa6bf8c (260 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x3ef70\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; // s0\n\n  result = 0.0;\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      return result;\n  }\n  return result;\n}", "assembly": "; \n; EnterEffectInstance::getValue from 0xa6be88 to 0xa6bf8c (260 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x3ef70\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             W1, #0x1B; switch 28 cases                             ; +0x0, 0xa6be88\nFMOV            S0, WZR                                                ; +0x4, 0xa6be8c\nB.HI            def_A6BEA8; jumptable 0000000000A6BEA8 default case    ; +0x8, 0xa6be90\nADRL            X2, jpt_A6BEA8                                         ; +0xc, 0xa6be94\nLDRB            W1, [X2,W1,UXTW]                                       ; +0x14, 0xa6be9c\nADR             X2, loc_A6BEAC; jumptable 0000000000A6BEA8 case 27     ; +0x18, 0xa6bea0\nADD             X1, X2, W1,SXTB#2                                      ; +0x1c, 0xa6bea4\nBR              X1; switch jump                                        ; +0x20, 0xa6bea8\nLDR             S0, [X0,#0x74]; jumptable 0000000000A6BEA8 case 27     ; +0x24, 0xa6beac\nRET; jumptable 0000000000A6BEA8 default case                           ; +0x28, 0xa6beb0\nLDR             S0, [X0,#0x44]; jumptable 0000000000A6BEA8 case 26     ; +0x2c, 0xa6beb4\nRET                                                                    ; +0x30, 0xa6beb8\nLDR             S0, [X0,#0x40]; jumptable 0000000000A6BEA8 case 25     ; +0x34, 0xa6bebc\nRET                                                                    ; +0x38, 0xa6bec0\nLDR             S0, [X0,#0x9C]; jumptable 0000000000A6BEA8 case 24     ; +0x3c, 0xa6bec4\nRET                                                                    ; +0x40, 0xa6bec8\nLDR             S0, [X0,#0x98]; jumptable 0000000000A6BEA8 case 23     ; +0x44, 0xa6becc\nRET                                                                    ; +0x48, 0xa6bed0\nLDR             S0, [X0,#0x94]; jumptable 0000000000A6BEA8 case 22     ; +0x4c, 0xa6bed4\nRET                                                                    ; +0x50, 0xa6bed8\nLDR             S0, [X0,#0x90]; jumptable 0000000000A6BEA8 case 21     ; +0x54, 0xa6bedc\nRET                                                                    ; +0x58, 0xa6bee0\nLDR             S0, [X0,#0x8C]; jumptable 0000000000A6BEA8 case 20     ; +0x5c, 0xa6bee4\nRET                                                                    ; +0x60, 0xa6bee8\nLDR             S0, [X0,#0x88]; jumptable 0000000000A6BEA8 case 19     ; +0x64, 0xa6beec\nRET                                                                    ; +0x68, 0xa6bef0\nLDR             S0, [X0,#0x84]; jumptable 0000000000A6BEA8 case 18     ; +0x6c, 0xa6bef4\nRET                                                                    ; +0x70, 0xa6bef8\nLDR             S0, [X0,#0x80]; jumptable 0000000000A6BEA8 case 17     ; +0x74, 0xa6befc\nRET                                                                    ; +0x78, 0xa6bf00\nLDR             S0, [X0,#0x7C]; jumptable 0000000000A6BEA8 case 16     ; +0x7c, 0xa6bf04\nRET                                                                    ; +0x80, 0xa6bf08\nLDR             S0, [X0,#0x78]; jumptable 0000000000A6BEA8 case 15     ; +0x84, 0xa6bf0c\nRET                                                                    ; +0x88, 0xa6bf10\nLDR             S0, [X0,#0x70]; jumptable 0000000000A6BEA8 case 14     ; +0x8c, 0xa6bf14\nRET                                                                    ; +0x90, 0xa6bf18\nLDR             S0, [X0,#0x6C]; jumptable 0000000000A6BEA8 case 13     ; +0x94, 0xa6bf1c\nRET                                                                    ; +0x98, 0xa6bf20\nLDR             S0, [X0,#0x68]; jumptable 0000000000A6BEA8 case 12     ; +0x9c, 0xa6bf24\nRET                                                                    ; +0xa0, 0xa6bf28\nLDR             S0, [X0,#0x64]; jumptable 0000000000A6BEA8 case 11     ; +0xa4, 0xa6bf2c\nRET                                                                    ; +0xa8, 0xa6bf30\nLDR             S0, [X0,#0x60]; jumptable 0000000000A6BEA8 case 10     ; +0xac, 0xa6bf34\nRET                                                                    ; +0xb0, 0xa6bf38\nLDR             S0, [X0,#0x5C]; jumptable 0000000000A6BEA8 case 9      ; +0xb4, 0xa6bf3c\nRET                                                                    ; +0xb8, 0xa6bf40\nLDR             S0, [X0,#0x58]; jumptable 0000000000A6BEA8 case 8      ; +0xbc, 0xa6bf44\nRET                                                                    ; +0xc0, 0xa6bf48\nLDR             S0, [X0,#0x54]; jumptable 0000000000A6BEA8 case 7      ; +0xc4, 0xa6bf4c\nRET                                                                    ; +0xc8, 0xa6bf50\nLDR             S0, [X0,#0x50]; jumptable 0000000000A6BEA8 case 6      ; +0xcc, 0xa6bf54\nRET                                                                    ; +0xd0, 0xa6bf58\nLDR             S0, [X0,#0x4C]; jumptable 0000000000A6BEA8 case 5      ; +0xd4, 0xa6bf5c\nRET                                                                    ; +0xd8, 0xa6bf60\nLDR             S0, [X0,#0x48]; jumptable 0000000000A6BEA8 case 4      ; +0xdc, 0xa6bf64\nRET                                                                    ; +0xe0, 0xa6bf68\nLDR             S0, [X0,#0x3C]; jumptable 0000000000A6BEA8 case 3      ; +0xe4, 0xa6bf6c\nRET                                                                    ; +0xe8, 0xa6bf70\nLDR             S0, [X0,#0x38]; jumptable 0000000000A6BEA8 case 2      ; +0xec, 0xa6bf74\nRET                                                                    ; +0xf0, 0xa6bf78\nLDR             S0, [X0,#0x34]; jumptable 0000000000A6BEA8 case 1      ; +0xf4, 0xa6bf7c\nRET                                                                    ; +0xf8, 0xa6bf80\nLDR             S0, [X0,#0x30]; jumptable 0000000000A6BEA8 case 0      ; +0xfc, 0xa6bf84\nRET                                                                    ; +0x100, 0xa6bf88", "xrefs": ["<???> @ 0x3ef70"], "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"}