{"type": "func", "start": 624508, "end": 624538, "name": "sub_9877C", "pseudocode": "// \n// sub_9877C from 0x9877c to 0x9879a (30 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:41:29 +0000\n// \n\nint __fastcall sub_9877C(int *a1, int a2, int a3)\n{\n  int v3; // r0\n  _DWORD *v4; // r0\n\n  v3 = *a1;\n  if ( a2 == 1 )\n  {\n    v4 = (_DWORD *)(v3 + 652);\n    goto LABEL_5;\n  }\n  if ( !a2 )\n  {\n    v4 = (_DWORD *)(v3 + 656);\nLABEL_5:\n    *v4 = a3;\n  }\n  return 0;\n}", "assembly": "; \n; sub_9877C from 0x9877c to 0x9879a (30 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:41:29 +0000\n; \nLDR             R0, [R0]                                               ; +0x0, 0x9877c\nCMP             R1, #1                                                 ; +0x2, 0x9877e\nBEQ             loc_9878A                                              ; +0x4, 0x98780\nCBNZ            R1, loc_98796                                          ; +0x6, 0x98782\nADD.W           R0, R0, #0x290                                         ; +0x8, 0x98784\nB               loc_9878E                                              ; +0xc, 0x98788\nADD.W           R0, R0, #0x28C                                         ; +0xe, 0x9878a\nVMOV            S0, R2                                                 ; +0x12, 0x9878e\nVSTR            S0, [R0]                                               ; +0x16, 0x98792\nMOVS            R0, #0                                                 ; +0x1a, 0x98796\nBX              LR                                                     ; +0x1c, 0x98798", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}