{"type": "func", "start": 807884, "end": 808048, "name": "sub_C53CC", "pseudocode": "// \n// sub_C53CC from 0xc53cc to 0xc5470 (164 bytes)\n// \n// 1 xrefs:\n// > sub_C580C @ 0xc59d8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:45 +0000\n// \n\n__int64 __fastcall sub_C53CC(__int64 a1, __int64 a2, float *a3, int a4, int a5)\n{\n  __int64 v10; // x0\n  int i; // w24\n  int v12; // w8\n  __int64 v13; // x0\n  float v14; // s0\n  __int64 v15; // x0\n  __int64 v16; // x0\n\nLABEL_1:\n  if ( a4 )\n  {\n    --a4;\n    v10 = sub_C5470(a1);\n    for ( i = 0; ; ++i )\n    {\n      if ( a5 == i )\n        goto LABEL_1;\n      v12 = *(_DWORD *)(a1 + 9708);\n      if ( v12 == 2 )\n      {\n        v16 = sub_C5E08(v10);\n        v14 = sub_C56BC(v16);\n      }\n      else if ( v12 == 1 )\n      {\n        v15 = sub_C5E08(v10);\n        v10 = sub_C55F4(v15);\n      }\n      else\n      {\n        if ( v12 )\n          continue;\n        v13 = sub_C5E08(v10);\n        v10 = sub_C5568(v13);\n      }\n      a2 += 4;\n      *a3++ = v14;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; sub_C53CC from 0xc53cc to 0xc5470 (164 bytes)\n; \n; 1 xrefs:\n; > sub_C580C @ 0xc59d8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:14:45 +0000\n; \nSTP             X24, X23, [SP,#-0x10+var_30]!                          ; +0x0, 0xc53cc\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0xc53d0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0xc53d4\nMOV             W19, W4                                                ; +0xc, 0xc53d8\nMOV             W20, W3                                                ; +0x10, 0xc53dc\nMOV             X21, X2                                                ; +0x14, 0xc53e0\nMOV             X22, X1                                                ; +0x18, 0xc53e4\nMOV             X23, X0                                                ; +0x1c, 0xc53e8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x20, 0xc53ec\nADD             X29, SP, #0x30                                         ; +0x24, 0xc53f0\nCBZ             W20, loc_C5458                                         ; +0x28, 0xc53f4\nMOV             X0, X23                                                ; +0x2c, 0xc53f8\nSUB             W20, W20, #1                                           ; +0x30, 0xc53fc\nBL              sub_C5470                                              ; +0x34, 0xc5400\nMOV             W24, WZR                                               ; +0x38, 0xc5404\nCMP             W19, W24                                               ; +0x3c, 0xc5408\nB.EQ            loc_C53F4                                              ; +0x40, 0xc540c\nLDR             W8, [X23,#0x25EC]                                      ; +0x44, 0xc5410\nCMP             W8, #2                                                 ; +0x48, 0xc5414\nB.EQ            loc_C5440                                              ; +0x4c, 0xc5418\nCMP             W8, #1                                                 ; +0x50, 0xc541c\nB.EQ            loc_C5434                                              ; +0x54, 0xc5420\nCBNZ            W8, loc_C5450                                          ; +0x58, 0xc5424\nBL              sub_C5E08                                              ; +0x5c, 0xc5428\nBL              sub_C5568                                              ; +0x60, 0xc542c\nB               loc_C5448                                              ; +0x64, 0xc5430\nBL              sub_C5E08                                              ; +0x68, 0xc5434\nBL              sub_C55F4                                              ; +0x6c, 0xc5438\nB               loc_C5448                                              ; +0x70, 0xc543c\nBL              sub_C5E08                                              ; +0x74, 0xc5440\nBL              sub_C56BC                                              ; +0x78, 0xc5444\nADD             X22, X22, #4                                           ; +0x7c, 0xc5448\nSTR             S0, [X21],#4                                           ; +0x80, 0xc544c\nADD             W24, W24, #1                                           ; +0x84, 0xc5450\nB               loc_C5408                                              ; +0x88, 0xc5454\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8c, 0xc5458\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x90, 0xc545c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x94, 0xc5460\nMOV             W0, WZR                                                ; +0x98, 0xc5464\nLDP             X24, X23, [SP+0x30+var_30],#0x40                       ; +0x9c, 0xc5468\nRET                                                                    ; +0xa0, 0xc546c", "xrefs": ["sub_C580C @ 0xc59d8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}