{"type": "func", "start": 689700, "end": 689884, "name": "sub_A8624", "pseudocode": "// \n// sub_A8624 from 0xa8624 to 0xa86dc (184 bytes)\n// \n// 1 xrefs:\n// > sub_A8800 @ 0xa8804\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:14:33 +0000\n// \n\n__int64 __fastcall sub_A8624(float *a1, int a2, _DWORD *a3, __int64 a4)\n{\n  float v4; // s0\n\n  switch ( a2 )\n  {\n    case 0:\n      *a3 = *((_DWORD *)a1 + 218);\n      if ( !a4 )\n        return 0;\n      v4 = a1[218];\n      break;\n    case 1:\n      *a3 = *((_DWORD *)a1 + 219);\n      if ( !a4 )\n        return 0;\n      v4 = a1[219];\n      break;\n    case 2:\n      *a3 = *((_DWORD *)a1 + 217);\n      if ( !a4 )\n        return 0;\n      v4 = a1[217];\n      break;\n    case 3:\n      *a3 = *((_DWORD *)a1 + 220);\n      if ( !a4 )\n        return 0;\n      v4 = a1[220];\n      break;\n    case 4:\n      *a3 = *((_DWORD *)a1 + 221);\n      if ( !a4 )\n        return 0;\n      v4 = a1[221];\n      break;\n    default:\n      return 31;\n  }\n  sub_E3FC8(a4, 32, \"%.02f\", v4);\n  return 0;\n}", "assembly": "; \n; sub_A8624 from 0xa8624 to 0xa86dc (184 bytes)\n; \n; 1 xrefs:\n; > sub_A8800 @ 0xa8804\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:14:33 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0xa8624\nCMP             W1, #4; switch 5 cases                                 ; +0x4, 0xa8628\nMOV             X29, SP                                                ; +0x8, 0xa862c\nB.HI            def_A864C; jumptable 00000000000A864C default case     ; +0xc, 0xa8630\nADRP            X9, #jpt_A864C@PAGE                                    ; +0x10, 0xa8634\nMOV             W8, W1                                                 ; +0x14, 0xa8638\nADD             X9, X9, #jpt_A864C@PAGEOFF                             ; +0x18, 0xa863c\nADR             X10, loc_A8650; jumptable 00000000000A864C case 0      ; +0x1c, 0xa8640\nLDRB            W11, [X9,X8]                                           ; +0x20, 0xa8644\nADD             X10, X10, X11,LSL#2                                    ; +0x24, 0xa8648\nBR              X10; switch jump                                       ; +0x28, 0xa864c\nLDR             W8, [X0,#0x368]; jumptable 00000000000A864C case 0     ; +0x2c, 0xa8650\nSTR             W8, [X2]                                               ; +0x30, 0xa8654\nCBZ             X3, loc_A86D0                                          ; +0x34, 0xa8658\nLDR             S0, [X0,#0x368]                                        ; +0x38, 0xa865c\nB               loc_A86B8                                              ; +0x3c, 0xa8660\nMOV             W0, #0x1F; jumptable 00000000000A864C default case     ; +0x40, 0xa8664\nB               loc_A86D4                                              ; +0x44, 0xa8668\nLDR             W8, [X0,#0x36C]; jumptable 00000000000A864C case 1     ; +0x48, 0xa866c\nSTR             W8, [X2]                                               ; +0x4c, 0xa8670\nCBZ             X3, loc_A86D0                                          ; +0x50, 0xa8674\nLDR             S0, [X0,#0x36C]                                        ; +0x54, 0xa8678\nB               loc_A86B8                                              ; +0x58, 0xa867c\nLDR             W8, [X0,#0x364]; jumptable 00000000000A864C case 2     ; +0x5c, 0xa8680\nSTR             W8, [X2]                                               ; +0x60, 0xa8684\nCBZ             X3, loc_A86D0                                          ; +0x64, 0xa8688\nLDR             S0, [X0,#0x364]                                        ; +0x68, 0xa868c\nB               loc_A86B8                                              ; +0x6c, 0xa8690\nLDR             W8, [X0,#0x370]; jumptable 00000000000A864C case 3     ; +0x70, 0xa8694\nSTR             W8, [X2]                                               ; +0x74, 0xa8698\nCBZ             X3, loc_A86D0                                          ; +0x78, 0xa869c\nLDR             S0, [X0,#0x370]                                        ; +0x7c, 0xa86a0\nB               loc_A86B8                                              ; +0x80, 0xa86a4\nLDR             W8, [X0,#0x374]; jumptable 00000000000A864C case 4     ; +0x84, 0xa86a8\nSTR             W8, [X2]                                               ; +0x88, 0xa86ac\nCBZ             X3, loc_A86D0                                          ; +0x8c, 0xa86b0\nLDR             S0, [X0,#0x374]                                        ; +0x90, 0xa86b4\nADRP            X2, #a02f@PAGE; \"%.02f\"                                ; +0x94, 0xa86b8\nFCVT            D0, S0                                                 ; +0x98, 0xa86bc\nADD             X2, X2, #a02f@PAGEOFF; \"%.02f\"                         ; +0x9c, 0xa86c0\nMOV             W1, #0x20 ; ' '                                        ; +0xa0, 0xa86c4\nMOV             X0, X3                                                 ; +0xa4, 0xa86c8\nBL              sub_E3FC8                                              ; +0xa8, 0xa86cc\nMOV             W0, WZR                                                ; +0xac, 0xa86d0\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0xb0, 0xa86d4\nRET                                                                    ; +0xb4, 0xa86d8", "xrefs": ["sub_A8800 @ 0xa8804"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}