{"type": "func", "start": 414464, "end": 414540, "name": "sub_65300", "pseudocode": "// \n// sub_65300 from 0x65300 to 0x6534c (76 bytes)\n// \n// 1 xrefs:\n// > sub_65270 @ 0x652ac\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:13:55 +0000\n// \n\n__int64 __fastcall sub_65300(int a1, __int64 *a2)\n{\n  unsigned int v2; // w0\n  __int64 v4; // x0\n\n  v2 = 4 * 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_65300 from 0x65300 to 0x6534c (76 bytes)\n; \n; 1 xrefs:\n; > sub_65270 @ 0x652ac\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:13:55 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x65300\nLSL             W0, W0, #2                                             ; +0x4, 0x65304\nSUB             W8, W0, #1                                             ; +0x8, 0x65308\nMOV             W9, #0x3FFFFFFF                                        ; +0xc, 0x6530c\nCMP             W8, W9                                                 ; +0x10, 0x65310\nMOV             X19, X1                                                ; +0x14, 0x65314\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x18, 0x65318\nADD             X29, SP, #0x10                                         ; +0x1c, 0x6531c\nB.CS            loc_65330                                              ; +0x20, 0x65320\nBL              sub_65188                                              ; +0x24, 0x65324\nSTR             X0, [X19]                                              ; +0x28, 0x65328\nB               loc_65334                                              ; +0x2c, 0x6532c\nLDR             X0, [X19]                                              ; +0x30, 0x65330\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x65334\nCMP             X0, #0                                                 ; +0x38, 0x65338\nMOV             W8, #0x26 ; '&'                                        ; +0x3c, 0x6533c\nCSEL            W0, W8, WZR, EQ                                        ; +0x40, 0x65340\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x44, 0x65344\nRET                                                                    ; +0x48, 0x65348", "xrefs": ["sub_65270 @ 0x652ac"], "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"}