{"type": "func", "start": 341622, "end": 341662, "name": "sub_53676", "pseudocode": "// \n// sub_53676 from 0x53676 to 0x5369e (40 bytes)\n// \n// 1 xrefs:\n// > sub_5363A @ 0x5364c\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_53676(_DWORD *a1, int a2)\n{\n  int v3; // r0\n  int v4; // r0\n  int v5; // r2\n  int v6; // r3\n  int result; // r0\n\n  v3 = a1[2];\n  if ( v3 < 0 )\n    v3 = -v3;\n  if ( v3 >= a2 )\n    return 0;\n  v4 = sub_536C8(a1);\n  result = sub_53150(a1, v4, v5, v6);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_53676 from 0x53676 to 0x5369e (40 bytes)\n; \n; 1 xrefs:\n; > sub_5363A @ 0x5364c\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            {R4,R6,R7,LR}                                          ; +0x0, 0x53676\nADD             R7, SP, #8                                             ; +0x2, 0x53678\nMOV             R4, R0                                                 ; +0x4, 0x5367a\nLDR             R0, [R0,#8]                                            ; +0x6, 0x5367c\nCMP             R0, #0                                                 ; +0x8, 0x5367e\nBPL             loc_53684                                              ; +0xa, 0x53680\nNEGS            R0, R0                                                 ; +0xc, 0x53682\nCMP             R0, R1                                                 ; +0xe, 0x53684\nBGE             loc_5369A                                              ; +0x10, 0x53686\nMOV             R0, R4                                                 ; +0x12, 0x53688\nBL              sub_536C8                                              ; +0x14, 0x5368a\nMOV             R1, R0                                                 ; +0x18, 0x5368e\nMOV             R0, R4                                                 ; +0x1a, 0x53690\nBL              sub_53150                                              ; +0x1c, 0x53692\nCBZ             R0, loc_5369A                                          ; +0x20, 0x53696\nPOP             {R4,R6,R7,PC}                                          ; +0x22, 0x53698\nMOVS            R0, #0                                                 ; +0x24, 0x5369a\nPOP             {R4,R6,R7,PC}                                          ; +0x26, 0x5369c", "xrefs": ["sub_5363A @ 0x5364c"], "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"}