{"type": "func", "start": 423916, "end": 423950, "name": "sub_677EC", "pseudocode": "// \n// sub_677EC from 0x677ec to 0x6780e (34 bytes)\n// \n// 0 xrefs:\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_677EC(_DWORD *a1, int a2, int a3)\n{\n  unsigned int v3; // r1\n\n  v3 = a2 - 1;\n  if ( v3 > 0x1F )\n    return 31;\n  *(_DWORD *)(*a1 + 4 * v3 + 8940) = a3;\n  return 0;\n}", "assembly": "; \n; sub_677EC from 0x677ec to 0x6780e (34 bytes)\n; \n; 0 xrefs:\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\nSUBS            R1, #1                                                 ; +0x0, 0x677ec\nCMP             R1, #0x1F                                              ; +0x2, 0x677ee\nITT HI                                                                 ; +0x4, 0x677f0\nMOVHI           R0, #0x1F                                              ; +0x6, 0x677f2\nBXHI            LR                                                     ; +0x8, 0x677f4\nLDR             R0, [R0]                                               ; +0xa, 0x677f6\nVMOV            S0, R2                                                 ; +0xc, 0x677f8\nADD.W           R0, R0, R1,LSL#2                                       ; +0x10, 0x677fc\nMOVW            R1, #0x22EC                                            ; +0x14, 0x67800\nADD             R0, R1                                                 ; +0x18, 0x67804\nVSTR            S0, [R0]                                               ; +0x1a, 0x67806\nMOVS            R0, #0                                                 ; +0x1e, 0x6780a\nBX              LR                                                     ; +0x20, 0x6780c", "xrefs": [], "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"}