{"type": "func", "start": 589924, "end": 589940, "name": "sub_90064", "pseudocode": "// \n// sub_90064 from 0x90064 to 0x90074 (16 bytes)\n// \n// 8 xrefs:\n// > sub_8FFFA @ 0x90048\n// > sub_8FFFA @ 0x90052\n// > sub_903B0 @ 0x9050e\n// > sub_903B0 @ 0x90518\n// > sub_903B0 @ 0x90522\n// > <???> @ 0x9085c\n// > <???> @ 0x90878\n// > <???> @ 0x908b0\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_90064(int result, int a2)\n{\n  do\n    result += a2;\n  while ( result - a2 < 0 );\n  do\n    result -= a2;\n  while ( result >= a2 );\n  return result;\n}", "assembly": "; \n; sub_90064 from 0x90064 to 0x90074 (16 bytes)\n; \n; 8 xrefs:\n; > sub_8FFFA @ 0x90048\n; > sub_8FFFA @ 0x90052\n; > sub_903B0 @ 0x9050e\n; > sub_903B0 @ 0x90518\n; > sub_903B0 @ 0x90522\n; > <???> @ 0x9085c\n; > <???> @ 0x90878\n; > <???> @ 0x908b0\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\nNEGS            R2, R1                                                 ; +0x0, 0x90064\nADD             R0, R1                                                 ; +0x2, 0x90066\nADDS            R3, R2, R0                                             ; +0x4, 0x90068\nBMI             loc_90066                                              ; +0x6, 0x9006a\nSUBS            R0, R0, R1                                             ; +0x8, 0x9006c\nCMP             R0, R1                                                 ; +0xa, 0x9006e\nBGE             loc_9006C                                              ; +0xc, 0x90070\nBX              LR                                                     ; +0xe, 0x90072", "xrefs": ["sub_8FFFA @ 0x90048", "sub_8FFFA @ 0x90052", "sub_903B0 @ 0x9050e", "sub_903B0 @ 0x90518", "sub_903B0 @ 0x90522", "<???> @ 0x9085c", "<???> @ 0x90878", "<???> @ 0x908b0"], "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"}