{"type": "func", "start": 682084, "end": 682172, "name": "sub_A6864", "pseudocode": "// \n// sub_A6864 from 0xa6864 to 0xa68bc (88 bytes)\n// \n// 1 xrefs:\n// > sub_A6988 @ 0xa698e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:35 +0000\n// \n\nint __fastcall sub_A6864(int a1, int a2, float a3)\n{\n  switch ( a2 )\n  {\n    case 0:\n      *(float *)(a1 + 828) = a3;\n      break;\n    case 1:\n      *(float *)(a1 + 832) = a3;\n      break;\n    case 2:\n      *(float *)(a1 + 836) = a3;\n      break;\n    case 3:\n      *(float *)(a1 + 840) = a3;\n      break;\n    case 4:\n      *(float *)(a1 + 844) = a3;\n      break;\n    case 5:\n      *(float *)(a1 + 848) = a3;\n      break;\n    case 6:\n      *(float *)(a1 + 852) = a3;\n      *(_BYTE *)(a1 + 404) = a3 > 0.0;\n      break;\n    case 7:\n      *(float *)(a1 + 856) = a3;\n      break;\n    default:\n      return 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_A6864 from 0xa6864 to 0xa68bc (88 bytes)\n; \n; 1 xrefs:\n; > sub_A6988 @ 0xa698e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:41:35 +0000\n; \nCMP             R1, #7; switch 8 cases                                 ; +0x0, 0xa6864\nBHI             def_A686C; jumptable 000A686C default case             ; +0x2, 0xa6866\nVMOV            S0, R2                                                 ; +0x4, 0xa6868\nTBB.W           [PC,R1]; switch jump                                   ; +0x8, 0xa686c\nDCB 4; jump table for switch statement                                 ; +0xc, 0xa6870\nDCB 7                                                                  ; +0xd, 0xa6871\nDCB 0xA                                                                ; +0xe, 0xa6872\nDCB 0xD                                                                ; +0xf, 0xa6873\nDCB 0x10                                                               ; +0x10, 0xa6874\nDCB 0x13                                                               ; +0x11, 0xa6875\nDCB 0x16                                                               ; +0x12, 0xa6876\nDCB 0x22                                                               ; +0x13, 0xa6877\nVSTR            S0, [R0,#0x33C]; jumptable 000A686C case 0             ; +0x14, 0xa6878\nB               def_A686C; jumptable 000A686C default case             ; +0x18, 0xa687c\nVSTR            S0, [R0,#0x340]; jumptable 000A686C case 1             ; +0x1a, 0xa687e\nB               def_A686C; jumptable 000A686C default case             ; +0x1e, 0xa6882\nVSTR            S0, [R0,#0x344]; jumptable 000A686C case 2             ; +0x20, 0xa6884\nB               def_A686C; jumptable 000A686C default case             ; +0x24, 0xa6888\nVSTR            S0, [R0,#0x348]; jumptable 000A686C case 3             ; +0x26, 0xa688a\nB               def_A686C; jumptable 000A686C default case             ; +0x2a, 0xa688e\nVSTR            S0, [R0,#0x34C]; jumptable 000A686C case 4             ; +0x2c, 0xa6890\nB               def_A686C; jumptable 000A686C default case             ; +0x30, 0xa6894\nVSTR            S0, [R0,#0x350]; jumptable 000A686C case 5             ; +0x32, 0xa6896\nB               def_A686C; jumptable 000A686C default case             ; +0x36, 0xa689a\nVCMPE.F32       S0, #0.0; jumptable 000A686C case 6                    ; +0x38, 0xa689c\nMOVS            R1, #0                                                 ; +0x3c, 0xa68a0\nVSTR            S0, [R0,#0x354]                                        ; +0x3e, 0xa68a2\nVMRS            APSR_nzcv, FPSCR                                       ; +0x42, 0xa68a6\nIT GT                                                                  ; +0x46, 0xa68aa\nMOVGT           R1, #1                                                 ; +0x48, 0xa68ac\nSTRB.W          R1, [R0,#0x194]                                        ; +0x4a, 0xa68ae\nB               def_A686C; jumptable 000A686C default case             ; +0x4e, 0xa68b2\nVSTR            S0, [R0,#0x358]; jumptable 000A686C case 7             ; +0x50, 0xa68b4\nMOVS            R0, #0; jumptable 000A686C default case                ; +0x54, 0xa68b8\nBX              LR                                                     ; +0x56, 0xa68ba", "xrefs": ["sub_A6988 @ 0xa698e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}