{"type": "func", "start": 341088, "end": 341128, "name": "sub_53460", "pseudocode": "// \n// sub_53460 from 0x53460 to 0x53488 (40 bytes)\n// \n// 1 xrefs:\n// > sub_52EAC @ 0x52eba\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_53460(int a1, int a2)\n{\n  int v3; // r0\n  int v4; // r0\n  int v5; // r2\n  void *v6; // r3\n  int result; // r0\n\n  v3 = *(_DWORD *)(a1 + 8);\n  if ( v3 < 0 )\n    v3 = -v3;\n  if ( v3 >= a2 )\n    return 0;\n  v4 = sub_53488(a1);\n  result = sub_5336A(a1, v4, v5, v6);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_53460 from 0x53460 to 0x53488 (40 bytes)\n; \n; 1 xrefs:\n; > sub_52EAC @ 0x52eba\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,R6,R7,LR}                                          ; +0x0, 0x53460\nADD             R7, SP, #8                                             ; +0x2, 0x53462\nMOV             R4, R0                                                 ; +0x4, 0x53464\nLDR             R0, [R0,#8]                                            ; +0x6, 0x53466\nCMP             R0, #0                                                 ; +0x8, 0x53468\nBPL             loc_5346E                                              ; +0xa, 0x5346a\nNEGS            R0, R0                                                 ; +0xc, 0x5346c\nCMP             R0, R1                                                 ; +0xe, 0x5346e\nBGE             loc_53484                                              ; +0x10, 0x53470\nMOV             R0, R4                                                 ; +0x12, 0x53472\nBL              sub_53488                                              ; +0x14, 0x53474\nMOV             R1, R0                                                 ; +0x18, 0x53478\nMOV             R0, R4                                                 ; +0x1a, 0x5347a\nBL              sub_5336A                                              ; +0x1c, 0x5347c\nCBZ             R0, loc_53484                                          ; +0x20, 0x53480\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0x53482\nMOVS            R0, #0                                                 ; +0x24, 0x53484\nPOP             {R4,R6,R7,PC}                                          ; +0x26, 0x53486", "xrefs": ["sub_52EAC @ 0x52eba"], "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"}