{"type": "func", "start": 545404, "end": 545480, "name": "sub_8527C", "pseudocode": "// \n// sub_8527C from 0x8527c to 0x852c8 (76 bytes)\n// \n// 1 xrefs:\n// > sub_851EC @ 0x85228\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:09 +0000\n// \n\n__int64 __fastcall sub_8527C(int a1, __int64 *a2)\n{\n  unsigned int v2; // w0\n  __int64 v4; // x0\n\n  v2 = 16 * a1;\n  if ( v2 - 1 >= 0x3FFFFFFF )\n  {\n    v4 = *a2;\n  }\n  else\n  {\n    v4 = sub_65188(v2);\n    *a2 = v4;\n  }\n  if ( v4 )\n    return 0;\n  else\n    return 38;\n}", "assembly": "; \n; sub_8527C from 0x8527c to 0x852c8 (76 bytes)\n; \n; 1 xrefs:\n; > sub_851EC @ 0x85228\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:09 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x8527c\nLSL             W0, W0, #4                                             ; +0x4, 0x85280\nSUB             W8, W0, #1                                             ; +0x8, 0x85284\nMOV             W9, #0x3FFFFFFF                                        ; +0xc, 0x85288\nCMP             W8, W9                                                 ; +0x10, 0x8528c\nMOV             X19, X1                                                ; +0x14, 0x85290\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x18, 0x85294\nADD             X29, SP, #0x10                                         ; +0x1c, 0x85298\nB.CS            loc_852AC                                              ; +0x20, 0x8529c\nBL              sub_65188                                              ; +0x24, 0x852a0\nSTR             X0, [X19]                                              ; +0x28, 0x852a4\nB               loc_852B0                                              ; +0x2c, 0x852a8\nLDR             X0, [X19]                                              ; +0x30, 0x852ac\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x852b0\nCMP             X0, #0                                                 ; +0x38, 0x852b4\nMOV             W8, #0x26 ; '&'                                        ; +0x3c, 0x852b8\nCSEL            W0, W8, WZR, EQ                                        ; +0x40, 0x852bc\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x44, 0x852c0\nRET                                                                    ; +0x48, 0x852c4", "xrefs": ["sub_851EC @ 0x85228"], "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"}