{"type": "func", "start": 302176, "end": 302224, "name": "sub_49C60", "pseudocode": "// \n// sub_49C60 from 0x49c60 to 0x49c90 (48 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_49C60(_DWORD *a1, unsigned int a2, int a3)\n{\n  int result; // r0\n\n  if ( *(_DWORD **)(a1[1] + 68868) == a1 )\n    return 5;\n  result = sub_47CF2((int)a1, a2, a3);\n  if ( !result )\n    return (*(int (__fastcall **)(_DWORD *, unsigned int))(*a1 + 60))(a1, a2);\n  return result;\n}", "assembly": "; \n; sub_49C60 from 0x49c60 to 0x49c90 (48 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\nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x49c60\nADD             R7, SP, #8                                             ; +0x2, 0x49c62\nMOV             R4, R1                                                 ; +0x4, 0x49c64\nMOV             R5, R0                                                 ; +0x6, 0x49c66\nLDR             R0, [R0,#4]                                            ; +0x8, 0x49c68\nLDR             R1, =0x10D04                                           ; +0xa, 0x49c6a\nLDR             R0, [R0,R1]                                            ; +0xc, 0x49c6c\nCMP             R0, R5                                                 ; +0xe, 0x49c6e\nBEQ             loc_49C7E                                              ; +0x10, 0x49c70\nMOV             R0, R5                                                 ; +0x12, 0x49c72\nMOV             R1, R4                                                 ; +0x14, 0x49c74\nBL              sub_47CF2                                              ; +0x16, 0x49c76\nCBZ             R0, loc_49C82                                          ; +0x1a, 0x49c7a\nPOP             {R4,R5,R7,PC}                                          ; +0x1c, 0x49c7c\nMOVS            R0, #5                                                 ; +0x1e, 0x49c7e\nPOP             {R4,R5,R7,PC}                                          ; +0x20, 0x49c80\nLDR             R0, [R5]                                               ; +0x22, 0x49c82\nMOV             R1, R4                                                 ; +0x24, 0x49c84\nLDR             R2, [R0,#0x3C]                                         ; +0x26, 0x49c86\nMOV             R0, R5                                                 ; +0x28, 0x49c88\nPOP.W           {R4,R5,R7,LR}                                          ; +0x2a, 0x49c8a\nBX              R2                                                     ; +0x2e, 0x49c8e", "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"}