{"type": "func", "start": 458892, "end": 458968, "name": "sub_7008C", "pseudocode": "// \n// sub_7008C from 0x7008c to 0x700d8 (76 bytes)\n// \n// 1 xrefs:\n// > sub_6FFFC @ 0x70038\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:59 +0000\n// \n\n__int64 __fastcall sub_7008C(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_7008C from 0x7008c to 0x700d8 (76 bytes)\n; \n; 1 xrefs:\n; > sub_6FFFC @ 0x70038\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:59 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x7008c\nLSL             W0, W0, #4                                             ; +0x4, 0x70090\nSUB             W8, W0, #1                                             ; +0x8, 0x70094\nMOV             W9, #0x3FFFFFFF                                        ; +0xc, 0x70098\nCMP             W8, W9                                                 ; +0x10, 0x7009c\nMOV             X19, X1                                                ; +0x14, 0x700a0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x18, 0x700a4\nADD             X29, SP, #0x10                                         ; +0x1c, 0x700a8\nB.CS            loc_700BC                                              ; +0x20, 0x700ac\nBL              sub_65188                                              ; +0x24, 0x700b0\nSTR             X0, [X19]                                              ; +0x28, 0x700b4\nB               loc_700C0                                              ; +0x2c, 0x700b8\nLDR             X0, [X19]                                              ; +0x30, 0x700bc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x700c0\nCMP             X0, #0                                                 ; +0x38, 0x700c4\nMOV             W8, #0x26 ; '&'                                        ; +0x3c, 0x700c8\nCSEL            W0, W8, WZR, EQ                                        ; +0x40, 0x700cc\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x44, 0x700d0\nRET                                                                    ; +0x48, 0x700d4", "xrefs": ["sub_6FFFC @ 0x70038"], "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"}