{"type": "func", "start": 594896, "end": 594912, "name": "sub_913D0", "pseudocode": "// \n// sub_913D0 from 0x913d0 to 0x913e0 (16 bytes)\n// \n// 10 xrefs:\n// > sub_90AC4 @ 0x90bba\n// > sub_90AC4 @ 0x90bc6\n// > sub_90AC4 @ 0x90cde\n// > sub_90AC4 @ 0x90cea\n// > sub_90AC4 @ 0x90dce\n// > sub_90AC4 @ 0x90dda\n// > sub_90AC4 @ 0x91060\n// > sub_90AC4 @ 0x9106c\n// > sub_90AC4 @ 0x91392\n// > sub_90AC4 @ 0x9139e\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_913D0(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_913D0 from 0x913d0 to 0x913e0 (16 bytes)\n; \n; 10 xrefs:\n; > sub_90AC4 @ 0x90bba\n; > sub_90AC4 @ 0x90bc6\n; > sub_90AC4 @ 0x90cde\n; > sub_90AC4 @ 0x90cea\n; > sub_90AC4 @ 0x90dce\n; > sub_90AC4 @ 0x90dda\n; > sub_90AC4 @ 0x91060\n; > sub_90AC4 @ 0x9106c\n; > sub_90AC4 @ 0x91392\n; > sub_90AC4 @ 0x9139e\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, 0x913d0\nADD             R0, R1                                                 ; +0x2, 0x913d2\nADDS            R3, R2, R0                                             ; +0x4, 0x913d4\nBMI             loc_913D2                                              ; +0x6, 0x913d6\nSUBS            R0, R0, R1                                             ; +0x8, 0x913d8\nCMP             R0, R1                                                 ; +0xa, 0x913da\nBGE             loc_913D8                                              ; +0xc, 0x913dc\nBX              LR                                                     ; +0xe, 0x913de", "xrefs": ["sub_90AC4 @ 0x90bba", "sub_90AC4 @ 0x90bc6", "sub_90AC4 @ 0x90cde", "sub_90AC4 @ 0x90cea", "sub_90AC4 @ 0x90dce", "sub_90AC4 @ 0x90dda", "sub_90AC4 @ 0x91060", "sub_90AC4 @ 0x9106c", "sub_90AC4 @ 0x91392", "sub_90AC4 @ 0x9139e"], "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"}