{"type": "func", "start": 817232, "end": 817284, "name": "sub_C7850", "pseudocode": "// \n// sub_C7850 from 0xc7850 to 0xc7884 (52 bytes)\n// \n// 2 xrefs:\n// > sub_C7FC4 @ 0xc8250\n// > sub_C825C @ 0xc8608\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\n__int64 sub_C7850()\n{\n  long double *v0; // x20\n  __int64 v1; // x0\n  __int64 v2; // x8\n  __int64 result; // x0\n\n  v1 = sub_CD614();\n  if ( v2 )\n    v1 = sub_CD4BC(v1);\n  result = sub_CD6CC(v1, *v0);\n  ++*(_DWORD *)(*(_QWORD *)v0 + 8LL);\n  return result;\n}", "assembly": "; \n; sub_C7850 from 0xc7850 to 0xc7884 (52 bytes)\n; \n; 2 xrefs:\n; > sub_C7FC4 @ 0xc8250\n; > sub_C825C @ 0xc8608\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\nSTP             X20, X19, [SP,#var_20]!                                ; +0x0, 0xc7850\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x4, 0xc7854\nBL              sub_CD614                                              ; +0x8, 0xc7858\nCBZ             X8, loc_C7864                                          ; +0xc, 0xc785c\nBL              sub_CD4BC                                              ; +0x10, 0xc7860\nLDR             Q0, [X20]                                              ; +0x14, 0xc7864\nBL              sub_CD6CC                                              ; +0x18, 0xc7868\nLDR             X8, [X20]                                              ; +0x1c, 0xc786c\nLDR             W9, [X8,#8]                                            ; +0x20, 0xc7870\nADD             W9, W9, #1                                             ; +0x24, 0xc7874\nSTR             W9, [X8,#8]                                            ; +0x28, 0xc7878\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x2c, 0xc787c\nB               loc_CD37C                                              ; +0x30, 0xc7880", "xrefs": ["sub_C7FC4 @ 0xc8250", "sub_C825C @ 0xc8608"], "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"}