{"type": "func", "start": 788072, "end": 788088, "name": "sub_C0668", "pseudocode": "// \n// sub_C0668 from 0xc0668 to 0xc0678 (16 bytes)\n// \n// 12 xrefs:\n// > sub_46AF6 @ 0x46afc\n// > sub_6AD56 @ 0x6ad7e\n// > sub_6AEEE @ 0x6af16\n// > sub_6AFAE @ 0x6afba\n// > sub_6AFAE @ 0x6afc2\n// > sub_6BE10 @ 0x6be3e\n// > sub_6BF0E @ 0x6bf5e\n// > sub_6C58A @ 0x6c5d4\n// > sub_BD1CC @ 0xbd1d4\n// > sub_BE560 @ 0xbe590\n// > sub_BE560 @ 0xbe624\n// > sub_BE788 @ 0xbe7a6\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_C0668(sem_t *a1)\n{\n  int result; // r0\n\n  result = sem_post(a1);\n  if ( result )\n    return 28;\n  return result;\n}", "assembly": "; \n; sub_C0668 from 0xc0668 to 0xc0678 (16 bytes)\n; \n; 12 xrefs:\n; > sub_46AF6 @ 0x46afc\n; > sub_6AD56 @ 0x6ad7e\n; > sub_6AEEE @ 0x6af16\n; > sub_6AFAE @ 0x6afba\n; > sub_6AFAE @ 0x6afc2\n; > sub_6BE10 @ 0x6be3e\n; > sub_6BF0E @ 0x6bf5e\n; > sub_6C58A @ 0x6c5d4\n; > sub_BD1CC @ 0xbd1d4\n; > sub_BE560 @ 0xbe590\n; > sub_BE560 @ 0xbe624\n; > sub_BE788 @ 0xbe7a6\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            {R7,LR}                                                ; +0x0, 0xc0668\nMOV             R7, SP                                                 ; +0x2, 0xc066a\nBLX             sem_post                                               ; +0x4, 0xc066c\nCMP             R0, #0                                                 ; +0x8, 0xc0670\nIT NE                                                                  ; +0xa, 0xc0672\nMOVNE           R0, #0x1C                                              ; +0xc, 0xc0674\nPOP             {R7,PC}                                                ; +0xe, 0xc0676", "xrefs": ["sub_46AF6 @ 0x46afc", "sub_6AD56 @ 0x6ad7e", "sub_6AEEE @ 0x6af16", "sub_6AFAE @ 0x6afba", "sub_6AFAE @ 0x6afc2", "sub_6BE10 @ 0x6be3e", "sub_6BF0E @ 0x6bf5e", "sub_6C58A @ 0x6c5d4", "sub_BD1CC @ 0xbd1d4", "sub_BE560 @ 0xbe590", "sub_BE560 @ 0xbe624", "sub_BE788 @ 0xbe7a6"], "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"}