{"type": "func", "start": 616162, "end": 616192, "name": "sub_966E2", "pseudocode": "// \n// sub_966E2 from 0x966e2 to 0x96700 (30 bytes)\n// \n// 1 xrefs:\n// > sub_9592C @ 0x95942\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:41:28 +0000\n// \n\nint __fastcall sub_966E2(int a1)\n{\n  int v1; // r1\n  int v2; // r2\n  int result; // r0\n\n  v2 = *(_DWORD *)(a1 + 8);\n  v1 = *(_DWORD *)(a1 + 4);\n  if ( v2 < 0 )\n    v2 = -v2;\n  if ( v1 >= v2 )\n    return 0;\n  result = sub_96700(a1, v1);\n  if ( !result )\n    return 0;\n  return result;\n}", "assembly": "; \n; sub_966E2 from 0x966e2 to 0x96700 (30 bytes)\n; \n; 1 xrefs:\n; > sub_9592C @ 0x95942\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:41:28 +0000\n; \nPUSH            {R7,LR}                                                ; +0x0, 0x966e2\nMOV             R7, SP                                                 ; +0x2, 0x966e4\nLDRD.W          R1, R2, [R0,#4]                                        ; +0x4, 0x966e6\nCMP             R2, #0                                                 ; +0x8, 0x966ea\nBPL             loc_966F0                                              ; +0xa, 0x966ec\nNEGS            R2, R2                                                 ; +0xc, 0x966ee\nCMP             R1, R2                                                 ; +0xe, 0x966f0\nBGE             loc_966FC                                              ; +0x10, 0x966f2\nBL              sub_96700                                              ; +0x12, 0x966f4\nCBZ             R0, loc_966FC                                          ; +0x16, 0x966f8\nPOP             {R7,PC}                                                ; +0x18, 0x966fa\nMOVS            R0, #0                                                 ; +0x1a, 0x966fc\nPOP             {R7,PC}                                                ; +0x1c, 0x966fe", "xrefs": ["sub_9592C @ 0x95942"], "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"}