{"type": "func", "start": 566904, "end": 566958, "name": "sub_8A678", "pseudocode": "// \n// sub_8A678 from 0x8a678 to 0x8a6ae (54 bytes)\n// \n// 1 xrefs:\n// > sub_8A7FA @ 0x8a7fc\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\nint __fastcall sub_8A678(_DWORD *a1, int a2, int a3)\n{\n  switch ( a2 )\n  {\n    case 0:\n      a1[176] = a3;\n      break;\n    case 1:\n      a1[177] = a3;\n      break;\n    case 2:\n      a1[175] = a3;\n      break;\n    case 3:\n      a1[178] = a3;\n      break;\n    case 4:\n      a1[179] = a3;\n      break;\n  }\n  return 0;\n}", "assembly": "; \n; sub_8A678 from 0x8a678 to 0x8a6ae (54 bytes)\n; \n; 1 xrefs:\n; > sub_8A7FA @ 0x8a7fc\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, #4                                                 ; +0x0, 0x8a678\nITT HI                                                                 ; +0x2, 0x8a67a\nMOVHI           R0, #0x1F                                              ; +0x4, 0x8a67c\nBXHI            LR                                                     ; +0x6, 0x8a67e\nVMOV            S0, R2                                                 ; +0x8, 0x8a680\nTBB.W           [PC,R1]; switch 5 cases                                ; +0xc, 0x8a684\nDCB 3; jump table for switch statement                                 ; +0x10, 0x8a688\nDCB 6                                                                  ; +0x11, 0x8a689\nDCB 9                                                                  ; +0x12, 0x8a68a\nDCB 0xC                                                                ; +0x13, 0x8a68b\nDCB 0xF                                                                ; +0x14, 0x8a68c\nALIGN 2                                                                ; +0x15, 0x8a68d\nVSTR            S0, [R0,#0x2C0]; jumptable 0008A684 case 0             ; +0x16, 0x8a68e\nB               loc_8A6AA                                              ; +0x1a, 0x8a692\nVSTR            S0, [R0,#0x2C4]; jumptable 0008A684 case 1             ; +0x1c, 0x8a694\nB               loc_8A6AA                                              ; +0x20, 0x8a698\nVSTR            S0, [R0,#0x2BC]; jumptable 0008A684 case 2             ; +0x22, 0x8a69a\nB               loc_8A6AA                                              ; +0x26, 0x8a69e\nVSTR            S0, [R0,#0x2C8]; jumptable 0008A684 case 3             ; +0x28, 0x8a6a0\nB               loc_8A6AA                                              ; +0x2c, 0x8a6a4\nVSTR            S0, [R0,#0x2CC]; jumptable 0008A684 case 4             ; +0x2e, 0x8a6a6\nMOVS            R0, #0                                                 ; +0x32, 0x8a6aa\nBX              LR                                                     ; +0x34, 0x8a6ac", "xrefs": ["sub_8A7FA @ 0x8a7fc"], "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"}