{"type": "func", "start": 796188, "end": 796246, "name": "sub_C261C", "pseudocode": "// \n// sub_C261C from 0xc261c to 0xc2656 (58 bytes)\n// \n// 1 xrefs:\n// > sub_C25E4 @ 0xc25e4\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_C261C(int a1)\n{\n  __int64 *v1; // r5\n  int v2; // r8\n  int (__fastcall *v4)(int, int, _DWORD); // r6\n  int v5; // r0\n  int result; // r0\n\n  v1 = (__int64 *)(a1 + 1144);\n  v2 = a1 + 4;\n  while ( !sub_B4108(v1) )\n  {\n    v4 = *(int (__fastcall **)(int, int, _DWORD))(a1 + 8);\n    v5 = sub_B4128(v1);\n    result = v4(v2, v5, *(_DWORD *)(a1 + 1148));\n    if ( result )\n      return result;\n  }\n  return 0;\n}", "assembly": "; \n; sub_C261C from 0xc261c to 0xc2656 (58 bytes)\n; \n; 1 xrefs:\n; > sub_C25E4 @ 0xc25e4\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-R7,LR}                                             ; +0x0, 0xc261c\nADD             R7, SP, #0xC                                           ; +0x2, 0xc261e\nPUSH.W          {R8}                                                   ; +0x4, 0xc2620\nADD.W           R5, R0, #0x478                                         ; +0x8, 0xc2624\nADD.W           R8, R0, #4                                             ; +0xc, 0xc2628\nMOV             R4, R0                                                 ; +0x10, 0xc262c\nMOV             R0, R5                                                 ; +0x12, 0xc262e\nBL              sub_B4108                                              ; +0x14, 0xc2630\nCBNZ            R0, loc_C264E                                          ; +0x18, 0xc2634\nMOV             R0, R5                                                 ; +0x1a, 0xc2636\nLDR             R6, [R4,#8]                                            ; +0x1c, 0xc2638\nBL              sub_B4128                                              ; +0x1e, 0xc263a\nLDR.W           R2, [R4,#0x47C]                                        ; +0x22, 0xc263e\nMOV             R1, R0                                                 ; +0x26, 0xc2642\nMOV             R0, R8                                                 ; +0x28, 0xc2644\nBLX             R6                                                     ; +0x2a, 0xc2646\nCMP             R0, #0                                                 ; +0x2c, 0xc2648\nBEQ             loc_C262E                                              ; +0x2e, 0xc264a\nB               loc_C2650                                              ; +0x30, 0xc264c\nMOVS            R0, #0                                                 ; +0x32, 0xc264e\nPOP.W           {R8}                                                   ; +0x34, 0xc2650\nPOP             {R4-R7,PC}                                             ; +0x38, 0xc2654", "xrefs": ["sub_C25E4 @ 0xc25e4"], "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"}