{"type": "func", "start": 395932, "end": 395982, "name": "sub_60A9C", "pseudocode": "// \n// sub_60A9C from 0x60a9c to 0x60ace (50 bytes)\n// \n// 1 xrefs:\n// > sub_64B58 @ 0x64b88\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_60A9C(int result, _DWORD *a2, _DWORD *a3, _DWORD *a4, _DWORD *a5)\n{\n  if ( a2 )\n    *a2 = dword_E482C[4 * result];\n  if ( a3 )\n    *a3 = dword_E482C[4 * result + 3];\n  if ( a4 )\n    *a4 = dword_E482C[4 * result + 1];\n  if ( a5 )\n  {\n    result = dword_E482C[4 * result + 2];\n    *a5 = result;\n  }\n  return result;\n}", "assembly": "; \n; sub_60A9C from 0x60a9c to 0x60ace (50 bytes)\n; \n; 1 xrefs:\n; > sub_64B58 @ 0x64b88\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\nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x60a9c\nADD             R7, SP, #8                                             ; +0x2, 0x60a9e\nLDR             R4, =(dword_E482C - 0x60AA6)                           ; +0x4, 0x60aa0\nADD             R4, PC; dword_E482C                                    ; +0x6, 0x60aa2\nCBZ             R1, loc_60AAC                                          ; +0x8, 0x60aa4\nLSLS            R5, R0, #4                                             ; +0xa, 0x60aa6\nLDR             R5, [R4,R5]                                            ; +0xc, 0x60aa8\nSTR             R5, [R1]                                               ; +0xe, 0x60aaa\nCBZ             R2, loc_60AB6                                          ; +0x10, 0x60aac\nADD.W           R1, R4, R0,LSL#4                                       ; +0x12, 0x60aae\nLDR             R1, [R1,#0xC]                                          ; +0x16, 0x60ab2\nSTR             R1, [R2]                                               ; +0x18, 0x60ab4\nLDR             R1, [R7,#-8+arg_0]                                     ; +0x1a, 0x60ab6\nCBZ             R3, loc_60AC2                                          ; +0x1c, 0x60ab8\nADD.W           R2, R4, R0,LSL#4                                       ; +0x1e, 0x60aba\nLDR             R2, [R2,#4]                                            ; +0x22, 0x60abe\nSTR             R2, [R3]                                               ; +0x24, 0x60ac0\nCBZ             R1, locret_60ACC                                       ; +0x26, 0x60ac2\nADD.W           R0, R4, R0,LSL#4                                       ; +0x28, 0x60ac4\nLDR             R0, [R0,#8]                                            ; +0x2c, 0x60ac8\nSTR             R0, [R1]                                               ; +0x2e, 0x60aca\nPOP             {R4,R5,R7,PC}                                          ; +0x30, 0x60acc", "xrefs": ["sub_64B58 @ 0x64b88"], "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"}