{"type": "func", "start": 899340, "end": 899372, "name": "__aeabi_idivmod", "pseudocode": "// \n// __aeabi_idivmod from 0xdb90c to 0xdb92c (32 bytes)\n// \n// 4 xrefs:\n// > j___aeabi_idivmod @ 0xe1528\n// > <???> @ 0x321c\n// > j___aeabi_idivmod @ 0xe1528\n// > <???> @ 0xe6ab4\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 _aeabi_idivmod(int a1, unsigned int a2)\n{\n  bool v2; // nf\n\n  if ( a2 )\n    return sub_DB838(a1, a2);\n  v2 = a1 < 0;\n  if ( a1 > 0 )\n    a1 = 0x7FFFFFFF;\n  if ( v2 )\n    a1 = 0x80000000;\n  return j___aeabi_idiv0(a1);\n}", "assembly": "; \n; __aeabi_idivmod from 0xdb90c to 0xdb92c (32 bytes)\n; \n; 4 xrefs:\n; > j___aeabi_idivmod @ 0xe1528\n; > <???> @ 0x321c\n; > j___aeabi_idivmod @ 0xe1528\n; > <???> @ 0xe6ab4\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\nCMP             R1, #0                                                 ; +0x0, 0xdb90c\nBEQ             loc_DB8FC                                              ; +0x4, 0xdb910\nPUSH            {R0,R1,LR}                                             ; +0x8, 0xdb914\nBL              sub_DB838                                              ; +0xc, 0xdb918\nPOP             {R1,R2,LR}                                             ; +0x10, 0xdb91c\nMUL             R3, R2, R0                                             ; +0x14, 0xdb920\nSUB             R1, R1, R3                                             ; +0x18, 0xdb924\nBX              LR                                                     ; +0x1c, 0xdb928", "xrefs": ["j___aeabi_idivmod @ 0xe1528", "<???> @ 0x321c", "j___aeabi_idivmod @ 0xe1528", "<???> @ 0xe6ab4"], "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"}