{"type": "func", "start": 550528, "end": 550566, "name": "sub_86680", "pseudocode": "// \n// sub_86680 from 0x86680 to 0x866a6 (38 bytes)\n// \n// 2 xrefs:\n// > sub_86DAC @ 0x86f36\n// > sub_874A4 @ 0x87a10\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_86680(int a1, int a2, int *a3, int a4, int **a5)\n{\n  if ( a3 == &dword_F261C )\n  {\n    sub_4F48C(a1, a2, a4, a5);\n    if ( a5 )\n      return 0;\nLABEL_6:\n    __debugbreak();\n  }\n  if ( !a5 )\n    goto LABEL_6;\n  *a5 = a3;\n  return 0;\n}", "assembly": "; \n; sub_86680 from 0x86680 to 0x866a6 (38 bytes)\n; \n; 2 xrefs:\n; > sub_86DAC @ 0x86f36\n; > sub_874A4 @ 0x87a10\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, 0x86680\nADD             R7, SP, #8                                             ; +0x2, 0x86682\nLDR             R4, =(off_E622C - 0x8668A)                             ; +0x4, 0x86684\nADD             R4, PC; off_E622C                                      ; +0x6, 0x86686\nLDR             R5, [R4]; dword_F261C                                  ; +0x8, 0x86688\nLDR             R4, [R7,#-8+arg_0]                                     ; +0xa, 0x8668a\nCMP             R2, R5                                                 ; +0xc, 0x8668c\nBEQ             loc_86696                                              ; +0xe, 0x8668e\nCBZ             R4, loc_866A4                                          ; +0x10, 0x86690\nSTR             R2, [R4]                                               ; +0x12, 0x86692\nB               loc_866A0                                              ; +0x14, 0x86694\nMOV             R2, R3                                                 ; +0x16, 0x86696\nMOV             R3, R4                                                 ; +0x18, 0x86698\nBL              sub_4F48C                                              ; +0x1a, 0x8669a\nCBZ             R4, loc_866A4                                          ; +0x1e, 0x8669e\nMOVS            R0, #0                                                 ; +0x20, 0x866a0\nPOP             {R4,R5,R7,PC}                                          ; +0x22, 0x866a2\nUND             #0xFE                                                  ; +0x24, 0x866a4", "xrefs": ["sub_86DAC @ 0x86f36", "sub_874A4 @ 0x87a10"], "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"}