{"type": "func", "start": 294066, "end": 294108, "name": "sub_47CB2", "pseudocode": "// \n// sub_47CB2 from 0x47cb2 to 0x47cdc (42 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall sub_47CB2(_DWORD *a1, int a2)\n{\n  int v2; // r2\n  unsigned int v4; // r3\n\n  v2 = a1[10];\n  if ( (a2 ^ ((unsigned __int8)(v2 & 2) >> 1)) != 1 )\n    return 0;\n  v4 = v2 & 0xFFFFFFFD;\n  if ( a2 )\n    v4 = v2 | 2;\n  a1[10] = v4;\n  return (*(int (__fastcall **)(_DWORD *, _DWORD, int))(*a1 + 16))(a1, a1[6], 1);\n}", "assembly": "; \n; sub_47CB2 from 0x47cb2 to 0x47cdc (42 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             R2, [R0,#0x28]                                         ; +0x0, 0x47cb2\nAND.W           R3, R2, #2                                             ; +0x2, 0x47cb4\nEOR.W           R3, R1, R3,LSR#1                                       ; +0x6, 0x47cb8\nCMP             R3, #1                                                 ; +0xa, 0x47cbc\nITT NE                                                                 ; +0xc, 0x47cbe\nMOVNE           R0, #0                                                 ; +0xe, 0x47cc0\nBXNE            LR                                                     ; +0x10, 0x47cc2\nBIC.W           R3, R2, #2                                             ; +0x12, 0x47cc4\nCMP             R1, #0                                                 ; +0x16, 0x47cc8\nIT NE                                                                  ; +0x18, 0x47cca\nORRNE.W         R3, R2, #2                                             ; +0x1a, 0x47ccc\nSTR             R3, [R0,#0x28]                                         ; +0x1e, 0x47cd0\nLDR             R2, [R0]                                               ; +0x20, 0x47cd2\nLDR             R1, [R0,#0x18]                                         ; +0x22, 0x47cd4\nLDR             R3, [R2,#0x10]                                         ; +0x24, 0x47cd6\nMOVS            R2, #1                                                 ; +0x26, 0x47cd8\nBX              R3                                                     ; +0x28, 0x47cda", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}