{"type": "func", "start": 341174, "end": 341214, "name": "sub_534B6", "pseudocode": "// \n// sub_534B6 from 0x534b6 to 0x534de (40 bytes)\n// \n// 1 xrefs:\n// > sub_52F12 @ 0x52f2c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:44 +0000\n// \n\nint __fastcall sub_534B6(int a1)\n{\n  int v1; // r2\n  int v2; // r1\n  int result; // r0\n\n  v1 = *(_DWORD *)(a1 + 28);\n  if ( v1 == -1 )\n    return 28;\n  if ( v1 != *(_DWORD *)(a1 + 4) )\n    return 0;\n  v2 = 2 * v1;\n  if ( v1 < 2 )\n    v2 = 4;\n  result = sub_5357C(a1, v2);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_534B6 from 0x534b6 to 0x534de (40 bytes)\n; \n; 1 xrefs:\n; > sub_52F12 @ 0x52f2c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:44 +0000\n; \nPUSH            {R7,LR}                                                ; +0x0, 0x534b6\nMOV             R7, SP                                                 ; +0x2, 0x534b8\nLDR             R2, [R0,#0x1C]                                         ; +0x4, 0x534ba\nADDS            R1, R2, #1                                             ; +0x6, 0x534bc\nBEQ             loc_534DA                                              ; +0x8, 0x534be\nLDR             R1, [R0,#4]                                            ; +0xa, 0x534c0\nCMP             R2, R1                                                 ; +0xc, 0x534c2\nBNE             loc_534D6                                              ; +0xe, 0x534c4\nLSLS            R1, R2, #1                                             ; +0x10, 0x534c6\nCMP             R2, #2                                                 ; +0x12, 0x534c8\nIT LT                                                                  ; +0x14, 0x534ca\nMOVLT           R1, #4                                                 ; +0x16, 0x534cc\nBL              sub_5357C                                              ; +0x18, 0x534ce\nCBZ             R0, loc_534D6                                          ; +0x1c, 0x534d2\nPOP             {R7,PC}                                                ; +0x1e, 0x534d4\nMOVS            R0, #0                                                 ; +0x20, 0x534d6\nPOP             {R7,PC}                                                ; +0x22, 0x534d8\nMOVS            R0, #0x1C                                              ; +0x24, 0x534da\nPOP             {R7,PC}                                                ; +0x26, 0x534dc", "xrefs": ["sub_52F12 @ 0x52f2c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}