{"type": "func", "start": 562196, "end": 562230, "name": "sub_89414", "pseudocode": "// \n// sub_89414 from 0x89414 to 0x89436 (34 bytes)\n// \n// 1 xrefs:\n// > sub_894B4 @ 0x894ba\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_89414(int a1, int a2, int a3)\n{\n  _DWORD *v3; // r0\n\n  v3 = (_DWORD *)(a1 + 33228);\n  switch ( a2 )\n  {\n    case 2:\n      goto LABEL_6;\n    case 1:\n      v3 += 2;\n      goto LABEL_6;\n    case 0:\n      ++v3;\nLABEL_6:\n      *v3 = a3;\n      break;\n  }\n  return 0;\n}", "assembly": "; \n; sub_89414 from 0x89414 to 0x89436 (34 bytes)\n; \n; 1 xrefs:\n; > sub_894B4 @ 0x894ba\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\nMOVW            R3, #0x81CC                                            ; +0x0, 0x89414\nADD             R0, R3                                                 ; +0x4, 0x89418\nCMP             R1, #2                                                 ; +0x6, 0x8941a\nBEQ             loc_8942A                                              ; +0x8, 0x8941c\nCMP             R1, #1                                                 ; +0xa, 0x8941e\nBEQ             loc_89428                                              ; +0xc, 0x89420\nCBNZ            R1, loc_89432                                          ; +0xe, 0x89422\nADDS            R0, #4                                                 ; +0x10, 0x89424\nB               loc_8942A                                              ; +0x12, 0x89426\nADDS            R0, #8                                                 ; +0x14, 0x89428\nVMOV            S0, R2                                                 ; +0x16, 0x8942a\nVSTR            S0, [R0]                                               ; +0x1a, 0x8942e\nMOVS            R0, #0                                                 ; +0x1e, 0x89432\nBX              LR                                                     ; +0x20, 0x89434", "xrefs": ["sub_894B4 @ 0x894ba"], "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"}