{"type": "func", "start": 795954, "end": 796054, "name": "sub_C2532", "pseudocode": "// \n// sub_C2532 from 0xc2532 to 0xc2596 (100 bytes)\n// \n// 1 xrefs:\n// > sub_C2096 @ 0xc20a0\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_C2532(_DWORD *a1)\n{\n  int v2; // r0\n  int v3; // r0\n  int v4; // r0\n  void *v5; // r0\n\n  sub_B43A8(a1 + 286);\n  sub_B43A8(a1 + 297);\n  v2 = a1[208];\n  if ( v2 )\n  {\n    (*(void (__fastcall **)(int))(*(_DWORD *)v2 + 24))(v2);\n    a1[208] = 0;\n    a1[209] = 0;\n    a1[210] = 0;\n  }\n  v3 = a1[207];\n  if ( v3 )\n  {\n    (*(void (__fastcall **)(int))(*(_DWORD *)v3 + 24))(v3);\n    a1[207] = 0;\n  }\n  v4 = a1[205];\n  if ( v4 )\n  {\n    (*(void (__fastcall **)(int))(*(_DWORD *)v4 + 24))(v4);\n    a1[205] = 0;\n    a1[206] = 0;\n  }\n  v5 = (void *)a1[204];\n  if ( v5 )\n  {\n    sub_C06BE(v5);\n    a1[204] = 0;\n  }\n  return 0;\n}", "assembly": "; \n; sub_C2532 from 0xc2532 to 0xc2596 (100 bytes)\n; \n; 1 xrefs:\n; > sub_C2096 @ 0xc20a0\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,R6,R7,LR}                                          ; +0x0, 0xc2532\nADD             R7, SP, #8                                             ; +0x2, 0xc2534\nMOV             R4, R0                                                 ; +0x4, 0xc2536\nADD.W           R0, R0, #0x478                                         ; +0x6, 0xc2538\nBL              sub_B43A8                                              ; +0xa, 0xc253c\nADDW            R0, R4, #0x4A4                                         ; +0xe, 0xc2540\nBL              sub_B43A8                                              ; +0x12, 0xc2544\nLDR.W           R0, [R4,#0x340]                                        ; +0x16, 0xc2548\nCBZ             R0, loc_C255E                                          ; +0x1a, 0xc254c\nLDR             R1, [R0]                                               ; +0x1c, 0xc254e\nLDR             R1, [R1,#0x18]                                         ; +0x1e, 0xc2550\nBLX             R1                                                     ; +0x20, 0xc2552\nMOVS            R0, #0                                                 ; +0x22, 0xc2554\nSTRD.W          R0, R0, [R4,#0x340]                                    ; +0x24, 0xc2556\nSTR.W           R0, [R4,#0x348]                                        ; +0x28, 0xc255a\nLDR.W           R0, [R4,#0x33C]                                        ; +0x2c, 0xc255e\nCBZ             R0, loc_C2570                                          ; +0x30, 0xc2562\nLDR             R1, [R0]                                               ; +0x32, 0xc2564\nLDR             R1, [R1,#0x18]                                         ; +0x34, 0xc2566\nBLX             R1                                                     ; +0x36, 0xc2568\nMOVS            R0, #0                                                 ; +0x38, 0xc256a\nSTR.W           R0, [R4,#0x33C]                                        ; +0x3a, 0xc256c\nLDR.W           R0, [R4,#0x334]                                        ; +0x3e, 0xc2570\nCBZ             R0, loc_C2582                                          ; +0x42, 0xc2574\nLDR             R1, [R0]                                               ; +0x44, 0xc2576\nLDR             R1, [R1,#0x18]                                         ; +0x46, 0xc2578\nBLX             R1                                                     ; +0x48, 0xc257a\nMOVS            R0, #0                                                 ; +0x4a, 0xc257c\nSTRD.W          R0, R0, [R4,#0x334]                                    ; +0x4c, 0xc257e\nLDR.W           R0, [R4,#0x330]                                        ; +0x50, 0xc2582\nCBZ             R0, loc_C2592                                          ; +0x54, 0xc2586\nBL              sub_C06BE                                              ; +0x56, 0xc2588\nMOVS            R0, #0                                                 ; +0x5a, 0xc258c\nSTR.W           R0, [R4,#0x330]                                        ; +0x5c, 0xc258e\nMOVS            R0, #0                                                 ; +0x60, 0xc2592\nPOP             {R4,R6,R7,PC}                                          ; +0x62, 0xc2594", "xrefs": ["sub_C2096 @ 0xc20a0"], "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"}